Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

recompiling basic example

  • Loading branch information...
commit d7c75338c3d91c9cc7471777c71948831c8fe46c 1 parent 8c0340c
@arboleya authored
View
12 examples/basic/release/app-debug.js
@@ -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];
}
View
24 examples/basic/release/app.js
@@ -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;
View
2  examples/basic/release/toaster/basic/app.js
@@ -2,6 +2,8 @@
__t('basic', window).App = (function() {
+ App.name = 'App';
+
function App() {
console.log("App created!");
new basic.TopLevel;
View
2  examples/basic/release/toaster/basic/letters/a.js
@@ -2,6 +2,8 @@
__t('basic.letters', window).A = (function() {
+ A.name = 'A';
+
function A() {
console.log("letters/A created!");
}
View
2  examples/basic/release/toaster/basic/letters/b.js
@@ -2,6 +2,8 @@
__t('basic.letters', window).B = (function() {
+ B.name = 'B';
+
function B() {
console.log("letters/B created!");
}
View
2  examples/basic/release/toaster/basic/repeating/a.js
@@ -2,6 +2,8 @@
__t('basic.repeating', window).A = (function() {
+ A.name = 'A';
+
function A() {
console.log("repeating/A created!");
}
View
2  examples/basic/release/toaster/basic/repeating/b.js
@@ -2,6 +2,8 @@
__t('basic.repeating', window).B = (function() {
+ B.name = 'B';
+
function B() {
console.log("repeating/B created!");
}
View
2  examples/basic/release/toaster/basic/toplevel.js
@@ -2,6 +2,8 @@
__t('basic', window).TopLevel = (function() {
+ TopLevel.name = 'TopLevel';
+
function TopLevel() {
console.log("TopLevel created!");
}
Please sign in to comment.
Something went wrong with that request. Please try again.