add amd module formatter #82

This commit is contained in:
Sebastian McKenzie
2014-10-19 17:05:24 +11:00
parent 209093a3f0
commit fceff4b52f
35 changed files with 391 additions and 25 deletions

View File

@@ -0,0 +1,29 @@
"use strict";
define([], function () {
var exports = {};
exports.foo7 = foo7;
var foo = 1;
exports.foo = foo;
var foo2 = function() {};
exports.foo2 = foo2;
var foo3;
exports.foo3 = foo3;
var _foo4 = 2;
exports.foo4 = _foo4;
var _foo5;
exports.foo5 = _foo5;
var _foo6 = 3;
exports.foo6 = _foo6;
function foo7() {}
var foo8 = function() {
var foo8 = function foo8() {};
return foo8;
}();
exports.foo8 = foo8;
return exports;
});