Permalink
Commits on Mar 25, 2011
  1. v0.1.9

    marcuswestin committed Mar 25, 2011
  2. Rename to require

    marcuswestin committed Mar 25, 2011
  3. Ran npm init

    marcuswestin committed Mar 25, 2011
  4. Publish with npm

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

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

    marcuswestin 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…

    marcuswestin 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

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

    marcuswestin 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

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

    marcuswestin 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

    marcuswestin committed Feb 16, 2011
  2. v0.1.2

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

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

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

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

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

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

    marcuswestin committed Feb 16, 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…

    marcuswestin committed Feb 16, 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 …

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

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

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

    marcuswestin 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-…

    marcuswestin 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…

    marcuswestin committed Jan 31, 2011
    … for node into the browser