Created
April 15, 2016 09:05
-
-
Save melechi/02c342f86bda121843e74ba3a8e122ea 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
requirejs.config | |
( | |
{ | |
baseUrl: '/node_modules', | |
paths: | |
{ | |
week5: '/src/week5', | |
JSKK: 'jskk/bin/jskk.1.3.0.min', | |
bootstrap: 'bootstrap/dist/js/bootstrap.min', | |
jquery: 'jquery/dist/jquery.min' | |
} | |
} | |
); | |
require | |
( | |
['JSKK','jquery'], | |
function() | |
{ | |
require | |
( | |
['bootstrap'], | |
function() | |
{ | |
$JSKK.require | |
( | |
'week5.Main', | |
function() | |
{ | |
window.$application=new week5.Main(); | |
} | |
); | |
} | |
); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment