mirror of
https://github.com/moparisthebest/app-UI
synced 2024-12-21 23:18:52 -05:00
Simple require-js package to facilitate easier use and to avoid shimming the library
This commit is contained in:
parent
ebdf914795
commit
765060fd8a
20
src/require-js/app-UI.js
Normal file
20
src/require-js/app-UI.js
Normal file
@ -0,0 +1,20 @@
|
||||
/**
|
||||
* app-UI require.js package
|
||||
*/
|
||||
require([
|
||||
'jquery',
|
||||
'lib/app-UI/src/libs/jquery.animate-enhanced',
|
||||
'lib/app-UI/src/libs/iscroll',
|
||||
'lib/app-UI/src/libs/noClickDelay',
|
||||
'lib/app-UI/src/viewnavigator/viewnavigator',
|
||||
'lib/app-UI/src/splitviewnavigator/splitviewnavigator',
|
||||
'lib/app-UI/src/slidingview/slidingview'
|
||||
],
|
||||
function(require) {
|
||||
|
||||
return {
|
||||
ViewNavigator: window.ViewNavigator,
|
||||
SplitViewNavigator: window.SplitViewNavigator,
|
||||
SlidingView: window.SlidingView
|
||||
};
|
||||
});
|
Loading…
Reference in New Issue
Block a user