feature(bower) smalltalk v1.6.8

This commit is contained in:
coderaiser 2016-05-11 19:13:24 +03:00
parent f9622e5913
commit a71aa83150
8 changed files with 39 additions and 26 deletions

View file

@ -39,7 +39,7 @@
"findit": "~1.1.4",
"philip": "~1.3.2",
"menu": "~1.0.2",
"smalltalk": "~1.6.7",
"promise-polyfill": "^5.1.0"
"promise-polyfill": "^5.1.0",
"smalltalk": "^1.6.8"
}
}

View file

@ -1,6 +1,6 @@
{
"name": "smalltalk",
"version": "1.6.7",
"version": "1.6.8",
"homepage": "https://github.com/coderaiser/smalltalk",
"authors": [
"coderaiser <mnemonic.enemy@gmail.com>"
@ -28,14 +28,14 @@
"screen"
],
"dependencies": {},
"_release": "1.6.7",
"_release": "1.6.8",
"_resolution": {
"type": "version",
"tag": "v1.6.7",
"commit": "a1a605b37a17af622b773d3a0db95c4e5a5eb23d"
"tag": "v1.6.8",
"commit": "5987bdf6249185738eff1ce84486ceed866aa721"
},
"_source": "git://github.com/coderaiser/smalltalk.git",
"_target": "~1.6.7",
"_source": "https://github.com/coderaiser/smalltalk.git",
"_target": "^1.6.8",
"_originalSource": "smalltalk",
"_direct": true
}

View file

@ -1,3 +1,16 @@
2016.05.10, v1.6.8
feature:
- (package) v0.18.0
- (package) stylelint-config-standard v7.0.0
- (package) promise-polyfill v5.1.0
- (package) redrun v3.0.0
- (package) stylelint v6.2.2
- (package) jscs v3.0.3
- (package) stylelint-config-standard v5.0.0
- (package) stylelint v5.1.0, stylelint-config-standard v4.0.1
2016.03.21, v1.6.7
feature:

View file

@ -1,6 +1,6 @@
{
"name": "smalltalk",
"version": "1.6.7",
"version": "1.6.8",
"homepage": "https://github.com/coderaiser/smalltalk",
"authors": [
"coderaiser <mnemonic.enemy@gmail.com>"

View file

@ -72,7 +72,7 @@
font-size: 120%;
font-weight: bold;
margin: 0;
padding: 14px 17px 14px;
padding: 14px 17px;
text-shadow: white 0 1px 2px;
}
@ -80,7 +80,7 @@
overflow: hidden;
text-overflow: ellipsis;
padding: 6px 17px 6px;
padding: 6px 17px;
position: relative;
max-width: 500px;
}

View file

