helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ka...@apache.org
Subject [16/20] helix git commit: Added more licenses; mvn -Prat -DskipTests passes
Date Sun, 29 Mar 2015 00:04:48 GMT
http://git-wip-us.apache.org/repos/asf/helix/blob/8d552070/helix-ui/src/main/resources/assets/js/components/notify.min.js
----------------------------------------------------------------------
diff --git a/helix-ui/src/main/resources/assets/js/components/notify.min.js b/helix-ui/src/main/resources/assets/js/components/notify.min.js
deleted file mode 100644
index 483c449..0000000
--- a/helix-ui/src/main/resources/assets/js/components/notify.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! UIkit 2.16.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
-!function(t){var e;jQuery&&UIkit&&(e=t(jQuery,UIkit)),"function"==typeof
define&&define.amd&&define("uikit-notify",["uikit"],function(){return e||t(jQuery,UIkit)})}(function(t,e){"use
strict";var i={},s={},o=function(e){return"string"==t.type(e)&&(e={message:e}),arguments[1]&&(e=t.extend(e,"string"==t.type(arguments[1])?{status:arguments[1]}:arguments[1])),new
u(e).show()},n=function(t,e){var i;if(t)for(i in s)t===s[i].group&&s[i].close(e);else
for(i in s)s[i].close(e)},u=function(o){this.options=t.extend({},u.defaults,o),this.uuid=e.Utils.uid("notifymsg"),this.element=e.$(['<div
class="@-notify-message">','<a class="@-close"></a>',"<div></div>","</div>"].join("")).data("notifyMessage",this),this.content(this.options.message),this.options.status&&(this.element.addClass("@-notify-message-"+this.options.status),this.currentstatus=this.options.status),this.group=this.options.group,s[this.uuid]=this,i[this.options.pos]||(i[this.options.pos]=e.$('<div
class="@-notify @-notify-'+this.opti
 ons.pos+'"></div>').appendTo("body").on("click",e.prefix(".@-notify-message"),function(){e.$(this).data("notifyMessage").close()}))};return
t.extend(u.prototype,{uuid:!1,element:!1,timout:!1,currentstatus:"",group:!1,show:function(){if(!this.element.is(":visible")){var
t=this;i[this.options.pos].show().prepend(this.element);var e=parseInt(this.element.css("margin-bottom"),10);return
this.element.css({opacity:0,"margin-top":-1*this.element.outerHeight(),"margin-bottom":0}).animate({opacity:1,"margin-top":0,"margin-bottom":e},function(){if(t.options.timeout){var
e=function(){t.close()};t.timeout=setTimeout(e,t.options.timeout),t.element.hover(function(){clearTimeout(t.timeout)},function(){t.timeout=setTimeout(e,t.options.timeout)})}}),this}},close:function(t){var
e=this,o=function(){e.element.remove(),i[e.options.pos].children().length||i[e.options.pos].hide(),e.options.onClose.apply(e,[]),delete
s[e.uuid]};this.timeout&&clearTimeout(this.timeout),t?o():this.element.animate({opacity:0
 ,"margin-top":-1*this.element.outerHeight(),"margin-bottom":0},function(){o()})},content:function(t){var
e=this.element.find(">div");return t?(e.html(t),this):e.html()},status:function(t){return
t?(this.element.removeClass("@-notify-message-"+this.currentstatus).addClass("@-notify-message-"+t),this.currentstatus=t,this):this.currentstatus}}),u.defaults={message:"",status:"",timeout:5e3,group:null,pos:"top-center",onClose:function(){}},e.notify=o,e.notify.message=u,e.notify.closeAll=n,o});
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/helix/blob/8d552070/helix-ui/src/main/resources/assets/js/components/pagination.min.js
----------------------------------------------------------------------
diff --git a/helix-ui/src/main/resources/assets/js/components/pagination.min.js b/helix-ui/src/main/resources/assets/js/components/pagination.min.js
deleted file mode 100644
index 1a0a01d..0000000
--- a/helix-ui/src/main/resources/assets/js/components/pagination.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! UIkit 2.16.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
-!function(t){var e;jQuery&&UIkit&&(e=t(jQuery,UIkit)),"function"==typeof
define&&define.amd&&define("uikit-pagination",["uikit"],function(){return
e||t(jQuery,UIkit)})}(function(t,e){"use strict";return e.component("pagination",{defaults:{items:1,itemsOnPage:1,pages:0,displayedPages:3,edges:3,currentPage:1,lblPrev:!1,lblNext:!1,onSelectPage:function(){}},boot:function(){e.ready(function(t){e.$("[data-@-pagination]",t).each(function(){var
t=e.$(this);if(!t.data("pagination")){e.pagination(t,e.Utils.options(t.attr("data-@-pagination")))}})})},init:function(){var
e=this;this.pages=this.options.pages?this.options.pages:Math.ceil(this.options.items/this.options.itemsOnPage)?Math.ceil(this.options.items/this.options.itemsOnPage):1,this.currentPage=this.options.currentPage-1,this.halfDisplayed=this.options.displayedPages/2,this.on("click","a[data-page]",function(i){i.preventDefault(),e.selectPage(t(this).data("page"))}),this._render()},_getInterval:function(){return{start:Math.ceil(this.cu
 rrentPage>this.halfDisplayed?Math.max(Math.min(this.currentPage-this.halfDisplayed,this.pages-this.options.displayedPages),0):0),end:Math.ceil(this.currentPage>this.halfDisplayed?Math.min(this.currentPage+this.halfDisplayed,this.pages):Math.min(this.options.displayedPages,this.pages))}},render:function(t){this.pages=t?t:this.pages,this._render()},selectPage:function(t,e){this.currentPage=t,this.render(e),this.options.onSelectPage.apply(this,[t]),this.trigger("select.uk.pagination",[t,this])},_render:function(){var
t,e=this.options,i=this._getInterval();if(this.element.empty(),e.lblPrev&&this._append(e.currentPage-1,{text:e.lblPrev}),i.start>0&&e.edges>0){var
s=Math.min(e.edges,i.start);for(t=0;s>t;t++)this._append(t);e.edges<i.start&&i.start-e.edges!=1?this.element.append("<li><span>...</span></li>"):i.start-e.edges==1&&this._append(e.edges)}for(t=i.start;t<i.end;t++)this._append(t);if(i.end<this.pages&&e.edges>0){this.pages-e.edges>i.end&&this.pages-e.edges-i.end!=1?this.element.ap
 pend("<li><span>...</span></li>"):this.pages-e.edges-i.end==1&&this._append(i.end++);var
a=Math.max(this.pages-e.edges,i.end);for(t=a;t<this.pages;t++)this._append(t)}e.lblNext&&this._append(e.currentPage+1,{text:e.lblNext})},_append:function(i,s){var
a,n;i=0>i?0:i<this.pages?i:this.pages-1,n=t.extend({text:i+1},s),a=i==this.currentPage?'<li
class="@-active"><span>'+n.text+"</span></li>":'<li><a href="#page-'+(i+1)+'"
data-page="'+i+'">'+n.text+"</a></li>",this.element.append(e.prefix(a))}}),e.pagination});
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/helix/blob/8d552070/helix-ui/src/main/resources/assets/js/components/search.min.js
----------------------------------------------------------------------
diff --git a/helix-ui/src/main/resources/assets/js/components/search.min.js b/helix-ui/src/main/resources/assets/js/components/search.min.js
deleted file mode 100644
index f9e1cf0..0000000
--- a/helix-ui/src/main/resources/assets/js/components/search.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! UIkit 2.16.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
-!function(e){var s;jQuery&&UIkit&&(s=e(jQuery,UIkit)),"function"==typeof
define&&define.amd&&define("uikit-search",["uikit"],function(){return s||e(jQuery,UIkit)})}(function(e,s){"use
strict";s.component("search",{defaults:{msgResultsHeader:"Search Results",msgMoreResults:"More
Results",msgNoResults:"No results found",template:'<ul class="@-nav @-nav-search @-autocomplete-results">
                                     {{#msgResultsHeader}}<li class="@-nav-header @-skip">{{msgResultsHeader}}</li>{{/msgResultsHeader}}
                                     {{#items && items.length}}                  
                       {{~items}}                                          <li data-url="{{!$item.url}}">
                                             <a href="{{!$item.url}}">             
                                    {{{$item.title}}}                                    
             {{#$item.text}}<div>{{{$item.text}}}</div>{{/$item.text}}       
                                   
    </a>                                          </li>                      
                   {{/items}}                                          {{#msgMoreResults}}
                                             <li class="@-nav-divider @-skip"></li>
                                             <li class="@-search-moreresults" data-moreresults="true"><a
href="#" onclick="jQuery(this).closest(\'form\').submit();">{{msgMoreResults}}</a></li>
                                         {{/msgMoreResults}}                             
        {{/end}}                                      {{^items.length}}                  
                     {{#msgNoResults}}<li class="@-skip"><a>{{msgNoResults}}</a></li>{{/msgNoResults}}
                                     {{/end}}                                  </ul>',renderer:function(e){var
s=this.options;this.dropdown.append(this.template({items:e.results||[],msgResultsHeader:s.msgResultsHeader,msgMoreResults:s.msgMoreResults,msgNoResults:s.msgN
 oResults})),this.show()}},boot:function(){s.$html.on("focus.search.uikit","[data-@-search]",function(){var
e=s.$(this);if(!e.data("search")){s.search(e,s.Utils.options(e.attr("data-@-search")))}})},init:function(){var
e=this;this.autocomplete=s.autocomplete(this.element,this.options),this.autocomplete.dropdown.addClass(s.prefix("@-dropdown-search")),this.autocomplete.input.on("keyup",function(){e.element[e.autocomplete.input.val()?"addClass":"removeClass"]("@-active")}).closest("form").on("reset",function(){e.value="",e.element.removeClass("@-active")}),this.on("select.uk.autocomplete",function(s,t){t.url?location.href=t.url:t.moreresults&&e.autocomplete.input.closest("form").submit()}),this.element.data("search",this)}})});
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/helix/blob/8d552070/helix-ui/src/main/resources/assets/js/components/slideshow-fx.min.js
----------------------------------------------------------------------
diff --git a/helix-ui/src/main/resources/assets/js/components/slideshow-fx.min.js b/helix-ui/src/main/resources/assets/js/components/slideshow-fx.min.js
deleted file mode 100644
index 707e8b7..0000000
--- a/helix-ui/src/main/resources/assets/js/components/slideshow-fx.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! UIkit 2.16.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
-!function(i){var t;jQuery&&UIkit&&(t=i(jQuery,UIkit)),"function"==typeof
define&&define.amd&&define("uikit-slideshow-fx",["uikit"],function(){return
t||i(jQuery,UIkit)})}(function(i,t){"use strict";var e=t.slideshow.animations;i.extend(t.slideshow.animations,{slice:function(s,n,o,r){if(!s.data("cover"))return
e.fade.apply(this,arguments);for(var a,c=i.Deferred(),h=Math.ceil(this.element.width()/this.options.slices),p=n.data("cover").css("background-image"),d=i("<li></li>").css({top:0,left:0,width:this.container.width(),height:this.container.height(),opacity:1,zIndex:15}),l=d.width(),u=d.height(),f="slice-up"==r?u:"0",m=0;m<this.options.slices;m++){"slice-up-down"==r&&(f=(m%2+2)%2==0?"0":u);var
v,x=m==this.options.slices-1?h:h,g="rect(0px, "+x*(m+1)+"px, "+u+"px, "+h*m+"px)";v="rect(0px,
"+x*(m+1)+"px, 0px, "+h*m+"px)",("slice-up"==r||"slice-up-down"==r&&(m%2+2)%2==0)&&(v="rect("+u+"px,
"+x*(m+1)+"px, "+u+"px, "+h*m+"px)"),a=t.$('<div class="@-cover-background"></div>').css({position
 :"absolute",top:0,left:0,width:l,height:u,"background-image":p,clip:v,opacity:0,transition:"all
"+this.options.duration+"ms ease-in-out "+60*m+"ms","-webkit-transition":"all "+this.options.duration+"ms
ease-in-out "+60*m+"ms"}).data("clip",g),d.append(a)}return this.container.append(d),d.children().last().on(t.support.transition.end,function(){d.remove(),c.resolve()}),d.width(),d.children().each(function(){var
t=i(this);t.css({clip:t.data("clip"),opacity:1})}),c.promise()},"slice-up":function(i,t,s){return
e.slice.apply(this,[i,t,s,"slice-up"])},"slice-down":function(i,t,s){return e.slice.apply(this,[i,t,s,"slice-down"])},"slice-up-down":function(i,t,s){return
e.slice.apply(this,[i,t,s,"slice-up-down"])},fold:function(s,n){if(!n.data("cover"))return
e.fade.apply(this,arguments);for(var o,r=i.Deferred(),a=Math.ceil(this.element.width()/this.options.slices),c=n.data("cover").css("background-image"),h=i("<li></li>").css({width:n.width(),height:n.height(),opacity:1,zIndex:15}),p=n.width
 (),d=n.height(),l=0;l<this.options.slices;l++){{l==this.options.slices-1?p-a*l:a}o=t.$('<div
class="@-cover-background"></div>').css({position:"absolute",top:0,left:0,width:p,height:d,"background-image":c,"transform-origin":a*l+"px
0 0",clip:"rect(0px, "+a*(l+1)+"px, "+d+"px, "+a*l+"px)",opacity:0,transform:"scaleX(0.000001)",transition:"all
"+this.options.duration+"ms ease-in-out "+(100+60*l)+"ms","-webkit-transition":"all "+this.options.duration+"ms
ease-in-out "+(100+60*l)+"ms"}),h.prepend(o)}return this.container.append(h),h.width(),h.children().first().on(t.support.transition.end,function(){h.remove(),r.resolve()}).end().css({transform:"scaleX(1)",opacity:1}),r.promise()},puzzle:function(n,o){if(!o.data("cover"))return
e.fade.apply(this,arguments);for(var r,a,c,h=i.Deferred(),p=this,d=Math.round(this.options.slices/2),l=Math.round(o.width()/d),u=Math.round(o.height()/l),f=Math.round(o.height()/u)+1,m=o.data("cover").css("background-image"),v=t.$("<li></li>").css({width:this.con
 tainer.width(),height:this.container.height(),opacity:1,zIndex:15}),x=this.container.width(),g=this.container.height(),w=0;u>w;w++)for(var
b=0;d>b;b++)c=b==d-1?l+2:l,a=[f*w+"px",c*(b+1)+"px",f*(w+1)+"px",l*b+"px"],r=t.$('<div
class="@-cover-background"></div>').css({position:"absolute",top:0,left:0,opacity:0,width:x,height:g,"background-image":m,clip:"rect("+a.join(",")+")","-webkit-transform":"translateZ(0)",transform:"translateZ(0)"}),v.append(r);this.container.append(v);var
y=s(v.children());return y.each(function(i){t.$(this).css({transition:"all "+p.options.duration+"ms
ease-in-out "+(50+25*i)+"ms","-webkit-transition":"all "+p.options.duration+"ms ease-in-out
"+(50+25*i)+"ms"})}).last().on(t.support.transition.end,function(){v.remove(),h.resolve()}),v.width(),y.css({opacity:1}),h.promise()},boxes:function(s,n,o,r){if(!n.data("cover"))return
e.fade.apply(this,arguments);for(var a,c,h,p=i.Deferred(),d=Math.round(this.options.slices/2),l=Math.round(n.width()/d),u=Math.round(n.hei
 ght()/l),f=Math.round(n.height()/u)+1,m=n.data("cover").css("background-image"),v=i("<li></li>").css({width:n.width(),height:n.height(),opacity:1,zIndex:15}),x=n.width(),g=n.height(),w=0;u>w;w++)for(var
b=0;d>b;b++)h=b==d-1?l+2:l,c=[f*w+"px",h*(b+1)+"px",f*(w+1)+"px",l*b+"px"],a=t.$('<div
class="@-cover-background"></div>').css({position:"absolute",top:0,left:0,opacity:1,width:x,height:g,"background-image":m,"transform-origin":c[3]+"
"+c[0]+" 0",clip:"rect("+c.join(",")+")","-webkit-transform":"scale(0.0000000000000001)",transform:"scale(0.0000000000000001)"}),v.append(a);this.container.append(v);var
y=0,k=0,I=0,M=[[]],z=v.children();"boxes-reverse"==r&&(z=[].reverse.apply(z)),z.each(function(){M[y][k]=i(this),k++,k==d&&(y++,k=0,M[y]=[])});for(var
b=0,$=0;d*u>b;b++){$=b;for(var j=0;u>j;j++)$>=0&&d>$&&M[j][$].css({transition:"all
"+this.options.duration+"ms linear "+(50+I)+"ms","-webkit-transition":"all "+this.options.duration+"ms
linear "+(50+I)+"ms"}),$--;I+=100}return z.last().on(
 t.support.transition.end,function(){v.remove(),p.resolve()}),v.width(),z.css({"-webkit-transform":"scale(1)",transform:"scale(1)"}),p.promise()},"boxes-reverse":function(i,t,s){return
e.boxes.apply(this,[i,t,s,"boxes-reverse"])},"random-fx":function(){var i=["slice-up","fold","puzzle","slice-down","boxes","slice-up-down","boxes-reverse"];return
this.fxIndex=(void 0===this.fxIndex?-1:this.fxIndex)+1,i[this.fxIndex]||(this.fxIndex=0),e[i[this.fxIndex]].apply(this,arguments)}});var
s=function(i){for(var t,e,s=i.length;s;t=parseInt(Math.random()*s),e=i[--s],i[s]=i[t],i[t]=e);return
i};return t.slideshow.animations});
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/helix/blob/8d552070/helix-ui/src/main/resources/assets/js/components/slideshow.min.js
----------------------------------------------------------------------
diff --git a/helix-ui/src/main/resources/assets/js/components/slideshow.min.js b/helix-ui/src/main/resources/assets/js/components/slideshow.min.js
deleted file mode 100644
index a0c27c4..0000000
--- a/helix-ui/src/main/resources/assets/js/components/slideshow.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! UIkit 2.16.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
-!function(i){var s;jQuery&&UIkit&&(s=i(jQuery,UIkit)),"function"==typeof
define&&define.amd&&define("uikit-slideshow",["uikit"],function(){return s||i(jQuery,UIkit)})}(function(i,s){"use
strict";var t;s.component("slideshow",{defaults:{animation:"fade",duration:500,height:"auto",start:0,autoplay:!1,autoplayInterval:7e3,videoautoplay:!0,videomute:!0,kenburns:!1,slices:15},current:!1,interval:null,hovering:!1,boot:function(){s.ready(function(i){s.$("[data-@-slideshow]",i).each(function(){var
i=s.$(this);if(!i.data("slideshow")){s.slideshow(i,s.Utils.options(i.attr("data-@-slideshow")))}})})},init:function(){var
t,e=this;this.container=this.element.hasClass("@-slideshow")?this.element:s.$(this.find(".@-slideshow")),this.slides=this.container.children(),this.slidesCount=this.slides.length,this.current=this.options.start,this.animating=!1,this.triggers=this.find("[data-@-slideshow-item]"),this.fixFullscreen=navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&this.container.hasClass(s.prefi
 x("@-slideshow-fullscreen")),this.slides.each(function(n){var a=i(this),o=a.children("img,video,iframe").eq(0);if(a.data("media",o),a.data("sizer",o),o.length){var
r;switch(o[0].nodeName){case"IMG":var d=s.$('<div class="@-cover-background @-position-cover"></div>').css({"background-image":"url("+o.attr("src")+")"});o.css({width:"100%",height:"auto"}),a.prepend(d).data("cover",d);break;case"IFRAME":var
h=o[0].src;o.attr("src","").on("load",function(){(n!==e.current||n==e.current&&!e.options.videoautoplay)&&e.pausemedia(o),e.options.videomute&&(e.mutemedia(o),setTimeout(function(){e.mutemedia(o)},1e3))}).attr("src",[h,h.indexOf("?")>-1?"&":"?","enablejsapi=1&api=1"].join("")).addClass(s.prefix("@-position-top")),s.support.touch||o.css("pointer-events","none"),r=!0,s.cover&&(s.cover(o),o.attr(s.prefix("data-@-cover"),"{}"));break;case"VIDEO":o.addClass(s.prefix("@-cover-object
@-position-top")),r=!0,e.options.videomute&&e.mutemedia(o)}if(r){t=s.$("<canvas></canvas>").attr({width:o[0].
 width,height:o[0].height});var c=s.$('<img style="width:100%;height:auto;">').attr("src",t[0].toDataURL());a.prepend(c),a.data("sizer",c)}}else
a.data("sizer",a)}),this.on("click","[data-@-slideshow-item]",function(i){i.preventDefault();var
t=s.$(this).data(s._prefix+"SlideshowItem");if(e.current!=t){switch(t){case"next":case"previous":e["next"==t?"next":"previous"]();break;default:e.show(t)}e.stop()}}),this.slides.eq(this.current).addClass(s.prefix("@-active")),this.triggers.filter(s.prefix('[data-@-slideshow-item="'+this.current+'"]')).addClass(s.prefix("@-active")),s.$win.on("resize
load",s.Utils.debounce(function(){e.resize(),e.fixFullscreen&&(e.container.css("height",window.innerHeight),e.slides.css("height",window.innerHeight))},100)),this.resize(),this.options.autoplay&&this.start(),this.options.videoautoplay&&this.slides.eq(this.current).data("media")&&this.playmedia(this.slides.eq(this.current).data("media")),this.options.kenburns&&this.applyKenBurns(this.slides.eq(this.cur
 rent)),this.container.on({mouseenter:function(){e.hovering=!0},mouseleave:function(){e.hovering=!1}}),this.on("swipeRight
swipeLeft",function(i){e["swipeLeft"==i.type?"next":"previous"]()}),this.on("display.@.check",function(){e.element.is(":visible")&&(e.resize(),e.fixFullscreen&&(e.container.css("height",window.innerHeight),e.slides.css("height",window.innerHeight)))})},resize:function(){if(!this.container.hasClass("@-slideshow-fullscreen")){var
s=this.options.height;"auto"===this.options.height&&(s=0,this.slides.css("height","").each(function(){s=Math.max(s,i(this).height())})),this.container.css("height",s),this.slides.css("height",s)}},show:function(i,e){if(!this.animating){this.animating=!0;var
n=this,a=this.slides.eq(this.current),o=this.slides.eq(i),r=e?e:this.current<i?-1:1,d=a.data("media"),h=t[this.options.animation]?this.options.animation:"fade",c=o.data("media"),l=function(){n.animating&&(d&&d.is("video,iframe")&&n.pausemedia(d),c&&c.is("video,iframe")&&n.playmedia(c),o
 .addClass("@-active"),a.removeClass("@-active"),n.animating=!1,n.current=i,s.Utils.checkDisplay(o,s.prefix('[class*="@-animation-"]:not(.@-cover-background.@-position-cover)')),n.trigger("show.uk.slideshow",[o]))};n.applyKenBurns(o),s.support.animation||(h="none"),a=s.$(a),o=s.$(o),t[h].apply(this,[a,o,r]).then(l),n.triggers.removeClass(s.prefix("@-active")),n.triggers.filter(s.prefix('[data-@-slideshow-item="'+i+'"]')).addClass(s.prefix("@-active"))}},applyKenBurns:function(i){if(this.hasKenBurns(i)){var
s=["@-animation-middle-left","@-animation-top-right","@-animation-bottom-left","@-animation-top-center","","@-animation-bottom-right"],t=this.kbindex||0;i.data("cover").attr("class","@-cover-background
@-position-cover").width(),i.data("cover").addClass(["@-animation-scale","@-animation-reverse","@-animation-15",s[t]].join("
")),this.kbindex=s[t+1]?t+1:0}},hasKenBurns:function(i){return this.options.kenburns&&i.data("cover")},next:function(){this.show(this.slides[this.current+1]?th
 is.current+1:0)},previous:function(){this.show(this.slides[this.current-1]?this.current-1:this.slides.length-1)},start:function(){this.stop();var
i=this;this.interval=setInterval(function(){i.hovering||i.show(i.options.start,i.next())},this.options.autoplayInterval)},stop:function(){this.interval&&clearInterval(this.interval)},playmedia:function(i){if(i&&i[0])switch(i[0].nodeName){case"VIDEO":i[0].play();break;case"IFRAME":i[0].contentWindow.postMessage('{
"event": "command", "func": "playVideo", "method":"play"}',"*")}},pausemedia:function(i){switch(i[0].nodeName){case"VIDEO":i[0].pause();break;case"IFRAME":i[0].contentWindow.postMessage('{
"event": "command", "func": "pauseVideo", "method":"pause"}',"*")}},mutemedia:function(i){switch(i[0].nodeName){case"VIDEO":i[0].muted=!0;break;case"IFRAME":i[0].contentWindow.postMessage('{
"event": "command", "func": "mute", "method":"setVolume", "value":0}',"*")}}}),t={none:function(){var
s=i.Deferred();return s.resolve(),s.promise()},scroll:
 function(t,e,n){var a=i.Deferred();return t.css("animation-duration",this.options.duration+"ms"),e.css("animation-duration",this.options.duration+"ms"),e.css("opacity",1).one(s.support.animation.end,function(){t.removeClass(1===n?"@-slideshow-scroll-backward-out":"@-slideshow-scroll-forward-out"),e.css("opacity","").removeClass(1===n?"@-slideshow-scroll-backward-in":"@-slideshow-scroll-forward-in"),a.resolve()}.bind(this)),t.addClass(1==n?"@-slideshow-scroll-backward-out":"@-slideshow-scroll-forward-out"),e.addClass(1==n?"@-slideshow-scroll-backward-in":"@-slideshow-scroll-forward-in"),e.width(),a.promise()},swipe:function(t,e,n){var
a=i.Deferred();return t.css("animation-duration",this.options.duration+"ms"),e.css("animation-duration",this.options.duration+"ms"),e.css("opacity",1).one(s.support.animation.end,function(){t.removeClass(1===n?"@-slideshow-swipe-backward-out":"@-slideshow-swipe-forward-out"),e.css("opacity","").removeClass(1===n?"@-slideshow-swipe-backward-in":"@-slides
 how-swipe-forward-in"),a.resolve()}.bind(this)),t.addClass(1==n?"@-slideshow-swipe-backward-out":"@-slideshow-swipe-forward-out"),e.addClass(1==n?"@-slideshow-swipe-backward-in":"@-slideshow-swipe-forward-in"),e.width(),a.promise()},scale:function(t,e){var
n=i.Deferred();return t.css("animation-duration",this.options.duration+"ms"),e.css("animation-duration",this.options.duration+"ms"),e.css("opacity",1),t.one(s.support.animation.end,function(){t.removeClass("@-slideshow-scale-out"),e.css("opacity",""),n.resolve()}.bind(this)),t.addClass("@-slideshow-scale-out"),t.width(),n.promise()},fade:function(t,e){var
n=i.Deferred();return t.css("animation-duration",this.options.duration+"ms"),e.css("animation-duration",this.options.duration+"ms"),e.css("opacity",1),t.one(s.support.animation.end,function(){t.removeClass("@-slideshow-fade-out"),e.css("opacity",""),n.resolve()}.bind(this)),t.addClass("@-slideshow-fade-out"),t.width(),n.promise()}},s.slideshow.animations=t});
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/helix/blob/8d552070/helix-ui/src/main/resources/assets/js/components/sortable.min.js
----------------------------------------------------------------------
diff --git a/helix-ui/src/main/resources/assets/js/components/sortable.min.js b/helix-ui/src/main/resources/assets/js/components/sortable.min.js
deleted file mode 100644
index 1433626..0000000
--- a/helix-ui/src/main/resources/assets/js/components/sortable.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! UIkit 2.16.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
-!function(e){var t;jQuery&&UIkit&&(t=e(jQuery,UIkit)),"function"==typeof
define&&define.amd&&define("uikit-sortable",["uikit"],function(){return t||e(jQuery,UIkit)})}(function(e,t){"use
strict";function n(e,t){var n=e.parentNode;if(t.parentNode!=n)return!1;for(var o=e.previousSibling;o&&9!==o.nodeType;){if(o===t)return!0;o=o.previousSibling}return!1}function
o(e,t){var n=t;if(n==e)return null;for(;n;){if(n.parentNode===e)return n;if(n=n.parentNode,!n||!n.ownerDocument||11===n.nodeType)break}return
null}function a(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),e.returnValue=!1}var
s,r,i,l,d,p="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,u=!p&&function(){var
e=document.createElement("div");return"draggable"in e||"ondragstart"in e&&"ondrop"in
e}();return u=!1,t.component("sortable",{defaults:{warp:!1,animation:150,threshold:10,childClass:"uk-sortable-item",placeholderClass:"uk-sortable-placeholder",overClass:"uk-sortab
 le-over",draggingClass:"uk-sortable-dragged",dragMovingClass:"uk-sortable-moving",dragCustomClass:"",handleClass:!1,stop:function(){},start:function(){},change:function(){}},boot:function(){t.ready(function(e){t.$("[data-uk-sortable]",e).each(function(){var
e=t.$(this);if(!e.data("sortable")){t.sortable(e,t.Utils.options(e.attr("data-@-sortable")))}})}),t.$html.on("mousemove
touchmove",function(e){if(d){var n=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0]:e;(Math.abs(n.pageX-d.pos.x)>d.threshold||Math.abs(n.pageY-d.pos.y)>d.threshold)&&d.apply()}if(s){r||(r=!0,s.show(),s.$current.addClass(s.$sortable.options.placeholderClass),s.$sortable.element.children().addClass(s.$sortable.options.childClass),t.$html.addClass(s.$sortable.options.dragMovingClass));var
o=s.data("mouse-offset"),a=parseInt(e.originalEvent.pageX,10)+o.left,i=parseInt(e.originalEvent.pageY,10)+o.top;s.css({left:a,top:i}),i<t.$win.scrollTop()?t.$win.scrollTop(t.$win.scrollTop()-Math.ceil(s.height()/2)):
 i+s.height()>window.innerHeight+t.$win.scrollTop()&&t.$win.scrollTop(t.$win.scrollTop()+Math.ceil(s.height()/2))}}),t.$html.on("mouseup
touchend",function(){!r&&l&&(location.href=l.attr("href")),d=l=!1})},init:function(){function
n(t){return function(n){var a=p&&n.touches&&n.touches[0]||{},s=a.target||n.target;if(p&&document.elementFromPoint&&(s=document.elementFromPoint(n.pageX-document.body.scrollLeft,n.pageY-document.body.scrollTop)),e(s).hasClass(f.options.childClass))t.apply(s,[n]);else
if(s!==v){var r=o(v,s);r&&t.apply(r,[n])}}}function h(){u||(p?v.addEventListener("touchmove",T,!1):(v.addEventListener("mouseover",w,!1),v.addEventListener("mouseout",y,!1)),v.addEventListener(p?"touchend":"mouseup",E,!1),document.addEventListener(p?"touchend":"mouseup",D,!1),document.addEventListener("selectstart",a,!1))}function
c(){u||(p?v.removeEventListener("touchmove",T,!1):(v.removeEventListener("mouseover",w,!1),v.removeEventListener("mouseout",y,!1)),v.removeEventListener(p?"touchend":"
 mouseup",E,!1),document.removeEventListener(p?"touchend":"mouseup",D,!1),document.removeEventListener("selectstart",a,!1))}var
f=this,v=this.element[0],m=null,g=null;Object.keys(this.options).forEach(function(e){-1!=String(f.options[e]).indexOf("Class")&&(f.options[e]=t.prefix(f.options[e]))}),u?this.element.children().attr("draggable","true"):this.element.on("mousedown
touchstart","a[href]",function(t){t.ctrlKey||t.metaKey||t.shiftKey||(l=e(this),t.preventDefault())}).on("click","a[href]",function(t){return
t.ctrlKey||t.metaKey||t.shiftKey?void 0:(l=e(this),t.stopImmediatePropagation(),!1)});var
C=n(function(t){r=!1,i=!1;{var n=e(t.target);f.element.children()}if(p||2!=t.button){if(f.options.handleClass){var
o=n.hasClass(f.options.handleClass)?n:n.closest("."+f.options.handleClass,v);if(!o.length)return}if(!n.is(":input")){t.dataTransfer&&(t.dataTransfer.effectAllowed="move",t.dataTransfer.dropEffect="move",t.dataTransfer.setData("Text","*")),m=this,s&&s.remove();var
a=e(m),l=a.off
 set();d={pos:{x:t.pageX,y:t.pageY},threshold:f.options.threshold,apply:function(){s=e('<div
class="'+[f.options.draggingClass,f.options.dragCustomClass].join(" ")+'"></div>').css({display:"none",top:l.top,left:l.left,width:a.width(),height:a.height(),padding:a.css("padding")}).data("mouse-offset",{left:l.left-parseInt(t.pageX,10),top:l.top-parseInt(t.pageY,10)}).append(a.html()).appendTo("body"),s.$current=a,s.$sortable=f,h(),f.options.start(this,m),f.trigger("start.uk.sortable",[f,m]),d=!1}},u||t.preventDefault()}}}),b=n(function(e){return
m?(e.preventDefault&&e.preventDefault(),!1):!0}),w=n(t.Utils.debounce(function(){if(!m||m===this)return!0;var
t=f.dragenterData(this);return f.dragenterData(this,t+1),0===t&&(e(this).addClass(f.options.overClass),f.options.warp||f.moveElementNextTo(m,this)),!1}),40),y=n(function(){var
t=f.dragenterData(this);f.dragenterData(this,t-1),f.dragenterData(this)||(e(this).removeClass(f.options.overClass),f.dragenterData(this,!1))}),E=n(function(e){if("d
 rop"===e.type&&(e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()),i||f.options.warp){if(f.options.warp){var
n=m.nextSibling;this.parentNode.insertBefore(m,this),this.parentNode.insertBefore(this,n),t.Utils.checkDisplay(f.element.parent())}f.options.change(this,m),f.trigger("change.uk.sortable",[f,m])}}),D=function(){m=null,g=null,f.element.children().each(function(){1===this.nodeType&&(e(this).removeClass(f.options.overClass).removeClass(f.options.placeholderClass).removeClass(f.options.childClass),f.dragenterData(this,!1))}),e("html").removeClass(f.options.dragMovingClass),c(),f.options.stop(this),f.trigger("stop.uk.sortable",[f]),s.remove(),s=null},T=n(function(t){return
m&&m!==this&&g!==this?(f.element.children().removeClass(f.options.overClass),g=this,f.options.warp?e(this).addClass(f.options.overClass):f.moveElementNextTo(m,this),a(t)):!0});u?(v.addEventListener("dragstart",C,!1),v.addEventListener("dragenter",w,!1),v.addEventListener("dragleave",y,!1
 ),v.addEventListener("drop",E,!1),v.addEventListener("dragover",b,!1),v.addEventListener("dragend",D,!1)):v.addEventListener(p?"touchstart":"mousedown",C,!1)},dragenterData:function(t,n){return
t=e(t),1==arguments.length?parseInt(t.attr("data-child-dragenter"),10)||0:(n?t.attr("data-child-dragenter",Math.max(0,n)):t.removeAttr("data-child-dragenter"),void
0)},moveElementNextTo:function(o,a){i=!0;var s=this,r=e(o).parent().css("min-height",""),l=n(o,a)?a:a.nextSibling,d=r.children(),p=d.length;return
s.options.warp||!s.options.animation?(a.parentNode.insertBefore(o,l),t.Utils.checkDisplay(s.element.parent()),void
0):(r.css("min-height",r.height()),d.stop().each(function(){var t=e(this),n=t.position();n.width=t.width(),t.data("offset-before",n)}),a.parentNode.insertBefore(o,l),t.Utils.checkDisplay(s.element.parent()),d=r.children().each(function(){var
t=e(this);t.data("offset-after",t.position())}).each(function(){var t=e(this),n=t.data("offset-before");t.css({position:"absolute",top:
 n.top,left:n.left,"min-width":n.width})}),d.each(function(){var n=e(this),o=(n.data("offset-before"),n.data("offset-after"));n.css("pointer-events","none").width(),setTimeout(function(){n.animate({top:o.top,left:o.left},s.options.animation,function(){n.css({position:"",top:"",left:"","min-width":"","pointer-events":""}).removeClass(s.options.overClass).attr("data-child-dragenter",""),p--,p||(r.css("min-height",""),t.Utils.checkDisplay(s.element.parent()))})},0)}),void
0)}}),t.sortable});
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/helix/blob/8d552070/helix-ui/src/main/resources/assets/js/components/sticky.min.js
----------------------------------------------------------------------
diff --git a/helix-ui/src/main/resources/assets/js/components/sticky.min.js b/helix-ui/src/main/resources/assets/js/components/sticky.min.js
deleted file mode 100644
index 355f66a..0000000
--- a/helix-ui/src/main/resources/assets/js/components/sticky.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! UIkit 2.16.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
-!function(t){var i;jQuery&&UIkit&&(i=t(jQuery,UIkit)),"function"==typeof
define&&define.amd&&define("uikit-sticky",["uikit"],function(){return i||t(jQuery,UIkit)})}(function(t,i){"use
strict";function e(){if(s.length){var i,e=n.scrollTop(),a=o.height(),r=a-n.height(),c=e>r?r-e:0;if(!(0>e))for(var
h=0;h<s.length;h++)if(s[h].element.is(":visible")&&!s[h].animate){var l=s[h];if(l.check()){if(l.options.top<0?i=0:(i=a-l.element.outerHeight()-l.options.top-l.options.bottom-e-c,i=0>i?i+l.options.top:l.options.top),l.currentTop!=i){if(l.element.css({position:"fixed",top:i,width:"undefined"!=typeof
l.getWidthFrom?t(l.getWidthFrom).width():l.element.width(),left:l.wrapper.offset().left}),!l.init&&(l.element.addClass(l.options.clsinit),location.hash&&e>0&&l.options.target)){var
p=t(location.hash);p.length&&setTimeout(function(t,i){return function(){i.element.width();var
n=t.offset(),o=n.top+t.outerHeight(),s=i.element.offset(),a=i.element.outerHeight(),r=s.top+a;s.top<o&&n.top<r&&(e=n.top-a-i.
 options.target,window.scrollTo(0,e))}}(p,l),0)}l.element.addClass(l.options.clsactive),l.element.css("margin",""),l.options.animation&&l.init&&l.element.addClass(l.options.animation),l.currentTop=i}}else
null!==l.currentTop&&l.reset();l.init=!0}}}var n=i.$win,o=i.$doc,s=[];return i.component("sticky",{defaults:{top:0,bottom:0,animation:"",clsinit:"@-sticky-init",clsactive:"@-active",getWidthFrom:"",media:!1,target:!1},boot:function(){i.$doc.on("scrolling.uk.document",e),i.$win.on("resize
orientationchange",i.Utils.debounce(function(){if(s.length){for(var t=0;t<s.length;t++)s[t].reset(!0);e()}},100)),i.ready(function(t){setTimeout(function(){i.$("[data-@-sticky]",t).each(function(){var
t=i.$(this);t.data("sticky")||i.sticky(t,i.Utils.options(t.attr("data-@-sticky")))}),e()},0)})},init:function(){var
t=i.$('<div class="@-sticky-placeholder"></div>').css({height:"absolute"!=this.element.css("position")?this.element.outerHeight():"","float":"none"!=this.element.css("float")?this.element
 .css("float"):"",margin:this.element.css("margin")});t=this.element.css("margin",0).wrap(t).parent(),this.sticky={options:this.options,element:this.element,currentTop:null,wrapper:t,init:!1,getWidthFrom:this.options.getWidthFrom||t,reset:function(t){var
e=function(){this.element.css({position:"",top:"",width:"",left:"",margin:"0"}),this.element.removeClass([this.options.animation,"@-animation-reverse",this.options.clsactive].join("
")),this.currentTop=null,this.animate=!1}.bind(this);!t&&this.options.animation&&i.support.animation?(this.animate=!0,this.element.removeClass(this.options.animation).one(i.support.animation.end,function(){e()}).width(),this.element.addClass(this.options.animation+"
@-animation-reverse")):e()},check:function(){if(this.options.media)switch(typeof this.options.media){case"number":if(window.innerWidth<this.options.media)return!1;break;case"string":if(window.matchMedia&&!window.matchMedia(this.options.media).matches)return!1}var
t=n.scrollTop(),i=o.height(),e
 =i-window.innerHeight,s=t>e?e-t:0,a=this.wrapper.offset().top,r=a-this.options.top-s;return
t>=r}},s.push(this.sticky)},update:function(){e()}}),i.sticky});
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/helix/blob/8d552070/helix-ui/src/main/resources/assets/js/components/timepicker.min.js
----------------------------------------------------------------------
diff --git a/helix-ui/src/main/resources/assets/js/components/timepicker.min.js b/helix-ui/src/main/resources/assets/js/components/timepicker.min.js
deleted file mode 100644
index 7f9be00..0000000
--- a/helix-ui/src/main/resources/assets/js/components/timepicker.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! UIkit 2.16.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
-!function(t){var e;jQuery&&UIkit&&(e=t(jQuery,UIkit)),"function"==typeof
define&&define.amd&&define("uikit-search",["uikit"],function(){return e||t(jQuery,UIkit)})}(function(t,e){"use
strict";for(var i={"12h":[],"24h":[]},o=0,a="";24>o;o++)a=""+o,10>o&&(a="0"+a),i["24h"].push({value:a+":00"}),i["24h"].push({value:a+":30"}),o>0&&13>o&&(i["12h"].push({value:a+":00
AM"}),i["12h"].push({value:a+":30 AM"})),o>12&&(a-=12,10>a&&(a="0"+String(a)),i["12h"].push({value:a+":00
PM"}),i["12h"].push({value:a+":30 PM"}));e.component("timepicker",{defaults:{format:"24h",delay:0},boot:function(){e.$html.on("focus.timepicker.uikit","[data-@-timepicker]",function(){var
t=e.$(this);if(!t.data("timepicker")){var i=e.timepicker(t,e.Utils.options(t.attr("data-@-timepicker")));setTimeout(function(){i.autocomplete.input.focus()},40)}})},init:function(){var
t=this;this.options.minLength=0,this.options.template=e.prefix('<ul class="@-nav @-nav-autocomplete
@-autocomplete-results">{{~items}}<li data-value="{{$
 item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>'),this.options.source=function(e){e(i[t.options.format]||i["12h"])},this.element.wrap(e.prefix('<div
class="@-autocomplete"></div>')),this.autocomplete=e.autocomplete(this.element.parent(),this.options),this.autocomplete.dropdown.addClass(e.prefix("@-dropdown-small
@-dropdown-scrollable")),this.autocomplete.on(e.prefix("show.uk.autocomplete"),function(){var
e=t.autocomplete.dropdown.find('[data-value="'+t.autocomplete.input.val()+'"]');setTimeout(function(){t.autocomplete.pick(e,!0)},10)}),this.autocomplete.input.on("focus",function(){t.autocomplete.value=Math.random(),t.autocomplete.triggercomplete()}).on("blur",function(){t.checkTime()}),this.element.data("timepicker",this)},checkTime:function(){var
t,e,i,o,a="AM",u=this.autocomplete.input.val();"12h"==this.options.format?(t=u.split(" "),e=t[0].split(":"),a=t[1]):e=u.split(":"),i=parseInt(e[0],10),o=parseInt(e[1],10),isNaN(i)&&(i=0),isNaN(o)&&(o=0),"12h"==this.options.format
 ?(i>12?i=12:0>i&&(i=12),"am"===a||"a"===a?a="AM":("pm"===a||"p"===a)&&(a="PM"),"AM"!==a&&"PM"!==a&&(a="AM")):i>=24?i=23:0>i&&(i=0),0>o?o=0:o>=60&&(o=0),this.autocomplete.input.val(this.formatTime(i,o,a)).trigger("change")},formatTime:function(t,e,i){return
t=10>t?"0"+t:t,e=10>e?"0"+e:e,t+":"+e+("12h"==this.options.format?" "+i:"")}})});
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/helix/blob/8d552070/helix-ui/src/main/resources/assets/js/components/upload.min.js
----------------------------------------------------------------------
diff --git a/helix-ui/src/main/resources/assets/js/components/upload.min.js b/helix-ui/src/main/resources/assets/js/components/upload.min.js
deleted file mode 100644
index ad90bd7..0000000
--- a/helix-ui/src/main/resources/assets/js/components/upload.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! UIkit 2.16.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
-!function(e){var t;jQuery&&UIkit&&(t=e(jQuery,UIkit)),"function"==typeof
define&&define.amd&&define("uikit-upload",["uikit"],function(){return t||e(jQuery,UIkit)})}(function(e,t){"use
strict";function n(a,r){function l(t,n){var o=new FormData,a=new XMLHttpRequest;if(n.before(n,t)!==!1){for(var
r,l=0;r=t[l];l++)o.append(n.param,r);for(var i in n.params)o.append(i,n.params[i]);a.upload.addEventListener("progress",function(e){var
t=e.loaded/e.total*100;n.progress(t,e)},!1),a.addEventListener("loadstart",function(e){n.loadstart(e)},!1),a.addEventListener("load",function(e){n.load(e)},!1),a.addEventListener("loadend",function(e){n.loadend(e)},!1),a.addEventListener("error",function(e){n.error(e)},!1),a.addEventListener("abort",function(e){n.abort(e)},!1),a.open(n.method,n.action,!0),a.onreadystatechange=function(){if(n.readystatechange(a),4==a.readyState){var
t=a.responseText;if("json"==n.type)try{t=e.parseJSON(t)}catch(o){t=!1}n.complete(t,a)}},n.beforeSend(a),a.send(o)}}if(!t.support.a
 jaxupload)return this;if(r=e.extend({},n.defaults,r),a.length){if("*.*"!==r.allow)for(var
i,f=0;i=a[f];f++)if(!o(r.allow,i.name))return"string"==typeof r.notallowed?alert(r.notallowed):r.notallowed(i,r),void
0;var s=r.complete;if(r.single){var d=a.length,u=0,p=!0;r.beforeAll(a),r.complete=function(e,t){u+=1,s(e,t),r.filelimit&&u>=r.filelimit&&(p=!1),p&&d>u?l([a[u]],r):r.allcomplete(e,t)},l([a[0]],r)}else
r.complete=function(e,t){s(e,t),r.allcomplete(e,t)},l(a,r)}}function o(e,t){var n="^"+e.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")+"$";return
n="^"+n+"$",null!==t.match(new RegExp(n,"i"))}return t.component("uploadSelect",{init:function(){var
e=this;this.on("change",function(){n(e.element[0].files,e.options);var t=e.element.clone(!0).data("uploadSelect",e);e.element.replaceWith(t),e.element=t})}}),t.component("uploadDrop",{defaults:{dragoverClass:"@-dragover"},init:function(){var
e=this,t=!1;this.on("drop",function(t){
 t.dataTransfer&&t.dataTransfer.files&&(t.stopPropagation(),t.preventDefault(),e.element.removeClass(e.options.dragoverClass),e.element.trigger("dropped.uk.upload",[t.dataTransfer.files]),n(t.dataTransfer.files,e.options))}).on("dragenter",function(e){e.stopPropagation(),e.preventDefault()}).on("dragover",function(n){n.stopPropagation(),n.preventDefault(),t||(e.element.addClass(e.options.dragoverClass),t=!0)}).on("dragleave",function(n){n.stopPropagation(),n.preventDefault(),e.element.removeClass(e.options.dragoverClass),t=!1})}}),t.support.ajaxupload=function(){function
e(){var e=document.createElement("INPUT");return e.type="file","files"in e}function t(){var
e=new XMLHttpRequest;return!!(e&&"upload"in e&&"onprogress"in e.upload)}function
n(){return!!window.FormData}return e()&&t()&&n()}(),t.support.ajaxupload&&e.event.props.push("dataTransfer"),n.defaults={action:"",single:!0,method:"POST",param:"files[]",params:{},allow:"*.*",type:"text",filelimit:!1,before:function(){},beforeSen
 d:function(){},beforeAll:function(){},loadstart:function(){},load:function(){},loadend:function(){},error:function(){},abort:function(){},progress:function(){},complete:function(){},allcomplete:function(){},readystatechange:function(){},notallowed:function(e,t){alert("Only
the following file types are allowed: "+t.allow)}},t.Utils.xhrupload=n,n});
\ No newline at end of file


Mime
View raw message