Skip to content
Commits on Sep 21, 2014
  1. @sktaylor
  2. @sktaylor

    update tests, add bootstrap script to use the current tame to run the…

    … test files, and unlink it afterward
    sktaylor committed Sep 21, 2014
Commits on Jul 3, 2014
  1. @sktaylor

    bump version, fix npm issue

    sktaylor committed Jul 3, 2014
  2. @sktaylor

    bump version

    sktaylor committed Jul 3, 2014
Commits on May 15, 2014
  1. @sktaylor
Commits on May 14, 2014
  1. @sktaylor
Commits on May 9, 2014
  1. @sktaylor
  2. Merge pull request #43 from sktaylor/master

    update engine number, update NEWS.md
    committed May 9, 2014
  3. @sktaylor
Commits on Mar 18, 2014
  1. Merge pull request #42 from sktaylor/master

    Fix tamed files to support the arguments array.
    committed Mar 18, 2014
  2. @sktaylor
Commits on Aug 30, 2013
  1. fix for bad link

    committed Aug 30, 2013
Commits on May 22, 2013
  1. version bump

    committed May 21, 2013
  2. checkin some generated files

    committed May 21, 2013
  3. fix the spacing

    committed May 21, 2013
  4. Merge pull request #40 from zamfi/forin-fix

    A fix for tamejs to coexist with other code that modifies Array.prototype
    committed May 21, 2013
  5. @zamfi

    A fix for tamejs to coexist with other code that modifies Array.proto…

    …type
    
    Using the `for...in` construction to iterate over array objects in JavaScript results in unexpected behavior if Array.prototype is ever changed.
    
    For example:
    ```javascript
    Array.prototype.unique = function() { /* code */ }
    var a = [1,2,3];
    
    for (var i in a) {
      console.log(i);
    }
    ```
    yields
    > 1
    > 2
    > 3
    > unique
    
    This is problematic when code assumes that all the values returned by a `for...in` construction will be of a single type because, well, that's what the array has in it.
    
    Fortunately, there's a simple, if inelegant, solution: add the line
    ```javascript
    if (! a.hasOwnProperty(i)) { continue; }
    ```
    to the beginning of each `for...in` block, with the appropriate variable substitutions.
    
    This commit makes that change.
    zamfi committed May 21, 2013
Commits on Mar 19, 2013
  1. version bump

    committed Mar 19, 2013
Commits on Aug 3, 2012
  1. Merge pull request #34 from sktaylor/master

    Fixed: blank file as input produces invalid javascript file
    committed Aug 3, 2012
  2. @sktaylor

    fix output on blank file input, previously produced invalid javascrip…

    …t, now it produces a valid file
    sktaylor committed Aug 2, 2012
Commits on Aug 1, 2012
  1. Merge pull request #33 from sktaylor/master

    Add getCompiledFileSync and refactor _extension
    committed Aug 1, 2012
  2. @sktaylor
Commits on Mar 23, 2012
  1. try this

    committed Mar 23, 2012
Commits on Dec 9, 2011
  1. more details

    committed Dec 9, 2011
  2. Credit where credit is due!

    committed Dec 9, 2011
Commits on Dec 3, 2011
  1. Version bump

    committed Dec 3, 2011
Commits on Dec 1, 2011
  1. version bumpb

    committed Dec 1, 2011
  2. Fix a corner case in the parser, in which "!this" was showing up as o…

    …ne token, not two. This broke taming in certain places. Add a regtest to fix.
    committed Dec 1, 2011
Commits on Nov 29, 2011
Commits on Nov 14, 2011
  1. add some more doodles and notes

    committed Nov 13, 2011
Something went wrong with that request. Please try again.