@ -1 +1 @@
!function(t){function e(){}function n(t,e){return function(){t.apply(e,arguments)}}function o(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],a(t,this)}function r(t,e){for(;3===t._state;)t=t._value;return 0===t._state?void t._deferreds.push(e):(t._handled=!0,void l(function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null===n)return void(1===t._state?i:u)(e.promise,t._value);var o;try{o=n(t._value)}catch(r){return void u(e.promise,r)}i(e.promise,o)}))}function i(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var r=e.then;if(e instanceof o)return t._state=3,t._value=e,void f(t);if("function"==typeof r)return void a(n(r,e),t)}t._state=1,t._value=e,f(t)}catch(i){u(t,i)}}function u(t,e){t._state=2,t._value=e,f(t)}function f(t){2===t._state&&0===t._deferreds.length&&setTimeout(function(){t._handled||o._onUnhandledRejection(t._value)},1);for(var e=0,n=t._deferreds.length;n>e;e++)r(t,t._deferreds[e]);t._deferreds=null}function c(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function a(t,e){var n=!1;try{t(function(t){n||(n=!0,i(e,t))},function(t){n||(n=!0,u(e,t))})}catch(o){if(n)return;n=!0,u(e,o)}}var s=setTimeout,l="function"==typeof setImmediate&&setImmediate||function(t){s(t,1)},d=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};o.prototype["catch"]=function(t){return this.then(null,t)},o.prototype.then=function(t,n){var i=new o(e);return r(this,new c(t,n,i)),i},o.all=function(){var t=Array.prototype.slice.call(1===arguments.length&&d(arguments[0])?arguments[0]:arguments);return new o(function(e,n){function o(i,u){try{if(u&&("object"==typeof u||"function"==typeof u)){var f=u.then;if("function"==typeof f)return void f.call(u,function(t){o(i,t)},n)}t[i]=u,0===--r&&e(t)}catch(c){n(c)}}if(0===t.length)return e([]);for(var r=t.length,i=0;i<t.length;i++)o(i,t[i])})},o.resolve=function(t){return t&&"object"==typeof t&&t.constructor===o?t:new o(function(e){e(t)})},o.reject=function(t){return new o(function(e,n){n(t)})},o.race=function(t){return new o(function(e,n){for(var o=0,r=t.length;r>o;o++)t[o].then(e,n)})},o._setImmediateFn=function(t){l=t},o._onUnhandledRejection=function(t){console.warn("Possible Unhandled Promise Rejection:",t)},"undefined"!=typeof module&&module.exports?module.exports=o:t.Promise||(t.Promise=o)}(this);"use strict";!function(n){function e(){return this instanceof e?(this.alert=function(n,e){var t=new Promise(function(n){alert(e),n()});return t},this.prompt=function(n,e,t,o){var r=o,i=new Promise(function(n,o){var i=r&&!r.cancel,u=prompt(e,t);null!==u?n(u):i||o()});return i},void(this.confirm=function(n,e,t){var o=t,r=o&&!o.noCancel,i=new Promise(function(n,t){var o=confirm(e);o?n():r||t()});return i})):new e}"undefined"!=typeof module&&module.exports?module.exports=e():n.smalltalk=e()}("undefined"!=typeof window&&window);
!function(e){function t(){}function n(e,t){return function(){e.apply(t,arguments)}}function o(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],s(e,this)}function r(e,t){for(;3===e._state;)e=e._value;return 0===e._state?void e._deferreds.push(t):(e._handled=!0,void a(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null===n)return void(1===e._state?i:f)(t.promise,e._value);var o;try{o=n(e._value)}catch(r){return void f(t.promise,r)}i(t.promise,o)}))}function i(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var r=t.then;if(t instanceof o)return e._state=3,e._value=t,void u(e);if("function"==typeof r)return void s(n(r,t),e)}e._state=1,e._value=t,u(e)}catch(i){f(e,i)}}function f(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&a(function(){e._handled||d(e._value)},1);for(var t=0,n=e._deferreds.length;n>t;t++)r(e,e._deferreds[t]);e._deferreds=null}function c(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function s(e,t){var n=!1;try{e(function(e){n||(n=!0,i(t,e))},function(e){n||(n=!0,f(t,e))})}catch(o){if(n)return;n=!0,f(t,o)}}var l=setTimeout,a="function"==typeof setImmediate&&setImmediate||function(e){l(e,1)},d=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};o.prototype["catch"]=function(e){return this.then(null,e)},o.prototype.then=function(e,n){var i=new o(t);return r(this,new c(e,n,i)),i},o.all=function(e){var t=Array.prototype.slice.call(e);return new o(function(e,n){function o(i,f){try{if(f&&("object"==typeof f||"function"==typeof f)){var u=f.then;if("function"==typeof u)return void u.call(f,function(e){o(i,e)},n)}t[i]=f,0===--r&&e(t)}catch(c){n(c)}}if(0===t.length)return e([]);for(var r=t.length,i=0;i<t.length;i++)o(i,t[i])})},o.resolve=function(e){return e&&"object"==typeof e&&e.constructor===o?e:new o(function(t){t(e)})},o.reject=function(e){return new o(function(t,n){n(e)})},o.race=function(e){return new o(function(t,n){for(var o=0,r=e.length;r>o;o++)e[o].then(t,n)})},o._setImmediateFn=function(e){a=e},o._setUnhandledRejectionFn=function(e){d=e},"undefined"!=typeof module&&module.exports?module.exports=o:e.Promise||(e.Promise=o)}(this);"use strict";!function(n){function e(){return this instanceof e?(this.alert=function(n,e){var t=new Promise(function(n){alert(e),n()});return t},this.prompt=function(n,e,t,o){var r=o,i=new Promise(function(n,o){var i=r&&!r.cancel,u=prompt(e,t);null!==u?n(u):i||o()});return i},void(this.confirm=function(n,e,t){var o=t,r=o&&!o.noCancel,i=new Promise(function(n,t){var o=confirm(e);o?n():r||t()});return i})):new e}"undefined"!=typeof module&&module.exports?module.exports=e():n.smalltalk=e()}("undefined"!=typeof window&&window);

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{
"name": "smalltalk",
"version": "1.6.7",
"version": "1.6.8",
"description": "Promise-based Alert, Confirm and Prompt replacement",
"homepage": "http://github.com/coderaiser/smalltalk",
"repository": {
@ -22,19 +22,19 @@
"minify:css": "minify css/smalltalk.css > dist/smalltalk.min.css",
"minify:js": "minify lib/smalltalk.js > dist/smalltalk.min.js",
"minify:js-native": "minify lib/smalltalk.native.js > dist/smalltalk.native.min.js",
"build:js": "npm-run-all 6to5 minify:js",
"build:js": "redrun 6to5 minify:js",
"build:js-poly": "cat $npm_package_config_poly dist/smalltalk.min.js > dist/smalltalk.poly.min.js",
"build:js-poly-native": "cat $npm_package_config_poly dist/smalltalk.native.min.js > dist/smalltalk.native.poly.min.js",
"build:js-full": "npm-run-all build:js build:js-poly",
"build:js-native-full": "npm-run-all minify:js-native build:js-poly-native",
"build": "npm-run-all -p minify:css build:js-full build:js-native-full",
"build:js-full": "redrun build:js build:js-poly",
"build:js-native-full": "redrun minify:js-native build:js-poly-native",
"build": "redrun -p minify:css build:js-full build:js-native-full",
"bower": "bower",
"babel": "babel",
"minify": "minify",
"wisdom": "npm run build",
"lint:css": "stylelint css/*.css",
"lint:js": "jshint src && jscs --esnext src",
"test": "npm-run-all lint:*"
"lint:js": "jshint src && jscs src",
"test": "redrun lint:*"
},
"keywords": [
"modal",
@ -50,13 +50,13 @@
"devDependencies": {
"babel-cli": "^6.1.1",
"babel-preset-es2015": "^6.0.15",
"jscs": "^2.1.1",
"jscs": "^3.0.3",
"jshint": "^2.8.0",
"minify": "^2.0.0",
"npm-run-all": "^1.2.12",
"promise-polyfill": "~4.0.1",
"stylelint": "^4.4.0",
"stylelint-config-standard": "^3.0.0",
"watch": "^0.17.1"
"promise-polyfill": "^5.1.0",
"redrun": "^3.0.0",
"stylelint": "^6.2.2",
"stylelint-config-standard": "^7.0.0",
"watch": "^0.18.0"
}
}