Created
March 5, 2014 12:01
-
-
Save fedevegili/9365917 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl.config({ | |
baseUrl : 'resources/js', | |
paths: { | |
libs : '../libs', | |
jquery : "../libs/jquery/jquery", | |
bootstrap : '../libs/bootstrap/js/bootstrap', | |
loadmask : '../libs/loadmask/jquery.loadmask.min', | |
toastr : "../libs/toastr/toastr", | |
hogan : "../libs/hogan/hogan", | |
templates : "../../dist" | |
}, | |
/* Libs usadas pelo projeto */ | |
shim: { | |
'bootstrap': { | |
deps: ["jquery"] | |
}, | |
'loadmask': { | |
deps: ["jquery"] | |
}, | |
'toastr': { | |
deps: ["jquery"] | |
} | |
} | |
}); | |
curl(["UIApp"], | |
function (quick) {} | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
define( | |
[ | |
'jquery', | |
'Storage', | |
'Utils', | |
'WorkspaceInfo', | |
'js!hogan', | |
'PageLoader' | |
], | |
function() { | |
/* just bunchs of code */ | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment