JsRender/Roo.js
authorAlan Knowles <alan@roojs.com>
Thu, 6 Oct 2011 05:45:18 +0000 (13:45 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 6 Oct 2011 05:45:18 +0000 (13:45 +0800)
JsRender/Roo.js

index 3cb4f55..4eb8a13 100644 (file)
@@ -335,7 +335,7 @@ Roo = XObject.define(
             var items = JSON.parse(JSON.stringify(this.items[0]));
             var o = this.mungeToString(items, false, '            ');   
              
-            var modkey = this.modOrder + '-' + this.name.replace('/[^A-Z]+/ig', '-');
+            var modkey = this.modOrder + '-' + this.name.replace(/[^A-Z.]+/ig, '-');
             
             
             if (this.name.match(/^Pman/)) {