包详细信息

holyfills

tomchentw9MIT1.0.1

No more "Holy Sxxt!!" when writting ES5/ES6

ES5, ES6, polyfills, polyfill

自述文件

holyfills Travis CI Quality Coverage Dependencies Gitter

No more "Holy Sxxt!!" when writting ES5/ES6

Version

Usage

TBD

Advantage

Rewrites the whole file of es5-shim/es5-shim.js with CommonJS.

Results

es5-shim / holyfill

  • Minified: 14,315 byte / 13,893 byte (3% saved!)
  • Gzipped: 5,272 byte / 4,336 byte (17.8% saved!)

Development

git clone ...
npm i
npm run build # generates dist/es5-shim.js
NODE_ENV=production npm run build # generates dist/es5-shim.min.js

Contributing

devDependency Status

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Credits

更新日志

1.0.1 (2014-10-12)

1.0.0 (2014-10-11)

Features

  • Array.isArray:
    • assignProperty to Array constructor (89165722)
    • port and modify from es5-shim (85782171)
  • ArrayPrototype: expose Array.prototype (bcc9aebe)
  • Date: port and modify from es5-shim (9426801c)
  • Date.now: port and modify from es5-shim (58d03bf5)
  • DatePrototype: expose from Date.prototype (f1b94005)
  • FunctionPrototype: expose Function.prototype (0a95446b)
  • NumberPrototype: expose Number.prototype (289be464)
  • Object.keys: port and modify from es5-shim (48c6cb1a)
  • ObjectPrototype: expose Object.prototype (47fe0df0)
  • StringPrototype: expose String.prototype (1002984f)
  • array_every: port and modify from es5-shim (b78e89ff)
  • array_filter: port and modify from es5-shim (11dae559)
  • array_forEach: port and modify from es5-shim (a3338b2c)
  • array_indexOf: port and modify from es5-shim (08e83dd2)
  • array_lastIndexOf: port and modify from es5-shim (c1c70fb1)
  • array_map: port and modify from es5-shim (25ed22b2)
  • array_push: export from Array.prototype.push (19f2a34e)
  • array_reduce: port and modify from es5-shim (c3029882)
  • array_reduceRight: port and modify from es5-shim (c8808570)
  • array_slice: expose from Array.prototype.slice (c773da09)
  • array_some: port and modify from es5-shim (2298115a)
  • array_splice:
    • port and modify from es5-shim (cbc0fca4)
    • expose from Array.prototype.splice (6fe17020)
  • array_unshift:
    • port and modify from es5-shim (f1504cbb)
    • export from Array.prototype.unshift (e7717d90)
  • assignProperty: port and modify from es5-shim (e835d4c1)
  • date_toISOString: port and modify from es5-shim (8b605090)
  • date_toJSON: port and modify from es5-shim (08d49295)
  • function_bind:
    • assign to FunctionPrototype (7ee0843b)
    • port and modify from es5-shim (7b89e041)
  • index.js: bundle with webpack + DEFINED_VARIABLES (33d5265a)
  • isArguments: port and modify from es5-shim (6765e7a7)
  • isFunction: port and modify from es5-shim (a23c5eda)
  • isPrimitive: port and modify from es5-shim (cb1db0f6)
  • isRegex: port and modify from es5-shim (8780ed17)
  • isString: port and modify from es5-shim (1d465d3f)
  • number_toFixed: port and modify from es5-shim (373bcc4c)
  • object_to_string: expose from ObjectPrototype.toString (51cc5f32)
  • owns: port and modify from es5-shim (4009dc69)
  • parseInt: port and modify from es5-shim (9e98ecfa)
  • string_replace: port and modify from es5-shim (733b34fb)
  • string_split: port and modify from es5-shim (d4b8aeff)
  • string_substr: port and modify from es5-shim (d6a0125a)
  • string_trim: port and modify from es5-shim (6c20da6f)
  • toFixedUtils: port and modify from es5-shim (bf54fdef)
  • toInteger: port and modify from es5-shim (83cf3837)
  • toObject: port and modify from es5-shim (c39be680)
  • toPrimitive: port and modify from es5-shim (5f1af806)
  • toUint32: port and modify from es5-shim (d9c06a93)