Revert "Merge pull request #160 from natecain/commonjs"

This reverts commit 661621c3f7, reversing
changes made to d3d72eff1b.
This commit is contained in:
Jeremy Ruston
2013-10-12 16:29:20 +01:00
parent 661621c3f7
commit 5ef4123b3d
34 changed files with 37 additions and 546 deletions

View File

@@ -1,19 +0,0 @@
/*\
title: method/program.js
type: application/javascript
module-type: library
Method test
\*/
var test = require('test');
var a = require('./a');
var foo = a.foo;
test.assert(a.foo() == a, 'calling a module member');
test.assert(foo() == (function (){return this})(), 'members not implicitly bound');
a.set(10);
test.assert(a.get() == 10, 'get and set')
test.print('DONE', 'info');