From 318b63854a22f063a1dbde7fc62e36cdf420446d Mon Sep 17 00:00:00 2001 From: Alfiana Sibuea Date: Sun, 29 Mar 2015 21:14:56 +0700 Subject: [PATCH] Bump version --- bower.json | 2 +- dist/waves.css | 2 +- dist/waves.js | 31 ++++++++++++++++++++++++++----- dist/waves.min.css | 2 +- dist/waves.min.js | 4 ++-- dist/waves.min.js.map | 2 +- docs/index.html | 2 +- src/js/waves.js | 2 +- src/less/waves.less | 2 +- src/sass/waves.sass | 2 +- src/scss/waves.scss | 2 +- src/stylus/waves.styl | 2 +- 12 files changed, 38 insertions(+), 17 deletions(-) diff --git a/bower.json b/bower.json index 78e63f2..f117b4b 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "Waves", - "version": "0.6.4", + "version": "0.6.5", "homepage": "http://fian.my.id/Waves", "authors": [ "Alfiana E. Sibuea " diff --git a/dist/waves.css b/dist/waves.css index b7f1cc4..2a8860e 100644 --- a/dist/waves.css +++ b/dist/waves.css @@ -1,5 +1,5 @@ /*! - * Waves v0.6.4 + * Waves v0.6.5 * http://fian.my.id/Waves * * Copyright 2014 Alfiana E. Sibuea and other contributors diff --git a/dist/waves.js b/dist/waves.js index 6586436..f6bfca7 100644 --- a/dist/waves.js +++ b/dist/waves.js @@ -1,5 +1,5 @@ /*! - * Waves v0.6.4 + * Waves v0.6.5 * http://fian.my.id/Waves * * Copyright 2014 Alfiana E. Sibuea and other contributors @@ -7,8 +7,29 @@ * https://github.com/fians/Waves/blob/master/LICENSE */ -;(function(window) { - 'use strict'; +;(function(window, factory) { + "use strict"; + + // AMD. Register as an anonymous module. Wrap in function so we have access + // to root via `this`. + if (typeof define === "function" && define.amd) { + define([], function() { + return factory.apply(window); + }); + } + + // Node. Does not work with strict CommonJS, but only CommonJS-like + // environments that support module.exports, like Node. + else if (typeof exports === "object") { + module.exports = factory.call(window); + } + + // Browser globals. + else { + window.Waves = factory.call(window); + } +})(typeof global === "object" ? global : this, function () { + "use strict"; var Waves = Waves || {}; var $$ = document.querySelectorAll.bind(document); @@ -324,5 +345,5 @@ element.addEventListener('mousedown', showEffect, false); }; - window.Waves = Waves; -})(window); + return Waves; +}); diff --git a/dist/waves.min.css b/dist/waves.min.css index 819369f..7662af8 100644 --- a/dist/waves.min.css +++ b/dist/waves.min.css @@ -1,5 +1,5 @@ /*! - * Waves v0.6.4 + * Waves v0.6.5 * http://fian.my.id/Waves * * Copyright 2014 Alfiana E. Sibuea and other contributors diff --git a/dist/waves.min.js b/dist/waves.min.js index a3f29d3..549792a 100644 --- a/dist/waves.min.js +++ b/dist/waves.min.js @@ -1,10 +1,10 @@ /*! - * Waves v0.6.4 + * Waves v0.6.5 * http://fian.my.id/Waves * * Copyright 2014 Alfiana E. Sibuea and other contributors * Released under the MIT license * https://github.com/fians/Waves/blob/master/LICENSE */ -!function(a){"use strict";function b(a){return null!==a&&a===a.window}function c(a){return b(a)?a:9===a.nodeType&&a.defaultView}function d(a){var b,d,e={top:0,left:0},f=a&&a.ownerDocument;return b=f.documentElement,"undefined"!=typeof a.getBoundingClientRect&&(e=a.getBoundingClientRect()),d=c(f),{top:e.top+d.pageYOffset-b.clientTop,left:e.left+d.pageXOffset-b.clientLeft}}function e(a){var b="";for(var c in a)a.hasOwnProperty(c)&&(b+=c+":"+a[c]+";");return b}function f(a){if(k.allowEvent(a)===!1)return null;for(var b=null,c=a.target||a.srcElement;null!==c.parentElement;){if(!(c instanceof SVGElement||-1===c.className.indexOf("waves-effect"))){b=c;break}if(c.classList.contains("waves-effect")){b=c;break}c=c.parentElement}return b}function g(b){var c=f(b);null!==c&&(j.show(b,c),"ontouchstart"in a&&(c.addEventListener("touchend",j.hide,!1),c.addEventListener("touchcancel",j.hide,!1)),c.addEventListener("mouseup",j.hide,!1),c.addEventListener("mouseleave",j.hide,!1))}var h=h||{},i=document.querySelectorAll.bind(document),j={duration:750,show:function(a,b){if(2===a.button)return!1;var c=b||this,f=document.createElement("div");f.className="waves-ripple",c.appendChild(f);var g=d(c),h=a.pageY-g.top,i=a.pageX-g.left,k="scale("+c.clientWidth/100*3+")";"touches"in a&&(h=a.touches[0].pageY-g.top,i=a.touches[0].pageX-g.left),f.setAttribute("data-hold",Date.now()),f.setAttribute("data-scale",k),f.setAttribute("data-x",i),f.setAttribute("data-y",h);var l={top:h+"px",left:i+"px"};f.className=f.className+" waves-notransition",f.setAttribute("style",e(l)),f.className=f.className.replace("waves-notransition",""),l["-webkit-transform"]=k,l["-moz-transform"]=k,l["-ms-transform"]=k,l["-o-transform"]=k,l.transform=k,l.opacity="1",l["-webkit-transition-duration"]=j.duration+"ms",l["-moz-transition-duration"]=j.duration+"ms",l["-o-transition-duration"]=j.duration+"ms",l["transition-duration"]=j.duration+"ms",f.setAttribute("style",e(l))},hide:function(a){k.touchup(a);var b=this,c=(1.4*b.clientWidth,null),d=b.getElementsByClassName("waves-ripple");if(!(d.length>0))return!1;c=d[d.length-1];var f=c.getAttribute("data-x"),g=c.getAttribute("data-y"),h=c.getAttribute("data-scale"),i=Date.now()-Number(c.getAttribute("data-hold")),l=350-i;0>l&&(l=0),setTimeout(function(){var a={top:g+"px",left:f+"px",opacity:"0","-webkit-transition-duration":j.duration+"ms","-moz-transition-duration":j.duration+"ms","-o-transition-duration":j.duration+"ms","transition-duration":j.duration+"ms","-webkit-transform":h,"-moz-transform":h,"-ms-transform":h,"-o-transform":h,transform:h};c.setAttribute("style",e(a)),setTimeout(function(){try{b.removeChild(c)}catch(a){return!1}},j.duration)},l)},wrapInput:function(a){for(var b=0;b0&&(k.touches-=1)},500):"mousedown"===a.type&&k.touches>0&&(b=!1),b},touchup:function(a){k.allowEvent(a)}};h.displayEffect=function(b){b=b||{},"duration"in b&&(j.duration=b.duration),j.wrapInput(i(".waves-effect")),"ontouchstart"in a&&document.body.addEventListener("touchstart",g,!1),document.body.addEventListener("mousedown",g,!1)},h.attach=function(b){"input"===b.tagName.toLowerCase()&&(j.wrapInput([b]),b=b.parentElement),"ontouchstart"in a&&b.addEventListener("touchstart",g,!1),b.addEventListener("mousedown",g,!1)},a.Waves=h}(window); +!function(a,b){"use strict";"function"==typeof define&&define.amd?define([],function(){return b.apply(a)}):"object"==typeof exports?module.exports=b.call(a):a.Waves=b.call(a)}("object"==typeof global?global:this,function(){"use strict";function a(a){return null!==a&&a===a.window}function b(b){return a(b)?b:9===b.nodeType&&b.defaultView}function c(a){var c,d,e={top:0,left:0},f=a&&a.ownerDocument;return c=f.documentElement,"undefined"!=typeof a.getBoundingClientRect&&(e=a.getBoundingClientRect()),d=b(f),{top:e.top+d.pageYOffset-c.clientTop,left:e.left+d.pageXOffset-c.clientLeft}}function d(a){var b="";for(var c in a)a.hasOwnProperty(c)&&(b+=c+":"+a[c]+";");return b}function e(a){if(j.allowEvent(a)===!1)return null;for(var b=null,c=a.target||a.srcElement;null!==c.parentElement;){if(!(c instanceof SVGElement||-1===c.className.indexOf("waves-effect"))){b=c;break}if(c.classList.contains("waves-effect")){b=c;break}c=c.parentElement}return b}function f(a){var b=e(a);null!==b&&(i.show(a,b),"ontouchstart"in window&&(b.addEventListener("touchend",i.hide,!1),b.addEventListener("touchcancel",i.hide,!1)),b.addEventListener("mouseup",i.hide,!1),b.addEventListener("mouseleave",i.hide,!1))}var g=g||{},h=document.querySelectorAll.bind(document),i={duration:750,show:function(a,b){if(2===a.button)return!1;var e=b||this,f=document.createElement("div");f.className="waves-ripple",e.appendChild(f);var g=c(e),h=a.pageY-g.top,j=a.pageX-g.left,k="scale("+e.clientWidth/100*3+")";"touches"in a&&(h=a.touches[0].pageY-g.top,j=a.touches[0].pageX-g.left),f.setAttribute("data-hold",Date.now()),f.setAttribute("data-scale",k),f.setAttribute("data-x",j),f.setAttribute("data-y",h);var l={top:h+"px",left:j+"px"};f.className=f.className+" waves-notransition",f.setAttribute("style",d(l)),f.className=f.className.replace("waves-notransition",""),l["-webkit-transform"]=k,l["-moz-transform"]=k,l["-ms-transform"]=k,l["-o-transform"]=k,l.transform=k,l.opacity="1",l["-webkit-transition-duration"]=i.duration+"ms",l["-moz-transition-duration"]=i.duration+"ms",l["-o-transition-duration"]=i.duration+"ms",l["transition-duration"]=i.duration+"ms",f.setAttribute("style",d(l))},hide:function(a){j.touchup(a);var b=this,c=(1.4*b.clientWidth,null),e=b.getElementsByClassName("waves-ripple");if(!(e.length>0))return!1;c=e[e.length-1];var f=c.getAttribute("data-x"),g=c.getAttribute("data-y"),h=c.getAttribute("data-scale"),k=Date.now()-Number(c.getAttribute("data-hold")),l=350-k;0>l&&(l=0),setTimeout(function(){var a={top:g+"px",left:f+"px",opacity:"0","-webkit-transition-duration":i.duration+"ms","-moz-transition-duration":i.duration+"ms","-o-transition-duration":i.duration+"ms","transition-duration":i.duration+"ms","-webkit-transform":h,"-moz-transform":h,"-ms-transform":h,"-o-transform":h,transform:h};c.setAttribute("style",d(a)),setTimeout(function(){try{b.removeChild(c)}catch(a){return!1}},i.duration)},l)},wrapInput:function(a){for(var b=0;b0&&(j.touches-=1)},500):"mousedown"===a.type&&j.touches>0&&(b=!1),b},touchup:function(a){j.allowEvent(a)}};return g.displayEffect=function(a){a=a||{},"duration"in a&&(i.duration=a.duration),i.wrapInput(h(".waves-effect")),"ontouchstart"in window&&document.body.addEventListener("touchstart",f,!1),document.body.addEventListener("mousedown",f,!1)},g.attach=function(a){"input"===a.tagName.toLowerCase()&&(i.wrapInput([a]),a=a.parentElement),"ontouchstart"in window&&a.addEventListener("touchstart",f,!1),a.addEventListener("mousedown",f,!1)},g}); //# sourceMappingURL=waves.min.js.map \ No newline at end of file diff --git a/dist/waves.min.js.map b/dist/waves.min.js.map index a25a716..506a107 100644 --- a/dist/waves.min.js.map +++ b/dist/waves.min.js.map @@ -1 +1 @@ -{"version":3,"file":"waves.min.js","sources":["../src/js/waves.js"],"names":["window","isWindow","obj","getWindow","elem","nodeType","defaultView","offset","docElem","win","box","top","left","doc","ownerDocument","documentElement","getBoundingClientRect","pageYOffset","clientTop","pageXOffset","clientLeft","convertStyle","style","a","hasOwnProperty","getWavesEffectElement","e","TouchHandler","allowEvent","element","target","srcElement","parentElement","SVGElement","className","indexOf","classList","contains","showEffect","Effect","show","addEventListener","hide","Waves","$$","document","querySelectorAll","bind","duration","button","el","this","ripple","createElement","appendChild","pos","relativeY","pageY","relativeX","pageX","scale","clientWidth","touches","setAttribute","Date","now","rippleStyle","replace","transform","opacity","touchup","ripples","getElementsByClassName","length","getAttribute","diff","Number","delay","setTimeout","-webkit-transition-duration","-moz-transition-duration","-o-transition-duration","transition-duration","-webkit-transform","-moz-transform","-ms-transform","-o-transform","removeChild","wrapInput","elements","tagName","toLowerCase","parent","parentNode","wrapper","elementStyle","removeAttribute","replaceChild","allow","type","displayEffect","options","body","attach"],"mappings":";;;;;;;;CASC,SAAUA,GACP,YAMA,SAASC,GAASC,GACd,MAAe,QAARA,GAAgBA,IAAQA,EAAIF,OAGvC,QAASG,GAAUC,GACf,MAAOH,GAASG,GAAQA,EAAyB,IAAlBA,EAAKC,UAAkBD,EAAKE,YAG/D,QAASC,GAAOH,GACZ,GAAII,GAASC,EACTC,GAAOC,IAAK,EAAGC,KAAM,GACrBC,EAAMT,GAAQA,EAAKU,aAQvB,OANAN,GAAUK,EAAIE,gBAE4B,mBAA/BX,GAAKY,wBACZN,EAAMN,EAAKY,yBAEfP,EAAMN,EAAUU,IAEZF,IAAKD,EAAIC,IAAMF,EAAIQ,YAAcT,EAAQU,UACzCN,KAAMF,EAAIE,KAAOH,EAAIU,YAAcX,EAAQY,YAInD,QAASC,GAAanB,GAClB,GAAIoB,GAAQ,EAEZ,KAAK,GAAIC,KAAKrB,GACNA,EAAIsB,eAAeD,KACnBD,GAAUC,EAAI,IAAMrB,EAAIqB,GAAK,IAIrC,OAAOD,GAqMX,QAASG,GAAsBC,GAC3B,GAAIC,EAAaC,WAAWF,MAAO,EAC/B,MAAO,KAMX,KAHA,GAAIG,GAAU,KACVC,EAASJ,EAAEI,QAAUJ,EAAEK,WAEK,OAAzBD,EAAOE,eAAwB,CAClC,KAAMF,YAAkBG,aAA4D,K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eAGlB,gBAAkBhC,IAClB6B,EAAQY,iBAAiB,aAAcH,GAAY,GAGvDT,EAAQY,iBAAiB,YAAaH,GAAY,IAGtDtC,EAAO2C,MAAQA,GAChB3C"} \ No newline at end of file +{"version":3,"file":"waves.min.js","sources":["../src/js/waves.js"],"names":["window","factory","define","amd","apply","exports","module","call","Waves","global","this","isWindow","obj","getWindow","elem","nodeType","defaultView","offset","docElem","win","box","top","left","doc","ownerDocument","documentElement","getBoundingClientRect","pageYOffset","clientTop","pageXOffset","clientLeft","convertStyle","style","a","hasOwnProperty","getWavesEffectElement","e","TouchHandler","allowEvent","element","target","srcElement","parentElement","SVGElement","className","indexOf","classList","contains","showEffect","Effect","show","addEventListener","hide","$$","document","querySelectorAll","bind","duration","button","el","ripple","createElement","appendChild","pos","relativeY","pageY","relativeX","pageX","scale","clientWidth","touches","setAttribute","Date","now","rippleStyle","replace","transform","opacity","touchup","ripples","getElementsByClassName","length","getAttribute","diff","Number","delay","setTimeout","-webkit-transition-duration","-moz-transition-duration","-o-transition-duration","transition-duration","-webkit-transform","-moz-transform","-ms-transform","-o-transform","removeChild","wrapInput","elements","tagName","toLowerCase","parent","parentNode","wrapper","elementStyle","removeAttribute","replaceChild","allow","type","displayEffect","options","body","attach"],"mappings":";;;;;;;;CASC,SAAUA,EAAQC,GACf,YAIsB,mBAAXC,SAAyBA,OAAOC,IACvCD,UAAW,WACP,MAAOD,GAAQG,MAAMJ,KAMD,gBAAZK,SACZC,OAAOD,QAAUJ,EAAQM,KAAKP,GAK9BA,EAAOQ,MAAQP,EAAQM,KAAKP,IAEf,gBAAXS,QAAsBA,OAASC,KAAM,WAC3C,YAMA,SAASC,GAASC,GACd,MAAe,QAARA,GAAgBA,IAAQA,EAAIZ,OAGvC,QAASa,GAAUC,GACf,MAAOH,GAASG,GAAQA,EAAyB,IAAlBA,EAAKC,UAAkBD,EAAKE,YAG/D,QAASC,GAAOH,GACZ,GAAII,GAASC,EACTC,GAAOC,IAAK,EAAGC,KAAM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AAW,EACN,aAAXlC,EAAEuE,MAAkC,gBAAXvE,EAAEuE,KAClCrB,WAAW,WACHjD,EAAaiC,QAAU,IACvBjC,EAAaiC,SAAW,IAE7B,KACe,cAAXlC,EAAEuE,MAAwBtE,EAAaiC,QAAU,IACxDoC,GAAQ,GAGLA,GAEX5B,QAAS,SAAS1C,GACdC,EAAaC,WAAWF,IAwFhC,OAtCA5B,GAAMoG,cAAgB,SAASC,GAC3BA,EAAUA,MAEN,YAAcA,KACd5D,EAAOQ,SAAWoD,EAAQpD,UAI9BR,EAAO+C,UAAU3C,EAAG,kBAEhB,gBAAkBrD,SAClBsD,SAASwD,KAAK3D,iBAAiB,aAAcH,GAAY,GAG7DM,SAASwD,KAAK3D,iBAAiB,YAAaH,GAAY,IAS5DxC,EAAMuG,OAAS,SAASxE,GAGkB,UAAlCA,EAAQ2D,QAAQC,gBAChBlD,EAAO+C,WAAWzD,IAClBA,EAAUA,EAAQG,eAGlB,gBAAkB1C,SAClBuC,EAAQY,iBAAiB,aAAcH,GAAY,GAGvDT,EAAQY,iBAAiB,YAAaH,GAAY,IAG/CxC"} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 45f8727..10af687 100644 --- a/docs/index.html +++ b/docs/index.html @@ -46,7 +46,7 @@

Waves

Click effect inspired by Google's Material Design

-

v0.6.4

+

v0.6.5

See the examples
diff --git a/src/js/waves.js b/src/js/waves.js index bddaee3..f6bfca7 100644 --- a/src/js/waves.js +++ b/src/js/waves.js @@ -1,5 +1,5 @@ /*! - * Waves v0.6.4 + * Waves v0.6.5 * http://fian.my.id/Waves * * Copyright 2014 Alfiana E. Sibuea and other contributors diff --git a/src/less/waves.less b/src/less/waves.less index 2554baf..4c015b4 100644 --- a/src/less/waves.less +++ b/src/less/waves.less @@ -1,6 +1,6 @@ /*! - * Waves v0.6.4 + * Waves v0.6.5 * http://fian.my.id/Waves * * Copyright 2014 Alfiana E. Sibuea and other contributors diff --git a/src/sass/waves.sass b/src/sass/waves.sass index 5a791e6..8d33ca3 100644 --- a/src/sass/waves.sass +++ b/src/sass/waves.sass @@ -1,5 +1,5 @@ /*! - * Waves v0.6.4 + * Waves v0.6.5 * http://fian.my.id/Waves * * Copyright 2014 Alfiana E. Sibuea and other contributors diff --git a/src/scss/waves.scss b/src/scss/waves.scss index 5154b75..390a284 100644 --- a/src/scss/waves.scss +++ b/src/scss/waves.scss @@ -1,6 +1,6 @@ /*! - * Waves v0.6.4 + * Waves v0.6.5 * http://fian.my.id/Waves * * Copyright 2014 Alfiana E. Sibuea and other contributors diff --git a/src/stylus/waves.styl b/src/stylus/waves.styl index 616e738..d727ca3 100644 --- a/src/stylus/waves.styl +++ b/src/stylus/waves.styl @@ -1,7 +1,7 @@ lesscss-percentage(n) (n * 100)% /*! - * Waves v0.6.4 + * Waves v0.6.5 * http://fian.my.id/Waves * * Copyright 2014 Alfiana E. Sibuea and other contributors