Skip to content

Instantly share code, notes, and snippets.

@ailabs-software
Created December 3, 2012 03:07
Show Gist options
  • Save ailabs-software/4192377 to your computer and use it in GitHub Desktop.
Save ailabs-software/4192377 to your computer and use it in GitHub Desktop.
Is this good JavaScript code?
(function () {
var __vm = new __vmExecutionContextCtor();
function madonna() {
var __vm = new __vmExecutionContextCtor();
__vm.yield(JSON.stringify('YES YES THIS IS WORKING!!!!'), function (__val13) {
var lookAtMe = __val13;
__vm.returnValue({
idol: 'Madonna Mommy. ' + lookAtMe
});
});;
return __vm.defForReturn;
};
function bigTony() {
var __vm = new __vmExecutionContextCtor();
function Soul() {
var __vm = new __vmExecutionContextCtor();
__vm.yield(console.log('--- I HAVE SOUL!!!!'), function (__val16) {
__vm.returnValue();
});;
return __vm.defForReturn;
};
var i = 0;
__vm.IF('WHILE', i < 1100, function __vmIfBlock0(__vm_branchWaitDeferred) {
__vm.yield(Soul(), function (__val18) {
__vm.yield(new Date(), function (__val19) {
__vm.yield(madonna(), function (__val20) {
__vm.yield(JSON.stringify(__val20), function (__val21) {
__vm.yield(console.log(__val19 + 'THE BIG TEST #' + (i + 1) + ':', __val21), function (__val22) {
i++;
__vm.IF('WHILE', i < 1100, __vmIfBlock0, __vm_branchWaitDeferred);
});;
});;
});;
});;
});;
});
__vm.returnValue();
return __vm.defForReturn;
};
__vm.yield(bigTony(), function (__val0) {
__vm.yield(console.log('I waited for Big Tony!!!'), function (__val1) {
var j = __val1;
__vm.yield(test(), function (__val2) {
j += test;
__vm.yield(test8(), function (__val3) {
var job = window;
var j = window;
var x = window;
__vm.yield(foo(), function (__val4) {
__vm.yield(window(__val4), function (__val5) {
var c = __val5;
__vm.yield($('body', true), function (__val6) {
__vm.yield(__val6.slideUp(200), function (__val7) {
__vm.yield(__val7.css(), function (__val8) {
__vm.yield(__val8.deleteNode(500), function (__val9) {
__vm.yield(web(), function (__val10) {
__vm.yield(console.log(__val10), function (__val11) {
__vm.yield(Class.create(WebView, function () {
var __vm = new __vmExecutionContextCtor();
__vm.yield(new Date(), function (__val24) {
__vm.yield(__vm.returnValue(__val24), function (__val25) {
__vm.returnValue();
});;
});;
return __vm.defForReturn;
}), function (__val12) {
var FormView = __val12;
});;
});;
});;
});;
});;
});;
});;
});;
});;
});;
});;
});;
});;
return __vm.defForReturn;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment