mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
[CS2] Remove unnecessary utility helper functions (#4526)
* Uncomment module test that was waiting for classes to be supported * Rely on native indexOf * Replace `bind` helper with native `bind` (no shortcut necessary) * Update output * Update modules class tests * Remove helper for prototype extends * Update docs to reflect removed extends operator * Add shortcut for splice, like we have for slice
This commit is contained in:
parent
7e35c2c3da
commit
07ae1edb44
12 changed files with 70 additions and 96 deletions
|
@ -1,7 +1,7 @@
|
|||
// Generated by CoffeeScript 2.0.0-beta1
|
||||
(function() {
|
||||
var CoffeeScript, compile, runScripts,
|
||||
indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
|
||||
indexOf = [].indexOf;
|
||||
|
||||
CoffeeScript = require('./coffeescript');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue