[Rt-commit] r16005 - in rt/branches/3.999-DANGEROUS: share/web/static/js
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Wed Sep 17 03:34:39 EDT 2008
Author: sunnavy
Date: Wed Sep 17 03:34:38 2008
New Revision: 16005
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/share/web/static/js/class.js
rt/branches/3.999-DANGEROUS/share/web/static/js/list.js
Log:
r16742 at sunnavys-mb: sunnavy | 2008-09-16 22:50:32 +0800
rename ourown Class function to RTClass to get rid of name collision: Prototype has Class object too
Modified: rt/branches/3.999-DANGEROUS/share/web/static/js/class.js
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/web/static/js/class.js (original)
+++ rt/branches/3.999-DANGEROUS/share/web/static/js/class.js Wed Sep 17 03:34:38 2008
@@ -5,7 +5,7 @@
return this;
}
- function Class(name) {
+ function RTClass(name) {
var _newclass_;
eval("window."+name+" = new Function('this."+name+".apply(this,arguments);');");
eval("window."+name+".define = _ClassSetup;");
Modified: rt/branches/3.999-DANGEROUS/share/web/static/js/list.js
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/web/static/js/list.js (original)
+++ rt/branches/3.999-DANGEROUS/share/web/static/js/list.js Wed Sep 17 03:34:38 2008
@@ -1,6 +1,6 @@
/* by TKirby, released under GPL */
/* Define the "list" Class */
-Class("list").define({
+RTClass("list").define({
name : null,
xml : null,
sels : null,
More information about the Rt-commit
mailing list