Requred items.js from algos.coffee We do not need to pass items{} to scoring function anymore.

Alogos are still BROKEN. I'm deploying them here for testing.
This commit is contained in:
yangit
2013-05-15 21:59:01 +08:00
parent 15c2dc3497
commit 28aa7d2e4f
5 changed files with 466 additions and 148 deletions
+4
View File
@@ -1,12 +1,16 @@
//this module is required to run module.
//again boilerplate here for node.js\require.js compatibility.
({
define: (typeof define === "function" ? define : function (F) {
return F(require, exports, module);
})
}).define(function (require, exports, module) {
//write regular node.js code here
return module.exports = {
parentFoo: function (message) {
return message.toUpperCase();
}
};
});