diff --git a/dist/lesspass.js b/dist/lesspass.js index cd10537..10f40dc 100644 --- a/dist/lesspass.js +++ b/dist/lesspass.js @@ -61,7 +61,7 @@ /******/ __webpack_require__.p = "/dist/"; /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 225); +/******/ return __webpack_require__(__webpack_require__.s = 223); /******/ }) /************************************************************************/ /******/ ((function(modules) { @@ -103,7 +103,7 @@ 'use strict' var base64 = __webpack_require__(117) -var ieee754 = __webpack_require__(172) +var ieee754 = __webpack_require__(171) var isArray = __webpack_require__(73) exports.Buffer = Buffer @@ -1882,7 +1882,7 @@ function isnan (val) { return val !== val // eslint-disable-line no-self-compare } -/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0).Buffer, __webpack_require__(22))) +/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0).Buffer, __webpack_require__(21))) /***/ }, /* 1 */ @@ -2441,87 +2441,6 @@ if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef /* 7 */ /***/ function(module, exports, __webpack_require__) { -"use strict"; -// a duplex stream is just a stream that is both readable and writable. -// Since JS doesn't have multiple prototypal inheritance, this class -// prototypally inherits from Readable, and then parasitically from -// Writable. - -'use strict'; - -/**/ - -var objectKeys = Object.keys || function (obj) { - var keys = []; - for (var key in obj) { - keys.push(key); - }return keys; -}; -/**/ - -module.exports = Duplex; - -/**/ -var processNextTick = __webpack_require__(45); -/**/ - -/**/ -var util = __webpack_require__(18); -util.inherits = __webpack_require__(1); -/**/ - -var Readable = __webpack_require__(76); -var Writable = __webpack_require__(47); - -util.inherits(Duplex, Readable); - -var keys = objectKeys(Writable.prototype); -for (var v = 0; v < keys.length; v++) { - var method = keys[v]; - if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method]; -} - -function Duplex(options) { - if (!(this instanceof Duplex)) return new Duplex(options); - - Readable.call(this, options); - Writable.call(this, options); - - if (options && options.readable === false) this.readable = false; - - if (options && options.writable === false) this.writable = false; - - this.allowHalfOpen = true; - if (options && options.allowHalfOpen === false) this.allowHalfOpen = false; - - this.once('end', onend); -} - -// the no-half-open enforcer -function onend() { - // if we allow half-open state, or if the writable side ended, - // then we're ok. - if (this.allowHalfOpen || this._writableState.ended) return; - - // no more data can be written. - // But allow more writes to happen in this tick. - processNextTick(onEndNT, this); -} - -function onEndNT(self) { - self.end(); -} - -function forEach(xs, f) { - for (var i = 0, l = xs.length; i < l; i++) { - f(xs[i], i); - } -} - -/***/ }, -/* 8 */ -/***/ function(module, exports, __webpack_require__) { - /** * vuex v2.0.0 * (c) 2016 Evan You @@ -3052,17 +2971,127 @@ return index; }))); /***/ }, +/* 8 */ +/***/ function(module, exports, __webpack_require__) { + +"use strict"; +// a duplex stream is just a stream that is both readable and writable. +// Since JS doesn't have multiple prototypal inheritance, this class +// prototypally inherits from Readable, and then parasitically from +// Writable. + +'use strict'; + +/**/ + +var objectKeys = Object.keys || function (obj) { + var keys = []; + for (var key in obj) { + keys.push(key); + }return keys; +}; +/**/ + +module.exports = Duplex; + +/**/ +var processNextTick = __webpack_require__(45); +/**/ + +/**/ +var util = __webpack_require__(19); +util.inherits = __webpack_require__(1); +/**/ + +var Readable = __webpack_require__(76); +var Writable = __webpack_require__(47); + +util.inherits(Duplex, Readable); + +var keys = objectKeys(Writable.prototype); +for (var v = 0; v < keys.length; v++) { + var method = keys[v]; + if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method]; +} + +function Duplex(options) { + if (!(this instanceof Duplex)) return new Duplex(options); + + Readable.call(this, options); + Writable.call(this, options); + + if (options && options.readable === false) this.readable = false; + + if (options && options.writable === false) this.writable = false; + + this.allowHalfOpen = true; + if (options && options.allowHalfOpen === false) this.allowHalfOpen = false; + + this.once('end', onend); +} + +// the no-half-open enforcer +function onend() { + // if we allow half-open state, or if the writable side ended, + // then we're ok. + if (this.allowHalfOpen || this._writableState.ended) return; + + // no more data can be written. + // But allow more writes to happen in this tick. + processNextTick(onEndNT, this); +} + +function onEndNT(self) { + self.end(); +} + +function forEach(xs, f) { + for (var i = 0, l = xs.length; i < l; i++) { + f(xs[i], i); + } +} + +/***/ }, /* 9 */ /***/ function(module, exports, __webpack_require__) { -var isObject = __webpack_require__(29); +"use strict"; +"use strict"; + +exports.__esModule = true; + +var _assign = __webpack_require__(33); + +var _assign2 = _interopRequireDefault(_assign); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +exports.default = _assign2.default || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; +}; + +/***/ }, +/* 10 */ +/***/ function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__(27); module.exports = function(it){ if(!isObject(it))throw TypeError(it + ' is not an object!'); return it; }; /***/ }, -/* 10 */ +/* 11 */ /***/ function(module, exports, __webpack_require__) { // Thank's IE8 for his funny defineProperty @@ -3071,12 +3100,12 @@ module.exports = !__webpack_require__(38)(function(){ }); /***/ }, -/* 11 */ +/* 12 */ /***/ function(module, exports, __webpack_require__) { -var dP = __webpack_require__(17) +var dP = __webpack_require__(18) , createDesc = __webpack_require__(66); -module.exports = __webpack_require__(10) ? function(object, key, value){ +module.exports = __webpack_require__(11) ? function(object, key, value){ return dP.f(object, key, createDesc(1, value)); } : function(object, key, value){ object[key] = value; @@ -3084,7 +3113,7 @@ module.exports = __webpack_require__(10) ? function(object, key, value){ }; /***/ }, -/* 12 */ +/* 13 */ /***/ function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(Buffer) {// prototype class for hash functions @@ -3160,7 +3189,7 @@ module.exports = Hash /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0).Buffer)) /***/ }, -/* 13 */ +/* 14 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -3183,11 +3212,11 @@ var _assign = __webpack_require__(33); var _assign2 = _interopRequireDefault(_assign); -var _classCallCheck2 = __webpack_require__(14); +var _classCallCheck2 = __webpack_require__(15); var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); -var _createClass2 = __webpack_require__(15); +var _createClass2 = __webpack_require__(16); var _createClass3 = _interopRequireDefault(_createClass2); @@ -3255,7 +3284,7 @@ var Storage = function () { exports.default = Storage; /***/ }, -/* 14 */ +/* 15 */ /***/ function(module, exports) { "use strict"; @@ -3270,7 +3299,7 @@ exports.default = function (instance, Constructor) { }; /***/ }, -/* 15 */ +/* 16 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -3303,21 +3332,21 @@ exports.default = function () { }(); /***/ }, -/* 16 */ +/* 17 */ /***/ function(module, exports) { module.exports = {}; /***/ }, -/* 17 */ +/* 18 */ /***/ function(module, exports, __webpack_require__) { -var anObject = __webpack_require__(9) +var anObject = __webpack_require__(10) , IE8_DOM_DEFINE = __webpack_require__(130) , toPrimitive = __webpack_require__(151) , dP = Object.defineProperty; -exports.f = __webpack_require__(10) ? Object.defineProperty : function defineProperty(O, P, Attributes){ +exports.f = __webpack_require__(11) ? Object.defineProperty : function defineProperty(O, P, Attributes){ anObject(O); P = toPrimitive(P, true); anObject(Attributes); @@ -3330,7 +3359,7 @@ exports.f = __webpack_require__(10) ? Object.defineProperty : function definePro }; /***/ }, -/* 18 */ +/* 19 */ /***/ function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(Buffer) {// Copyright Joyent, Inc. and other Node contributors. @@ -3444,97 +3473,41 @@ function objectToString(o) { /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0).Buffer)) /***/ }, -/* 19 */ -/***/ function(module, exports) { +/* 20 */ +/***/ function(module, exports, __webpack_require__) { -/* - MIT License http://www.opensource.org/licenses/mit-license.php - Author Tobias Koppers @sokra -*/ -// css base code, injected by the css-loader -module.exports = function() { - var list = []; +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. - // return the list of modules as css string - list.toString = function toString() { - var result = []; - for(var i = 0; i < this.length; i++) { - var item = this[i]; - if(item[2]) { - result.push("@media " + item[2] + "{" + item[1] + "}"); - } else { - result.push(item[1]); - } - } - return result.join(""); - }; +module.exports = Stream; - // import a list of modules into the list - list.i = function(modules, mediaQuery) { - if(typeof modules === "string") - modules = [[null, modules, ""]]; - var alreadyImportedModules = {}; - for(var i = 0; i < this.length; i++) { - var id = this[i][0]; - if(typeof id === "number") - alreadyImportedModules[id] = true; - } - for(i = 0; i < modules.length; i++) { - var item = modules[i]; - // skip already imported module - // this implementation is not 100% perfect for weird media query combinations - // when a module is imported multiple times with different media queries. - // I hope this will never occur (Hey this way we have smaller bundles) - if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) { - if(mediaQuery && !item[2]) { - item[2] = mediaQuery; - } else if(mediaQuery) { - item[2] = "(" + item[2] + ") and (" + mediaQuery + ")"; - } - list.push(item); - } - } - }; - return list; -}; - - -/***/ }, -/* 20 */ -/***/ function(module, exports, __webpack_require__) { - -// Copyright Joyent, Inc. and other Node contributors. -// -// Permission is hereby granted, free of charge, to any person obtaining a -// copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to permit -// persons to whom the Software is furnished to do so, subject to the -// following conditions: -// -// The above copyright notice and this permission notice shall be included -// in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -// USE OR OTHER DEALINGS IN THE SOFTWARE. - -module.exports = Stream; - -var EE = __webpack_require__(30).EventEmitter; +var EE = __webpack_require__(29).EventEmitter; var inherits = __webpack_require__(1); inherits(Stream, EE); -Stream.Readable = __webpack_require__(186); -Stream.Writable = __webpack_require__(188); -Stream.Duplex = __webpack_require__(183); -Stream.Transform = __webpack_require__(187); -Stream.PassThrough = __webpack_require__(185); +Stream.Readable = __webpack_require__(185); +Stream.Writable = __webpack_require__(187); +Stream.Duplex = __webpack_require__(182); +Stream.Transform = __webpack_require__(186); +Stream.PassThrough = __webpack_require__(184); // Backwards-compat with node 0.4.x Stream.Stream = Stream; @@ -3629,233 +3602,11 @@ Stream.prototype.pipe = function(dest, options) { // Allow for unix-like usage: A.pipe(B).pipe(C) return dest; -}; - - -/***/ }, -/* 21 */ -/***/ function(module, exports) { - -/* - MIT License http://www.opensource.org/licenses/mit-license.php - Author Tobias Koppers @sokra -*/ -var stylesInDom = {}, - memoize = function(fn) { - var memo; - return function () { - if (typeof memo === "undefined") memo = fn.apply(this, arguments); - return memo; - }; - }, - isOldIE = memoize(function() { - return /msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase()); - }), - getHeadElement = memoize(function () { - return document.head || document.getElementsByTagName("head")[0]; - }), - singletonElement = null, - singletonCounter = 0, - styleElementsInsertedAtTop = []; - -module.exports = function(list, options) { - if(typeof DEBUG !== "undefined" && DEBUG) { - if(typeof document !== "object") throw new Error("The style-loader cannot be used in a non-browser environment"); - } - - options = options || {}; - // Force single-tag solution on IE6-9, which has a hard limit on the # of