Skip to content

Instantly share code, notes, and snippets.

@melechi
Created April 15, 2016 09:05
Show Gist options
  • Save melechi/02c342f86bda121843e74ba3a8e122ea to your computer and use it in GitHub Desktop.
Save melechi/02c342f86bda121843e74ba3a8e122ea to your computer and use it in GitHub Desktop.
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