Skip to content
Commits on Mar 25, 2011
  1. Publish with npm

    committed Mar 25, 2011
Commits on Feb 26, 2011
  1. v0.1.6 - bug fixes

    committed Feb 26, 2011
  2. Remove the "root" configuration parameter - it does not make sense to…

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

    committed Feb 26, 2011
    … 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

    committed Feb 20, 2011
  2. When a path module ends in a slash, it is really the same as when you…

    committed Feb 20, 2011
    … 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

    committed Feb 18, 2011
  2. Assign the global module for an absolute path before evaluating the c…

    committed Feb 18, 2011
    …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

    committed Feb 16, 2011
  2. v0.1.2

    committed Feb 16, 2011
  3. Merge commit 'f4cb3a57a53fb7a3dc8968b5d86552533d23d9a9'

    committed Feb 16, 2011
    * commit 'f4cb3a57a53fb7a3dc8968b5d86552533d23d9a9':
      Add folder for testing folder-module imports
  4. Revert "v0.1.2"

    committed Feb 16, 2011
    This reverts commit a98d7a5.
  5. v0.1.2

    committed Feb 16, 2011
  6. Support folder modules, i.e. if you don't find a module at location, …

    committed Feb 16, 2011
    …look for it at location/index.js
  7. v0.1.1

    committed Feb 15, 2011
  8. Support the "root" configuration parameter as an attribute - when set…

    committed Feb 15, 2011
    …, 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…

    committed Feb 15, 2011
    …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 …

    committed Feb 2, 2011
    …cause a runtime error. The inline comment explains the issue and the fix in detail
  2. Export indentJS

    committed Feb 2, 2011
  3. Fix the compiler - the base path was not being kept track of properly…

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

    committed Feb 2, 2011
    * 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-…

    committed Feb 2, 2011
    …require script tag and point it to the main module that executes your app
Commits on Jan 31, 2011
  1. Add clarification, noting that you can import utility modules written…

    committed Jan 31, 2011
    … for node into the browser
Commits on Jan 30, 2011
  1. Add support to walk up the directory tree and normalize all module na…

    committed Jan 30, 2011
    …mes to ensure that the same module does not get imported twice.
    
    This patch enables paths with ".." in them, e.g. "var moduleInParentDirectory = require(../moduleName)". It also normalizes all module name requests to their absolute URLs, e.g. "http://example.com/app/js/module.js". This avoids duplicate imports of modules that are imported from two different files by different relative URLs
Commits on Mar 16, 2010
Something went wrong with that request. Please try again.