Skip to content

Satanpit/BikeJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BikeJS

My JavaScript libraries

require.js

Usage:

HTML:

<body>
    <script data-main="main" src="../../libs/require.js"></script>
</body>

main.js

require.config({
    baseUrl: '../../libs',
    removeScriptTags: true,

    config: {
        ajax: {
            type: 'GET',
            url: '//my.api.com/'
        }
    }
});
    
require(['utils', 'dom', 'ajax'], function(utils, dom, ajax) {
    /** Code... **/
});

About

My JavaScript libraries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published