Skip to content

Instantly share code, notes, and snippets.

@fedevegili
Created March 5, 2014 12:01
Show Gist options
  • Save fedevegili/9365917 to your computer and use it in GitHub Desktop.
Save fedevegili/9365917 to your computer and use it in GitHub Desktop.
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) {}
);
"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