Permalink
Commits on Feb 18, 2016
  1. Merge pull request #92 from houkanshan/double-load

    Fix the broken `each` function.
    committed Feb 18, 2016
  2. rebuild

    houkanshan committed Feb 18, 2016
  3. Fixed the broken `each` function.

    The return value of `setTimeout` in
    `return (scripts[path] == 2) ? callback() : setTimeout(function () { loading(path, true)  }, 0)`
    will stop the `each` function (implemented by `every`)
    
    When loading different files lists that sharing the same file, the one called later will never been loaded (see the test).
    houkanshan committed Feb 18, 2016
Commits on Sep 17, 2015
  1. no tips please. just be free.

    committed Sep 17, 2015
  2. 2.5.8

    committed Sep 17, 2015
  3. rebuild

    committed Sep 17, 2015
  4. Merge pull request #85 from MikeSpock/patch-1

    The $scipt.path('/modules/') was not working for .js files
    committed Sep 17, 2015
Commits on Sep 16, 2015
  1. The $scipt.path('/modules/') was not working for .js files

    You only applied scriptpath if the file didn't include '.js'. I think it should work for .js files as well. In the change I removed the condition of indexOf('.js')===-1, and added a part where I add '.js' if the file doesn't end with .js.
    MikeSpock committed Sep 16, 2015
Commits on Jul 11, 2014
  1. 2.5.7

    committed Jul 11, 2014
  2. rebuild

    committed Jul 11, 2014
  3. Merge pull request #72 from gonzaloruizdevilla/master

    fix(callback): callback was called twice when lib was already loaded
    committed Jul 11, 2014
Commits on Jul 7, 2014
  1. 2.5.6

    committed Jul 7, 2014
Commits on Jul 3, 2014
  1. Merge pull request #70 from e-sites/master

    Updated docs with urlArgs functionality
    committed Jul 3, 2014
Commits on Jul 2, 2014
  1. Updated docs with urlArgs functionality.

    Boye committed Jul 2, 2014
Commits on Jun 30, 2014
  1. 2.5.5

    committed Jun 30, 2014
  2. updating new build

    committed Jun 30, 2014
Commits on Jun 26, 2014
  1. Merge pull request #67 from e-sites/master

    Added public urlArgs method (as suggested in #66)
    committed Jun 26, 2014
Commits on May 14, 2014
  1. Landed a patch for the double extension issue

    I noticed that the in the last unit-test (double load), the .js extension got added twice. This patches fixes it.
    boye committed May 14, 2014
  2. Added public urlArgs method (as suggested in #66)

    urlArgs makes it possible to concat a querystring to all scripts, e.g. for cache busting purposes.
    boye committed May 14, 2014
Commits on Apr 20, 2014
  1. 2.5.3

    committed Apr 20, 2014
  2. fixed double file not getting called back

    closes #64
    committed Apr 20, 2014
Commits on Feb 19, 2014
  1. 2.5.2

    committed Feb 19, 2014
  2. remove a bunch of unneccessary vars

    committed Feb 19, 2014
Commits on Feb 17, 2014
  1. 2.5.1

    committed Feb 17, 2014
  2. append scripts in order.

    closes #58
    committed Feb 17, 2014
Commits on Feb 13, 2014
  1. 2.5.0

    committed Feb 13, 2014
  2. - update copyright

    - remove domready
    committed Feb 13, 2014
Commits on Jan 28, 2014
  1. 2.4.1

    committed Jan 28, 2014
Commits on Dec 13, 2013
  1. consider a tip

    committed Dec 13, 2013
Commits on Apr 23, 2013
  1. Merge branch 'master' of https://github.com/sdaves/script.js into sda…

    …ves-master
    
    Conflicts:
    	dist/script.min.js
    committed Apr 23, 2013
  2. fix amd voodoo & bump version

    committed Apr 23, 2013
Commits on Apr 9, 2013
  1. Removed semi-colons and added README example.

    Stephen Daves committed Apr 9, 2013