From 123adfe5dae5a647dabf7ac815395b3f4862901e Mon Sep 17 00:00:00 2001 From: Marcos Moura Date: Mon, 14 Nov 2016 19:47:11 -0200 Subject: [PATCH 1/2] Rename vendor.c9202232.js to external.c9202232.js --- dist/docs/{vendor.c9202232.js => external.c9202232.js} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename dist/docs/{vendor.c9202232.js => external.c9202232.js} (99%) diff --git a/dist/docs/vendor.c9202232.js b/dist/docs/external.c9202232.js similarity index 99% rename from dist/docs/vendor.c9202232.js rename to dist/docs/external.c9202232.js index b5d20b7..2aaf546 100644 --- a/dist/docs/vendor.c9202232.js +++ b/dist/docs/external.c9202232.js @@ -14,4 +14,4 @@ var n,r,o=t.elm,i=e.data.style||{},a=t.data.style||{};if("string"==typeof a)retu * (c) 2016 Evan You * @license MIT */ -!function(t,n){e.exports=n()}(this,function(){"use strict";function e(e,t,n){if("/"===e.charAt(0))return e;if("?"===e.charAt(0)||"#"===e.charAt(0))return t+e;var r=t.split("/");n&&r[r.length-1]||r.pop();for(var o=e.replace(/^\//,"").split("/"),i=0;i=0&&(t=e.slice(r),e=e.slice(0,r));var o=e.indexOf("?");return o>=0&&(n=e.slice(o+1),e=e.slice(0,o)),{path:e,query:n,hash:t}}function n(e){return e.replace(/\/\//g,"/")}function r(e,t){if(!e)throw new Error("[vue-router] "+t)}function o(e,t){e||"undefined"!=typeof console&&console.warn("[vue-router] "+t)}function i(e,t){if(void 0===t&&(t={}),e){var n;try{n=a(e)}catch(e){o(!1,e.message),n={}}for(var r in t)n[r]=t[r];return n}return t}function a(e){var t=Object.create(null);return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var n=e.replace(/\+/g," ").split("="),r=ce(n.shift()),o=n.length>0?ce(n.join("=")):null;void 0===t[r]?t[r]=o:Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]}),t):t}function s(e){var t=e?Object.keys(e).sort().map(function(t){var n=e[t];if(void 0===n)return"";if(null===n)return se(t);if(Array.isArray(n)){var r=[];return n.slice().forEach(function(e){void 0!==e&&(null===e?r.push(se(t)):r.push(se(t)+"="+se(e)))}),r.join("&")}return se(t)+"="+se(n)}).filter(function(e){return e.length>0}).join("&"):null;return t?"?"+t:""}function c(e,t,n){var r={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:t.query||{},params:t.params||{},fullPath:u(t),matched:e?l(e):[]};return n&&(r.redirectedFrom=u(n)),Object.freeze(r)}function l(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function u(e){var t=e.path,n=e.query;void 0===n&&(n={});var r=e.hash;return void 0===r&&(r=""),(t||"/")+s(n)+r}function d(e,t){return t===le?e===t:!!t&&(e.path&&t.path?e.path.replace(ue,"")===t.path.replace(ue,"")&&e.hash===t.hash&&f(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&f(e.query,t.query)&&f(e.params,t.params)))}function f(e,t){void 0===e&&(e={}),void 0===t&&(t={});var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(function(n){return String(e[n])===String(t[n])})}function p(e,t){return 0===e.path.indexOf(t.path)&&(!t.hash||e.hash===t.hash)&&h(e.query,t.query)}function h(e,t){for(var n in t)if(!(n in e))return!1;return!0}function v(n,r,o){var a="string"==typeof n?{path:n}:n;if(a.name||a._normalized)return a;var s=t(a.path||""),c=r&&r.path||"/",l=s.path?e(s.path,c,o):r&&r.path||"/",u=i(s.query,a.query),d=a.hash||s.hash;return d&&"#"!==d.charAt(0)&&(d="#"+d),{_normalized:!0,path:l,query:u,hash:d}}function m(e){if(e)for(var t,n=0;n=e.length?n():e[o]?t(e[o],function(){r(o+1)}):r(o+1)};r(0)}function U(e){if(!e)if(xe){var t=document.querySelector("base");e=t?t.getAttribute("href"):"/"}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function z(e,t){var n,r=Math.max(e.length,t.length);for(n=0;n=0?t:0)+"#"+e)}var ae={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,r=t.children,o=t.parent,i=t.data;i.routerView=!0;for(var a=o.$route,s=o._routerViewCache||(o._routerViewCache={}),c=0,l=!1;o;)o.$vnode&&o.$vnode.data.routerView&&c++,o._inactive&&(l=!0),o=o.$parent;i.routerViewDepth=c;var u=a.matched[c];if(!u)return e();var d=n.name,f=l?s[d]:s[d]=u.components[d];if(!l){var p=i.hook||(i.hook={});p.init=function(e){u.instances[d]=e.child},p.destroy=function(e){u.instances[d]===e.child&&(u.instances[d]=void 0)}}return e(f,i,r)}},se=encodeURIComponent,ce=decodeURIComponent,le=c(null,{path:"/"}),ue=/\/$/,de=[String,Object],fe={name:"router-link",props:{to:{type:de,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String},render:function(e){var t=this,r=this.$router,o=this.$route,i=v(this.to,o,this.append),a=r.match(i),s=a.redirectedFrom||a.fullPath,l=r.history.base,u=l?n(l+s):s,f={},h=this.activeClass||r.options.linkActiveClass||"router-link-active",g=i.path?c(null,i):a;f[h]=this.exact?d(o,g):p(o,g);var y={click:function(e){e.metaKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||0===e.button&&(e.preventDefault(),t.replace?r.replace(i):r.push(i))}},b={class:f};if("a"===this.tag)b.on=y,b.attrs={href:u};else{var _=m(this.$slots.default);if(_){var w=_.data||(_.data={});w.on=y;var E=w.attrs||(w.attrs={});E.href=u}else b.on=y}return e(this.tag,b,this.$slots.default)}},pe=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},he=pe,ve=$,me=y,ge=b,ye=E,be=T,_e=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");ve.parse=me,ve.compile=ge,ve.tokensToFunction=ye,ve.tokensToRegExp=be;var we=Object.create(null),Ee=Object.create(null),xe="undefined"!=typeof window,ke=xe&&function(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")===-1&&e.indexOf("Android 4.0")===-1||e.indexOf("Mobile Safari")===-1||e.indexOf("Chrome")!==-1||e.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)}(),Oe=function(e,t){this.router=e,this.base=U(t),this.current=le,this.pending=null};Oe.prototype.listen=function(e){this.cb=e},Oe.prototype.transitionTo=function(e,t){var n=this,r=this.router.match(e,this.current);this.confirmTransition(r,function(){n.updateRoute(r),t&&t(r),n.ensureURL()})},Oe.prototype.confirmTransition=function(e,t){var n=this,r=this.current;if(d(e,r))return void this.ensureURL();var o=z(this.current.matched,e.matched),i=o.deactivated,a=o.activated,s=[].concat(H(i),this.router.beforeHooks,a.map(function(e){return e.beforeEnter}),F(a));this.pending=e;var c=function(t,o){n.pending===e&&t(e,r,function(e){e===!1?n.ensureURL():"string"==typeof e||"object"==typeof e?n.push(e):o(e)})};B(s,c,function(){var r=[],o=q(a,r,function(){return n.current===e});B(o,c,function(){n.pending===e&&(n.pending=null,t(e),n.router.app.$nextTick(function(){r.forEach(function(e){return e()})}))})})},Oe.prototype.updateRoute=function(e){var t=this.current;this.current=e,this.cb&&this.cb(e),this.router.afterHooks.forEach(function(n){n&&n(e,t)})};var Ce=function(){return String(Date.now())},Ae=Ce(),Ne=function(e){function t(t,n){var r=this;e.call(this,t,n),this.transitionTo(Q(this.base));var o=t.options.scrollBehavior;window.addEventListener("popstate",function(e){Ae=e.state&&e.state.key;var t=r.current;r.transitionTo(Q(r.base),function(e){o&&r.handleScroll(e,t,!0)})}),o&&window.addEventListener("scroll",function(){W(Ae)})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e){var t=this,r=this.current;this.transitionTo(e,function(e){ee(n(t.base+e.fullPath)),t.handleScroll(e,r,!1)})},t.prototype.replace=function(e){var t=this,r=this.current;this.transitionTo(e,function(e){te(n(t.base+e.fullPath)),t.handleScroll(e,r,!1)})},t.prototype.ensureURL=function(){Q(this.base)!==this.current.fullPath&&te(n(this.base+this.current.fullPath))},t.prototype.handleScroll=function(e,t,n){var o=this.router;if(o.app){var i=o.options.scrollBehavior;i&&(r("function"==typeof i,"scrollBehavior must be a function"),o.app.$nextTick(function(){var r=G(Ae),o=i(e,t,n?r:null);if(o){var a="object"==typeof o;if(a&&"string"==typeof o.selector){var s=document.querySelector(o.selector);s?r=J(s):X(o)&&(r=Z(o))}else a&&X(o)&&(r=Z(o));r&&window.scrollTo(r.x,r.y)}}))}},t}(Oe),Se=function(e){function t(t,n,r){var o=this;e.call(this,t,n),r&&this.checkFallback()||(ne(),this.transitionTo(re(),function(){window.addEventListener("hashchange",function(){o.onHashChange()})}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.checkFallback=function(){var e=Q(this.base);if(!/^\/#/.test(e))return window.location.replace(n(this.base+"/#"+e)),!0},t.prototype.onHashChange=function(){ne()&&this.transitionTo(re(),function(e){ie(e.fullPath)})},t.prototype.push=function(e){this.transitionTo(e,function(e){oe(e.fullPath)})},t.prototype.replace=function(e){this.transitionTo(e,function(e){ie(e.fullPath)})},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(){re()!==this.current.fullPath&&ie(this.current.fullPath)},t}(Oe),Te=function(e){function t(t){e.call(this,t),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e){var t=this;this.transitionTo(e,function(e){t.stack=t.stack.slice(0,t.index+1).concat(e),t.index++})},t.prototype.replace=function(e){var t=this;this.transitionTo(e,function(e){t.stack=t.stack.slice(0,t.index).concat(e)})},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){t.index=n,t.updateRoute(r)})}},t.prototype.ensureURL=function(){},t}(Oe),$e=function(e){void 0===e&&(e={}),this.app=null,this.options=e,this.beforeHooks=[],this.afterHooks=[],this.match=L(e.routes||[]);var t=e.mode||"hash";this.fallback="history"===t&&!ke,this.fallback&&(t="hash"),xe||(t="abstract"),this.mode=t},Me={currentRoute:{}};return Me.currentRoute.get=function(){return this.history&&this.history.current},$e.prototype.init=function(e){var t=this;r(g.installed,"not installed. Make sure to call `Vue.use(VueRouter)` before creating root instance."),this.app=e;var n=this,o=n.mode,i=n.options,a=n.fallback;switch(o){case"history":this.history=new Ne(this,i.base);break;case"hash":this.history=new Se(this,i.base,a);break;case"abstract":this.history=new Te(this);break;default:r(!1,"invalid mode: "+o)}this.history.listen(function(e){t.app._route=e})},$e.prototype.beforeEach=function(e){this.beforeHooks.push(e)},$e.prototype.afterEach=function(e){this.afterHooks.push(e)},$e.prototype.push=function(e){this.history.push(e)},$e.prototype.replace=function(e){this.history.replace(e)},$e.prototype.go=function(e){this.history.go(e)},$e.prototype.back=function(){this.go(-1)},$e.prototype.forward=function(){this.go(1)},$e.prototype.getMatchedComponents=function(){return this.currentRoute?[].concat.apply([],this.currentRoute.matched.map(function(e){return Object.keys(e.components).map(function(t){return e.components[t]})})):[]},Object.defineProperties($e.prototype,Me),$e.install=g,xe&&window.Vue&&window.Vue.use($e),$e})},330:function(e,t,n){function r(e,t){for(var n=0;n=0&&g.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function c(e,t){var n,r,o;if(t.singleton){var i=m++;n=v||(v=s(t)),r=l.bind(null,n,i,!1),o=l.bind(null,n,i,!0)}else n=s(t),r=u.bind(null,n),o=function(){a(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function l(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function u(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var d={},f=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},p=f(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),h=f(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,m=0,g=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=p()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a=0&&(t=e.slice(r),e=e.slice(0,r));var o=e.indexOf("?");return o>=0&&(n=e.slice(o+1),e=e.slice(0,o)),{path:e,query:n,hash:t}}function n(e){return e.replace(/\/\//g,"/")}function r(e,t){if(!e)throw new Error("[vue-router] "+t)}function o(e,t){e||"undefined"!=typeof console&&console.warn("[vue-router] "+t)}function i(e,t){if(void 0===t&&(t={}),e){var n;try{n=a(e)}catch(e){o(!1,e.message),n={}}for(var r in t)n[r]=t[r];return n}return t}function a(e){var t=Object.create(null);return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var n=e.replace(/\+/g," ").split("="),r=ce(n.shift()),o=n.length>0?ce(n.join("=")):null;void 0===t[r]?t[r]=o:Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]}),t):t}function s(e){var t=e?Object.keys(e).sort().map(function(t){var n=e[t];if(void 0===n)return"";if(null===n)return se(t);if(Array.isArray(n)){var r=[];return n.slice().forEach(function(e){void 0!==e&&(null===e?r.push(se(t)):r.push(se(t)+"="+se(e)))}),r.join("&")}return se(t)+"="+se(n)}).filter(function(e){return e.length>0}).join("&"):null;return t?"?"+t:""}function c(e,t,n){var r={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:t.query||{},params:t.params||{},fullPath:u(t),matched:e?l(e):[]};return n&&(r.redirectedFrom=u(n)),Object.freeze(r)}function l(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function u(e){var t=e.path,n=e.query;void 0===n&&(n={});var r=e.hash;return void 0===r&&(r=""),(t||"/")+s(n)+r}function d(e,t){return t===le?e===t:!!t&&(e.path&&t.path?e.path.replace(ue,"")===t.path.replace(ue,"")&&e.hash===t.hash&&f(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&f(e.query,t.query)&&f(e.params,t.params)))}function f(e,t){void 0===e&&(e={}),void 0===t&&(t={});var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(function(n){return String(e[n])===String(t[n])})}function p(e,t){return 0===e.path.indexOf(t.path)&&(!t.hash||e.hash===t.hash)&&h(e.query,t.query)}function h(e,t){for(var n in t)if(!(n in e))return!1;return!0}function v(n,r,o){var a="string"==typeof n?{path:n}:n;if(a.name||a._normalized)return a;var s=t(a.path||""),c=r&&r.path||"/",l=s.path?e(s.path,c,o):r&&r.path||"/",u=i(s.query,a.query),d=a.hash||s.hash;return d&&"#"!==d.charAt(0)&&(d="#"+d),{_normalized:!0,path:l,query:u,hash:d}}function m(e){if(e)for(var t,n=0;n=e.length?n():e[o]?t(e[o],function(){r(o+1)}):r(o+1)};r(0)}function U(e){if(!e)if(xe){var t=document.querySelector("base");e=t?t.getAttribute("href"):"/"}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function z(e,t){var n,r=Math.max(e.length,t.length);for(n=0;n=0?t:0)+"#"+e)}var ae={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,r=t.children,o=t.parent,i=t.data;i.routerView=!0;for(var a=o.$route,s=o._routerViewCache||(o._routerViewCache={}),c=0,l=!1;o;)o.$vnode&&o.$vnode.data.routerView&&c++,o._inactive&&(l=!0),o=o.$parent;i.routerViewDepth=c;var u=a.matched[c];if(!u)return e();var d=n.name,f=l?s[d]:s[d]=u.components[d];if(!l){var p=i.hook||(i.hook={});p.init=function(e){u.instances[d]=e.child},p.destroy=function(e){u.instances[d]===e.child&&(u.instances[d]=void 0)}}return e(f,i,r)}},se=encodeURIComponent,ce=decodeURIComponent,le=c(null,{path:"/"}),ue=/\/$/,de=[String,Object],fe={name:"router-link",props:{to:{type:de,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String},render:function(e){var t=this,r=this.$router,o=this.$route,i=v(this.to,o,this.append),a=r.match(i),s=a.redirectedFrom||a.fullPath,l=r.history.base,u=l?n(l+s):s,f={},h=this.activeClass||r.options.linkActiveClass||"router-link-active",g=i.path?c(null,i):a;f[h]=this.exact?d(o,g):p(o,g);var y={click:function(e){e.metaKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||0===e.button&&(e.preventDefault(),t.replace?r.replace(i):r.push(i))}},b={class:f};if("a"===this.tag)b.on=y,b.attrs={href:u};else{var _=m(this.$slots.default);if(_){var w=_.data||(_.data={});w.on=y;var E=w.attrs||(w.attrs={});E.href=u}else b.on=y}return e(this.tag,b,this.$slots.default)}},pe=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},he=pe,ve=$,me=y,ge=b,ye=E,be=T,_e=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");ve.parse=me,ve.compile=ge,ve.tokensToFunction=ye,ve.tokensToRegExp=be;var we=Object.create(null),Ee=Object.create(null),xe="undefined"!=typeof window,ke=xe&&function(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")===-1&&e.indexOf("Android 4.0")===-1||e.indexOf("Mobile Safari")===-1||e.indexOf("Chrome")!==-1||e.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)}(),Oe=function(e,t){this.router=e,this.base=U(t),this.current=le,this.pending=null};Oe.prototype.listen=function(e){this.cb=e},Oe.prototype.transitionTo=function(e,t){var n=this,r=this.router.match(e,this.current);this.confirmTransition(r,function(){n.updateRoute(r),t&&t(r),n.ensureURL()})},Oe.prototype.confirmTransition=function(e,t){var n=this,r=this.current;if(d(e,r))return void this.ensureURL();var o=z(this.current.matched,e.matched),i=o.deactivated,a=o.activated,s=[].concat(H(i),this.router.beforeHooks,a.map(function(e){return e.beforeEnter}),F(a));this.pending=e;var c=function(t,o){n.pending===e&&t(e,r,function(e){e===!1?n.ensureURL():"string"==typeof e||"object"==typeof e?n.push(e):o(e)})};B(s,c,function(){var r=[],o=q(a,r,function(){return n.current===e});B(o,c,function(){n.pending===e&&(n.pending=null,t(e),n.router.app.$nextTick(function(){r.forEach(function(e){return e()})}))})})},Oe.prototype.updateRoute=function(e){var t=this.current;this.current=e,this.cb&&this.cb(e),this.router.afterHooks.forEach(function(n){n&&n(e,t)})};var Ce=function(){return String(Date.now())},Ae=Ce(),Ne=function(e){function t(t,n){var r=this;e.call(this,t,n),this.transitionTo(Q(this.base));var o=t.options.scrollBehavior;window.addEventListener("popstate",function(e){Ae=e.state&&e.state.key;var t=r.current;r.transitionTo(Q(r.base),function(e){o&&r.handleScroll(e,t,!0)})}),o&&window.addEventListener("scroll",function(){W(Ae)})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e){var t=this,r=this.current;this.transitionTo(e,function(e){ee(n(t.base+e.fullPath)),t.handleScroll(e,r,!1)})},t.prototype.replace=function(e){var t=this,r=this.current;this.transitionTo(e,function(e){te(n(t.base+e.fullPath)),t.handleScroll(e,r,!1)})},t.prototype.ensureURL=function(){Q(this.base)!==this.current.fullPath&&te(n(this.base+this.current.fullPath))},t.prototype.handleScroll=function(e,t,n){var o=this.router;if(o.app){var i=o.options.scrollBehavior;i&&(r("function"==typeof i,"scrollBehavior must be a function"),o.app.$nextTick(function(){var r=G(Ae),o=i(e,t,n?r:null);if(o){var a="object"==typeof o;if(a&&"string"==typeof o.selector){var s=document.querySelector(o.selector);s?r=J(s):X(o)&&(r=Z(o))}else a&&X(o)&&(r=Z(o));r&&window.scrollTo(r.x,r.y)}}))}},t}(Oe),Se=function(e){function t(t,n,r){var o=this;e.call(this,t,n),r&&this.checkFallback()||(ne(),this.transitionTo(re(),function(){window.addEventListener("hashchange",function(){o.onHashChange()})}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.checkFallback=function(){var e=Q(this.base);if(!/^\/#/.test(e))return window.location.replace(n(this.base+"/#"+e)),!0},t.prototype.onHashChange=function(){ne()&&this.transitionTo(re(),function(e){ie(e.fullPath)})},t.prototype.push=function(e){this.transitionTo(e,function(e){oe(e.fullPath)})},t.prototype.replace=function(e){this.transitionTo(e,function(e){ie(e.fullPath)})},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(){re()!==this.current.fullPath&&ie(this.current.fullPath)},t}(Oe),Te=function(e){function t(t){e.call(this,t),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e){var t=this;this.transitionTo(e,function(e){t.stack=t.stack.slice(0,t.index+1).concat(e),t.index++})},t.prototype.replace=function(e){var t=this;this.transitionTo(e,function(e){t.stack=t.stack.slice(0,t.index).concat(e)})},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){t.index=n,t.updateRoute(r)})}},t.prototype.ensureURL=function(){},t}(Oe),$e=function(e){void 0===e&&(e={}),this.app=null,this.options=e,this.beforeHooks=[],this.afterHooks=[],this.match=L(e.routes||[]);var t=e.mode||"hash";this.fallback="history"===t&&!ke,this.fallback&&(t="hash"),xe||(t="abstract"),this.mode=t},Me={currentRoute:{}};return Me.currentRoute.get=function(){return this.history&&this.history.current},$e.prototype.init=function(e){var t=this;r(g.installed,"not installed. Make sure to call `Vue.use(VueRouter)` before creating root instance."),this.app=e;var n=this,o=n.mode,i=n.options,a=n.fallback;switch(o){case"history":this.history=new Ne(this,i.base);break;case"hash":this.history=new Se(this,i.base,a);break;case"abstract":this.history=new Te(this);break;default:r(!1,"invalid mode: "+o)}this.history.listen(function(e){t.app._route=e})},$e.prototype.beforeEach=function(e){this.beforeHooks.push(e)},$e.prototype.afterEach=function(e){this.afterHooks.push(e)},$e.prototype.push=function(e){this.history.push(e)},$e.prototype.replace=function(e){this.history.replace(e)},$e.prototype.go=function(e){this.history.go(e)},$e.prototype.back=function(){this.go(-1)},$e.prototype.forward=function(){this.go(1)},$e.prototype.getMatchedComponents=function(){return this.currentRoute?[].concat.apply([],this.currentRoute.matched.map(function(e){return Object.keys(e.components).map(function(t){return e.components[t]})})):[]},Object.defineProperties($e.prototype,Me),$e.install=g,xe&&window.Vue&&window.Vue.use($e),$e})},330:function(e,t,n){function r(e,t){for(var n=0;n=0&&g.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function c(e,t){var n,r,o;if(t.singleton){var i=m++;n=v||(v=s(t)),r=l.bind(null,n,i,!1),o=l.bind(null,n,i,!0)}else n=s(t),r=u.bind(null,n),o=function(){a(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function l(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function u(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var d={},f=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},p=f(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),h=f(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,m=0,g=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=p()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a Date: Mon, 14 Nov 2016 19:48:07 -0200 Subject: [PATCH 2/2] Update index.html --- dist/docs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/docs/index.html b/dist/docs/index.html index 9376f0e..8d97abb 100644 --- a/dist/docs/index.html +++ b/dist/docs/index.html @@ -1 +1 @@ -Vue Material
+Vue Material