Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

jQuery into the call! #126

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/css/kube.min.css

Large diffs are not rendered by default.

59 changes: 31 additions & 28 deletions dist/js/kube.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
;(function($) { var version = $.fn.jquery.split('.'); if (version[0] == 1 && version[1] < 8) {throw new Error('Kube\'s requires at least jQuery v1.8'); }})(jQuery);

;(function()
;(function($)
{
// Inherits
Function.prototype.inherits = function(parent)
Expand Down Expand Up @@ -91,13 +91,13 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
// Scope
window.Kube = Kube;

})();
})(jQuery);
/**
* @library Kube Plugin
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Plugin = {
create: function(classname, pluginname)
Expand Down Expand Up @@ -219,13 +219,14 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
Kube.Plugin.watch();
});

}(Kube));
}(Kube, jQuery));

/**
* @library Kube Animation
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Animation = function(element, effect, callback)
{
Expand Down Expand Up @@ -352,7 +353,7 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
// Inheritance
Kube.Animation.inherits(Kube);

}(Kube));
}(Kube,jQuery));

// Plugin
(function($)
Expand All @@ -373,6 +374,7 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
$.fn.animation.options = {};

})(jQuery);

/**
* @library Kube Detect
* @author Imperavi LLC
Expand Down Expand Up @@ -412,7 +414,7 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.FormData = function(app)
{
Expand Down Expand Up @@ -488,13 +490,13 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
};


}(Kube));
}(Kube,jQuery));
/**
* @library Kube Response
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Response = function(app) {};

Expand Down Expand Up @@ -596,13 +598,13 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
};


}(Kube));
}(Kube,jQuery));
/**
* @library Kube Utils
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Utils = function() {};

Expand Down Expand Up @@ -642,13 +644,13 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
};


}(Kube));
}(Kube,jQuery));
/**
* @library Kube Message
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Message = function(element, options)
{
Expand Down Expand Up @@ -724,13 +726,13 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
Kube.Plugin.create('Message');
Kube.Plugin.autoload('Message');

}(Kube));
}(Kube,jQuery));
/**
* @library Kube Sticky
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Sticky = function(element, options)
{
Expand Down Expand Up @@ -788,13 +790,13 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
Kube.Plugin.create('Sticky');
Kube.Plugin.autoload('Sticky');

}(Kube));
}(Kube,jQuery));
/**
* @library Kube Toggleme
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Toggleme = function(element, options)
{
Expand Down Expand Up @@ -899,13 +901,13 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
Kube.Plugin.create('Toggleme');
Kube.Plugin.autoload('Toggleme');

}(Kube));
}(Kube,jQuery));
/**
* @library Kube Offcanvas
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Offcanvas = function(element, options)
{
Expand Down Expand Up @@ -1091,13 +1093,13 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
Kube.Plugin.create('Offcanvas');
Kube.Plugin.autoload('Offcanvas');

}(Kube));
}(Kube,jQuery));
/**
* @library Kube Collapse
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Collapse = function(element, options)
{
Expand Down Expand Up @@ -1295,13 +1297,14 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
Kube.Plugin.create('Collapse');
Kube.Plugin.autoload('Collapse');

}(Kube));
}(Kube,jQuery));

/**
* @library Kube Dropdown
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Dropdown = function(element, options)
{
Expand Down Expand Up @@ -1544,13 +1547,13 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
Kube.Plugin.create('Dropdown');
Kube.Plugin.autoload('Dropdown');

}(Kube));
}(Kube,jQuery));
/**
* @library Kube Tabs
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Tabs = function(element, options)
{
Expand Down Expand Up @@ -1855,7 +1858,7 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
Kube.Plugin.create('Tabs');
Kube.Plugin.autoload('Tabs');

}(Kube));
}(Kube,jQuery));
/**
* @library Kube Modal
* @author Imperavi LLC
Expand All @@ -1874,7 +1877,7 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};

})(jQuery);

(function(Kube)
(function(Kube,$)
{
Kube.Modal = function(element, options)
{
Expand Down Expand Up @@ -2198,4 +2201,4 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
Kube.Plugin.create('Modal');
Kube.Plugin.autoload('Modal');

}(Kube));
}(Kube,jQuery));
2 changes: 1 addition & 1 deletion dist/js/kube.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/_js/Collapse/Kube.Collapse.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Collapse = function(element, options)
{
Expand Down Expand Up @@ -201,4 +201,4 @@
Kube.Plugin.create('Collapse');
Kube.Plugin.autoload('Collapse');

}(Kube));
}(Kube,jQuery));
6 changes: 3 additions & 3 deletions src/_js/Core/Kube.Animation.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Animation = function(element, effect, callback)
{
Expand Down Expand Up @@ -130,7 +130,7 @@
// Inheritance
Kube.Animation.inherits(Kube);

}(Kube));
}(Kube,jQuery));

// Plugin
(function($)
Expand All @@ -150,4 +150,4 @@

$.fn.animation.options = {};

})(jQuery);
})(jQuery);
4 changes: 2 additions & 2 deletions src/_js/Core/Kube.Formdata.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.FormData = function(app)
{
Expand Down Expand Up @@ -79,4 +79,4 @@
};


}(Kube));
}(Kube,jQuery));
4 changes: 2 additions & 2 deletions src/_js/Core/Kube.Plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Plugin = {
create: function(classname, pluginname)
Expand Down Expand Up @@ -125,4 +125,4 @@
Kube.Plugin.watch();
});

}(Kube));
}(Kube, jQuery));
4 changes: 2 additions & 2 deletions src/_js/Core/Kube.Response.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Response = function(app) {};

Expand Down Expand Up @@ -105,4 +105,4 @@
};


}(Kube));
}(Kube,jQuery));
4 changes: 2 additions & 2 deletions src/_js/Core/Kube.Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Utils = function() {};

Expand Down Expand Up @@ -43,4 +43,4 @@
};


}(Kube));
}(Kube,jQuery));
4 changes: 2 additions & 2 deletions src/_js/Core/Kube.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
;(function($) { var version = $.fn.jquery.split('.'); if (version[0] == 1 && version[1] < 8) {throw new Error('Kube\'s requires at least jQuery v1.8'); }})(jQuery);

;(function()
;(function($)
{
// Inherits
Function.prototype.inherits = function(parent)
Expand Down Expand Up @@ -91,4 +91,4 @@ if (typeof jQuery === 'undefined') {throw new Error('Kube\'s requires jQuery')};
// Scope
window.Kube = Kube;

})();
})(jQuery);
4 changes: 2 additions & 2 deletions src/_js/Dropdown/Kube.Dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Dropdown = function(element, options)
{
Expand Down Expand Up @@ -246,4 +246,4 @@
Kube.Plugin.create('Dropdown');
Kube.Plugin.autoload('Dropdown');

}(Kube));
}(Kube,jQuery));
4 changes: 2 additions & 2 deletions src/_js/Message/Kube.Message.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author Imperavi LLC
* @license MIT
*/
(function(Kube)
(function(Kube,$)
{
Kube.Message = function(element, options)
{
Expand Down Expand Up @@ -79,4 +79,4 @@
Kube.Plugin.create('Message');
Kube.Plugin.autoload('Message');

}(Kube));
}(Kube,jQuery));
Loading