Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 25, 2011
  1. v0.1.9

    authored
  2. Rename to require

    authored
  3. Ran npm init

    authored
  4. Publish with npm

    authored
Commits on Feb 26, 2011
  1. v0.1.6 - bug fixes

    authored
  2. Remove the "root" configuration parameter - it does not make sense to…

    authored
    … have it, since you can't modify the "root" in node
  3. Helper variables inside of require.js was being leaked into the scope…

    authored
    … of imported modules. Prevent that from happening but putting the evaluate function outside of the closure which holds all of the require helper variables
Commits on Feb 20, 2011
  1. v0.1.5

    authored
  2. When a path module ends in a slash, it is really the same as when you…

    authored
    … don't have the slash in there. E.g. require('modules/') and require('./') really mean require('modles') and require('.'). This will allow for a file inside of a folder to find folder/index.js without attempting to request folder/.js and folder//index.js using require('./')
Commits on Feb 18, 2011
  1. v0.1.4

    authored
  2. Assign the global module for an absolute path before evaluating the c…

    authored
    …ode inside that module. This allows that in a circular dependency between modules A and B, both A and B can get a reference to each others' exports before either has finished evaluating
Commits on Feb 16, 2011
  1. v0.1.3

    authored
  2. v0.1.2

    authored
  3. Merge commit 'f4cb3a57a53fb7a3dc8968b5d86552533d23d9a9'

    authored
    * commit 'f4cb3a57a53fb7a3dc8968b5d86552533d23d9a9':
      Add folder for testing folder-module imports
  4. Revert "v0.1.2"

    authored
    This reverts commit a98d7a5.
  5. v0.1.2

    authored
  6. Support folder modules, i.e. if you don't find a module at location, …

    authored
    …look for it at location/index.js
  7. v0.1.1

    authored
  8. Support the "root" configuration parameter as an attribute - when set…

    authored
    …, any required paths starting with "/" will be resolved starting at root
  9. Fix a bug where two consecutive slashes would be replaced with an emp…

    authored
    …ty string, rather than a single slash, which is what's expected
Commits on Feb 3, 2011
  1. Fix a bug where the compiled form of require('a') require('b') would …

    authored
    …cause a runtime error. The inline comment explains the issue and the fix in detail
  2. Export indentJS

    authored
  3. Fix the compiler - the base path was not being kept track of properly…

    authored
    …, thus making nested imports from sub-folders fail
Commits on Feb 2, 2011
  1. Merge commit 'dc6f1cff1b98e3cf9d7b35a929aaaed64aca36f5'

    authored
    * commit 'dc6f1cff1b98e3cf9d7b35a929aaaed64aca36f5':
      Rather than do inline scripts, add the main attribute to the browser-require script tag and point it to the main module that executes your app
  2. Rather than do inline scripts, add the main attribute to the browser-…

    authored
    …require script tag and point it to the main module that executes your app
Commits on Jan 31, 2011
Something went wrong with that request. Please try again.