1
0
mirror of https://github.com/moparisthebest/app-UI synced 2024-11-10 11:25:08 -05:00

Simple require-js package to facilitate easier use and to avoid shimming the library

This commit is contained in:
Guerric Sloan 2012-09-27 22:07:08 -07:00
parent ebdf914795
commit 765060fd8a

20
src/require-js/app-UI.js Normal file
View 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
};
});