mozilla/addon-sdk — pull request #1277 by jsantell (2013-11-02 02:29:12+00:00)
Title: Bug 922308: Add ability to load JSMs via loader

Adds ability to load JSM files, via relative or absolute (resource) paths, and js files via resource paths:
```
require('./File.jsm');
require('resource://gre/modules/File.jsm');
require('resource://gre/modules/commonjs/sdk/file.js');
```