Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Sep 29, 2014
  1. Merge pull request #29 from bmuller/v0.0.5namespace

    authored
    can now have a custom namespace in the JS file
Commits on Nov 10, 2013
  1. @bmuller
Commits on Sep 24, 2013
  1. Merge pull request #25 from ljharb/fix_text_regexes

    authored
    Fix text regexes
  2. Merge pull request #24 from ljharb/remove_locked_gemfiles

    authored
    Removing locked gemfiles. Run `rake appraisal:install` to generate them.
  3. @ljharb

    Fixing regexes in tests.

    ljharb authored
  4. @ljharb
Commits on Mar 12, 2013
  1. Merge pull request #20 from antifuchs/support-setting-exports

    authored
    Fix module contract for modules that assign exports
Commits on Mar 11, 2013
  1. @antifuchs

    Assign a cached module's exports before requiring another

    antifuchs authored
    This makes sprockets-commonjs compliant with the "Module context"
    contract, paragraph 1.3: "[...]the object returned by "require" must
    contain at least the exports that the foreign module has
    prepared[...]".
    
    Some code bases use the (not yet specified/clarified in CommonJS)
    method of assigning exports to export things. If, in these code bases,
    they then go on to require more code that depends on the previous
    module's exports, that new code won't see these exports unless we
    re-cache the exports here, thus breaking that paragraph above.
Commits on Feb 19, 2013
  1. Merge pull request #18 from dominicpacquing/rails-engine

    authored
    Ensure reference to Rails::Engine is not scoped to Sprockets
Commits on Feb 18, 2013
  1. @dominicpacquing
Commits on Jan 7, 2013
  1. @SlexAxton

    bump version

    SlexAxton authored
  2. Merge pull request #16 from jamesarosen/james/sprockets-2-2-plus

    authored
    Compatibility with Sprockets 2.2 - 2.8
Commits on Jan 2, 2013
  1. fix module name for Sprockets 2.3+

    James A. Rosen authored
  2. Add appraisals for sprockets 2.x

    James A. Rosen authored
  3. add some tests

    James A. Rosen authored
Commits on Aug 17, 2012
  1. @SlexAxton

    whitespace

    SlexAxton authored
  2. @SlexAxton

    fix typo (cc @jamesarosen)

    SlexAxton authored
Commits on Jul 24, 2012
  1. Merge pull request #8 from jamesarosen/master

    authored
    Some cleanup
  2. rename #common_js_module -> #commonjs_module

    James A. Rosen authored
  3. CommonJS#prepare and #evaluate are protected

    James A. Rosen authored
  4. extract CommonJS#common_js_module?

    James A. Rosen authored
  5. CommonJS#namespace can be private

    James A. Rosen authored
  6. CommonJS.default_namespace has getter and setter

    James A. Rosen authored
    This obviates monkey-patching to change the default_namespace.
  7. move JS wrapper code into a constant

    James A. Rosen authored
  8. move Engine into Sprockets::CommonJS NS. Closes #7

    James A. Rosen authored
Commits on Jul 23, 2012
  1. add sprockets-commonjs.rb

    James A. Rosen authored
    It is standard to include a file with the same name as the Rubygem that
    does any required initialization.
Commits on Jun 16, 2012
  1. Merge pull request #6 from malandrew/master

    authored
    Improved fixes for issues with wrapping modules in dev mode and with asset precompiling
Commits on Jun 14, 2012
  1. @malandrew

    Fixing more issues with getting sprockets to register commonjs for bo…

    malandrew authored
    …th dev mode and rake assets:precompile
Commits on Jun 7, 2012
  1. Merge pull request #5 from malandrew/master

    authored
    Add group parameter to rails initializer to run on asset precompilation
  2. @malandrew
Commits on May 29, 2012
  1. bump version

    authored
  2. Merge pull request #3 from nvh/master

    authored
    rake assets:precompile returned the error 'can't modify immutable index'
Commits on May 11, 2012
  1. Oops.. a bit to much copy-pasting

    Niels van Hoorn authored
  2. Moving commonjs.js to assets

    Niels van Hoorn authored
    By moving commonjs.js to /lib/assets/, we don't need to append the path manually, and the .rb files don't get pre	compiled anymore
Something went wrong with that request. Please try again.