Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed the need for specifying a 'plugins' dir

  • Loading branch information...
commit 1892894c7577b44785c79436a44d9d9820b498fe 1 parent 142e11f
@ydaniv authored
View
6 README.md
@@ -27,8 +27,7 @@ Assuming you'll place all the 3rd party code under 'lib', it should look like:
var require = {
baseUrl : '/static_path/js/',
paths : {
- uijet_dir : 'lib/uijet',
- plugins : 'lib'
+ uijet_dir : 'lib/uijet'
// rest of needed paths ...
},
callback: function () {
@@ -46,8 +45,7 @@ Assuming you'll place all the 3rd party code under 'lib', it should look like:
Where the *must have* configurations are:
* **baseUrl** - pointing to your base static folder.
-* **paths** - you need to config the paths to *uijet_dir* - where your UIjet library is located - and
-third party plugins, which are adapted into UIjet, need to be configured under the *plugins* key.
+* **paths** - you need to config the paths to *uijet_dir* - where your UIjet library is located.
* **callback** - to make sure everything works correctly it's best to use this option and put you initialization
call in there.
View
1  boilerplates/basic_jquery/index.html
@@ -10,7 +10,6 @@
baseUrl : '/static_path/js/',
paths : {
uijet_dir : 'lib/uijet',
- plugins : 'lib',
jquery : 'lib/jquery',
eventbox : 'lib/eventbox'
},
View
1  boilerplates/basic_zepto/main.js
@@ -2,7 +2,6 @@ requirejs.config({
baseUrl : '.',
paths : {
uijet_dir : 'lib/uijet',
- plugins : 'lib',
zepto : 'lib/zepto',
eventbox : 'lib/eventbox',
q : 'lib/q'
View
1  boilerplates/eventbox_director_mustache/index.html
@@ -9,7 +9,6 @@
baseUrl : '/static_path/js/',
paths : {
uijet_dir : 'lib/uijet',
- plugins : 'lib',
jquery : 'lib/jquery',
eventbox : 'lib/eventbox',
director : 'lib/director',
View
1  boilerplates/sammy_mustache/index.html
@@ -9,7 +9,6 @@
baseUrl : '/static_path/js/',
paths : {
uijet_dir : 'lib/uijet',
- plugins : 'lib',
jquery : 'lib/jquery',
sammy : 'lib/sammy/sammy',
mustache : 'lib/mustache'
View
2  src/adapters/Spin.js
@@ -1,6 +1,6 @@
(function (factory) {
if ( typeof define === 'function' && define.amd ) {
- define(['uijet_dir/uijet', 'plugins/spin'], function (uijet) {
+ define(['uijet_dir/uijet', 'spin'], function (uijet) {
return factory(uijet);
});
} else {
View
2  src/adapters/iScroll.js
@@ -1,6 +1,6 @@
(function (factory) {
if ( typeof define === 'function' && define.amd ) {
- define(['uijet_dir/uijet', 'plugins/iscroll'], function (uijet) {
+ define(['uijet_dir/uijet', 'iscroll'], function (uijet) {
return factory(uijet);
});
} else {
View
2  src/adapters/jqScroll.js
@@ -1,6 +1,6 @@
(function (factory) {
if ( typeof define === 'function' && define.amd ) {
- define(['uijet_dir/uijet', 'plugins/jqscroll'], function (uijet) {
+ define(['uijet_dir/uijet', 'jqscroll'], function (uijet) {
return factory(uijet);
});
} else {
View
2  src/adapters/jqWheelScroll.js
@@ -1,6 +1,6 @@
(function (factory) {
if ( typeof define === 'function' && define.amd ) {
- define(['uijet_dir/uijet', 'plugins/jquery.mousewheel', 'plugins/jqscroll'], function (uijet) {
+ define(['uijet_dir/uijet', 'jquery.mousewheel', 'jqscroll'], function (uijet) {
return factory(uijet);
});
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.