[rkward-cvs] SF.net SVN: rkward:[2722] trunk/rkward/rkward/plugins/php2js.js
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Mon Dec 7 10:14:49 UTC 2009
Revision: 2722
http://rkward.svn.sourceforge.net/rkward/?rev=2722&view=rev
Author: tfry
Date: 2009-12-07 10:14:49 +0000 (Mon, 07 Dec 2009)
Log Message:
-----------
some more hints
Modified Paths:
--------------
trunk/rkward/rkward/plugins/php2js.js
Modified: trunk/rkward/rkward/plugins/php2js.js
===================================================================
--- trunk/rkward/rkward/plugins/php2js.js 2009-12-01 17:45:38 UTC (rev 2721)
+++ trunk/rkward/rkward/plugins/php2js.js 2009-12-07 10:14:49 UTC (rev 2722)
@@ -146,6 +146,10 @@
args_end += 1;
}
eatFunctionArgs (input.substring (args_start, args_end - 1));
+ } else if (input.indexOf ("count", i) == i) {
+ message ("Found string 'count'. Please check whether conversion is needed (use varname.length).");
+ } else if (input.indexOf ("strtr", i) == i) {
+ message ("Found string 'strtr'. Please check whether conversion is needed (use varname.replace(...)).");
}
// associative array operator
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list