Permalink
Browse files

recompiling basic example

  • Loading branch information...
1 parent 8c0340c commit d7c75338c3d91c9cc7471777c71948831c8fe46c @arboleya committed Apr 11, 2012
@@ -3,19 +3,23 @@ var JQUERY = {};
var __t;
__t = function(ns, expose) {
- var curr, index, part, parts, _len;
+ var curr, index, part, parts, _i, _len;
curr = null;
parts = [].concat = ns.split(".");
- for (index = 0, _len = parts.length; index < _len; index++) {
+ for (index = _i = 0, _len = parts.length; _i < _len; index = ++_i) {
part = parts[index];
if (curr === null) {
curr = eval(part);
- if (expose != null) expose[part] = curr;
+ if (expose != null) {
+ expose[part] = curr;
+ }
continue;
} else {
if (curr[part] == null) {
curr = curr[part] = {};
- if (expose != null) expose[part] = curr;
+ if (expose != null) {
+ expose[part] = curr;
+ }
} else {
curr = curr[part];
}
@@ -3,19 +3,23 @@ var JQUERY = {};
var __t;
__t = function(ns, expose) {
- var curr, index, part, parts, _len;
+ var curr, index, part, parts, _i, _len;
curr = null;
parts = [].concat = ns.split(".");
- for (index = 0, _len = parts.length; index < _len; index++) {
+ for (index = _i = 0, _len = parts.length; _i < _len; index = ++_i) {
part = parts[index];
if (curr === null) {
curr = eval(part);
- if (expose != null) expose[part] = curr;
+ if (expose != null) {
+ expose[part] = curr;
+ }
continue;
} else {
if (curr[part] == null) {
curr = curr[part] = {};
- if (expose != null) expose[part] = curr;
+ if (expose != null) {
+ expose[part] = curr;
+ }
} else {
curr = curr[part];
}
@@ -30,6 +34,8 @@ var basic = window.basic = {};
__t('basic.letters', window).A = (function() {
+ A.name = 'A';
+
function A() {
console.log("letters/A created!");
}
@@ -40,6 +46,8 @@ var basic = window.basic = {};
__t('basic.letters', window).B = (function() {
+ B.name = 'B';
+
function B() {
console.log("letters/B created!");
}
@@ -50,6 +58,8 @@ var basic = window.basic = {};
__t('basic.repeating', window).A = (function() {
+ A.name = 'A';
+
function A() {
console.log("repeating/A created!");
}
@@ -60,6 +70,8 @@ var basic = window.basic = {};
__t('basic.repeating', window).B = (function() {
+ B.name = 'B';
+
function B() {
console.log("repeating/B created!");
}
@@ -72,6 +84,8 @@ var basic = window.basic = {};
__t('basic', window).TopLevel = (function() {
+ TopLevel.name = 'TopLevel';
+
function TopLevel() {
console.log("TopLevel created!");
}
@@ -82,6 +96,8 @@ var basic = window.basic = {};
__t('basic', window).App = (function() {
+ App.name = 'App';
+
function App() {
console.log("App created!");
new basic.TopLevel;
@@ -2,6 +2,8 @@
__t('basic', window).App = (function() {
+ App.name = 'App';
+
function App() {
console.log("App created!");
new basic.TopLevel;
@@ -2,6 +2,8 @@
__t('basic.letters', window).A = (function() {
+ A.name = 'A';
+
function A() {
console.log("letters/A created!");
}
@@ -2,6 +2,8 @@
__t('basic.letters', window).B = (function() {
+ B.name = 'B';
+
function B() {
console.log("letters/B created!");
}
@@ -2,6 +2,8 @@
__t('basic.repeating', window).A = (function() {
+ A.name = 'A';
+
function A() {
console.log("repeating/A created!");
}
@@ -2,6 +2,8 @@
__t('basic.repeating', window).B = (function() {
+ B.name = 'B';
+
function B() {
console.log("repeating/B created!");
}
@@ -2,6 +2,8 @@
__t('basic', window).TopLevel = (function() {
+ TopLevel.name = 'TopLevel';
+
function TopLevel() {
console.log("TopLevel created!");
}

0 comments on commit d7c7533

Please sign in to comment.