Require.js example expanded.

Helpers.js\moment.js included.
Alogos are still BROKEN. I'm deploying them here for testing.
This commit is contained in:
yangit
2013-05-15 14:17:53 +08:00
parent ff8721b4a3
commit ffdf279ee1
6 changed files with 29 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
var dayMapping, moment;
moment = require('moment');
moment = require('./moment');
exports.daysBetween = function(yesterday, now, dayStart) {
if (!((dayStart != null) && (dayStart = parseInt(dayStart)) && dayStart >= 0 && dayStart <= 24)) {