This commit is contained in:
parent
ca7fc23fcc
commit
b31ed62fe6
|
@ -463,7 +463,7 @@ var myMultiTween2 = KUTE.allFromTo(
|
|||
<a class="btn btn-green" onclick="startMultiTween();" href="#">Start</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>As you can see, we also used the new tween options <code>offset</code> and <code>transformOrigin</code> and they make it so much more easy.</p>
|
||||
<ul id="share" class="nav">
|
||||
<li>Share </li>
|
||||
<li class="hidden-xs"><a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://thednp.github.io/kute.js/index.html" title="Share KUTE.js on Facebook"><span class="ion-social-facebook-outline icon"></span></a></li>
|
||||
|
|
|
@ -7,14 +7,14 @@
|
|||
(function(factory){
|
||||
// We need to require the root KUTE and jQuery.
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define(["./kute.js", "jQuery"], function(KUTE, $){
|
||||
define(["./kute.js", "jquery"], function(KUTE, $){
|
||||
factory($, KUTE);
|
||||
return KUTE;
|
||||
});
|
||||
} else if(typeof module == "object" && typeof require == "function") {
|
||||
// We assume, that require() is sync.
|
||||
var KUTE = require("./kute.js");
|
||||
var $ = require("jQuery");
|
||||
var $ = require("jquery");
|
||||
|
||||
// Export the modified one. Not really required, but convenient.
|
||||
module.exports = factory($, KUTE);
|
||||
|
|
2
dist/kute-jquery.min.js
vendored
2
dist/kute-jquery.min.js
vendored
|
@ -1,2 +1,2 @@
|
|||
// KUTE jQuery Plugin for KUTE.js | by dnp_theme | License - MIT
|
||||
!function(e){if("function"==typeof define&&define.amd)define(["./kute.js","jQuery"],function(n,i){return e(i,n),n});else if("object"==typeof module&&"function"==typeof require){var n=require("./kute.js"),i=require("jQuery");module.exports=e(i,n)}else{if("undefined"==typeof window.KUTE||"undefined"==typeof window.$&&"undefined"==typeof window.jQuery)throw new Error("jQuery plugin for KUTE.js depends on KUTE.js and jQuery. Read the docs for more info.");var i=window.jQuery||window.$,n=window.KUTE;i.fn.KUTE=e(i,n)}}(function(e,n){"use strict";var i=function(e,i,o,t){var r,u=[],f=this.length;for(r=0;f>r;r++){var d=this[r][e];"function"==typeof d&&d.apply(this[r]),"to"===e?u.push(new n[e](this[r],i,o)):"fromTo"===e||"Animate"===e?u.push(new n[e](this[r],i,o,t)):"chain"===e&&this[r].chain.apply(this[r],i)}return u};return i});
|
||||
!function(e){if("function"==typeof define&&define.amd)define(["./kute.js","jquery"],function(n,i){return e(i,n),n});else if("object"==typeof module&&"function"==typeof require){var n=require("./kute.js"),i=require("jquery");module.exports=e(i,n)}else{if("undefined"==typeof window.KUTE||"undefined"==typeof window.$&&"undefined"==typeof window.jQuery)throw new Error("jQuery plugin for KUTE.js depends on KUTE.js and jQuery. Read the docs for more info.");var i=window.jQuery||window.$,n=window.KUTE;i.fn.KUTE=e(i,n)}}(function(e,n){"use strict";var i=function(e,i,o,t){var r,u=[],f=this.length;for(r=0;f>r;r++){var d=this[r][e];"function"==typeof d&&d.apply(this[r]),"to"===e?u.push(new n[e](this[r],i,o)):"fromTo"===e||"Animate"===e?u.push(new n[e](this[r],i,o,t)):"chain"===e&&this[r].chain.apply(this[r],i)}return u};return i});
|
|
@ -7,14 +7,14 @@
|
|||
(function(factory){
|
||||
// We need to require the root KUTE and jQuery.
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define(["./kute.js", "jQuery"], function(KUTE, $){
|
||||
define(["./kute.js", "jquery"], function(KUTE, $){
|
||||
factory($, KUTE);
|
||||
return KUTE;
|
||||
});
|
||||
} else if(typeof module == "object" && typeof require == "function") {
|
||||
// We assume, that require() is sync.
|
||||
var KUTE = require("./kute.js");
|
||||
var $ = require("jQuery");
|
||||
var $ = require("jquery");
|
||||
|
||||
// Export the modified one. Not really required, but convenient.
|
||||
module.exports = factory($, KUTE);
|
||||
|
|
Loading…
Reference in a new issue