Skip to content

Commits on Aug 27, 2011

  1. Change the !ES5 packager block to !ES5-bind because Safari doesn't su…

    …pport bind but everything else. Makes it easier to target specific browsers.
    cpojer committed Aug 27, 2011

Commits on Aug 12, 2011

  1. Fixes #2004 - Fix Function:bind when the resulting function is used a…

    …s constructor
    arian authored and cpojer committed Aug 12, 2011

Commits on Aug 10, 2011

  1. Regressing Object.js changes and adding a check in Function.js agains…

    …t Function.create on Object::create (for browsers without Object::create).
    ibolmo committed Aug 10, 2011

Commits on Apr 21, 2011

  1. Using <!webkit> and <!ES5>

    cpojer committed Apr 21, 2011

Commits on Apr 20, 2011

  1. Starting to add packager headers for specific browser fixes to be abl…

    …e to make more specific builds with packager.
    cpojer committed Apr 20, 2011

Commits on Nov 3, 2010

  1. Fixes #1062, Function:delay and Function:periodical receiving a funny…

    … argument when called without arguments in Gecko browsers.
    timwienk authored and cpojer committed Nov 3, 2010

Commits on Sep 15, 2010

  1. * undefined => null

    cpojer committed Sep 15, 2010

Commits on Sep 10, 2010

  1. Fixes #988 - 0 as third argument of .delay or .periodical were ignore…

    …d. .pass should handle it correctly
    arian authored and cpojer committed Sep 10, 2010

Commits on Aug 31, 2010

  1. * Code style

    cpojer committed Aug 31, 2010
  2. An optimized .bind implementation by ibolmo

    concats the arguments in (function(){return arguments;}).bind({}, 2, 3, 4)(5, 6, 7); // [2, 3, 4, 5, 6, 7]
    arian authored and cpojer committed Aug 31, 2010

Commits on Aug 29, 2010

  1. * Changing Function.prototype.bind to comply with ES5.

    * Uses the native method when available
    * Uses the 1.2 Function.prototype.bind in compat mode. Third party code that supports both 1.3 with and without compat should use .pass.
    cpojer committed Aug 29, 2010

Commits on May 31, 2010

  1. Fixing unexpected behaviour of Function.prototype.delay and Function.…

    …prototype.periodical.
    
    Gecko passes an extra parameter to the callback routine, indicating the "lateness" of the timeout in milliseconds. Due to this behaviour this "lateness" would be passed to the executed function if no parameters were passed originally.
    Reference:
      - https://developer.mozilla.org/en/DOM/window.setTimeout#section_2
      - https://developer.mozilla.org/en/DOM/window.setInterval#section_5
    timwienk authored and cpojer committed May 31, 2010

Commits on May 14, 2010

  1. theres still a $clear function into the core module.

    Conflicts:
    
    	Source/Types/Function.js
    cpojer committed May 14, 2010

Commits on May 1, 2010

  1. - changed blocks syntax again, XML style.

     - fixed the build script, updated Packager.
    kamicane committed May 1, 2010

Commits on Apr 29, 2010

  1. - adding Function.js straight from the 2.0 branch. I could not stand…

    … create anymore.
    
     - Function.stab is now simply Function.attempt. Works perfectly as a generic version of Function.prototype.attempt, but also supports multiple arguments.
    kamicane committed Apr 29, 2010

Commits on Apr 28, 2010

Commits on Apr 11, 2010

  1. Revert "removing $clear from core and adding it on the Function modul…

    …e to remove the code repetition."
    
    $clear is in Core.js on 1.2, thats for compatibility.
    
    This reverts commit 16f9d73.
    fabiomcosta committed Apr 11, 2010
  2. removing $clear from core and adding it on the Function module to rem…

    …ove the code repetition.
    fabiomcosta committed Apr 11, 2010

Commits on Mar 8, 2010

  1. * Adding Function.clear

    cpojer committed Mar 8, 2010

Commits on Dec 21, 2009

  1. - Added Array:pick and moved compatibility for $pick to Array.js

     - Added Number.random and moved compatibility for $random to Number.js
     - Moved compatibility for $try to Function.js
     - replaced $functions with the new calls in these files.
    kamicane committed Dec 21, 2009

Commits on Dec 20, 2009

  1. - updated yaml headers to use name: syntax and a cleaner requires / …

    …provides.
    
     - got rid of the old build.rb and scripts.json files.
    kamicane committed Dec 20, 2009

Commits on Dec 19, 2009

Commits on Dec 2, 2009

  1. - moved every file from /Native to /Types

     - converted natives to types
    kamicane committed Dec 2, 2009