不要怂,就是干,撸起袖子干!

Commit b3d6a479 by Sascha Depold

upgraded to underscore 1.2.0 and underscore.string 1.2.1

1 parent ffeddc46
Showing with 7 additions and 5 deletions
......@@ -3,10 +3,12 @@ var client = new (require("mysql").Client)()
var Utils = module.exports = {
_: (function() {
var _ = require("underscore")
var _ = require("underscore")
, _s = require('underscore.string')
_.mixin(require('underscore.string'))
_.mixin(_s.exports())
_.mixin({
includes: _s.include,
camelizeIf: function(string, condition) {
var result = string
if(condition) result = _.camelize(string)
......
......@@ -8,8 +8,8 @@
],
"dependencies": {
"mysql": "=0.9.4",
"underscore": "=1.1.5",
"underscore.string": "=1.1.3",
"underscore": "=1.2.1",
"underscore.string": "=1.2.0",
"lingo": "=0.0.4"
},
"devDependencies": {
......@@ -20,5 +20,5 @@
"main": "index",
"scripts": {},
"bin": {},
"engines": { "node": ">= 0.1.93" }
"engines": { "node": ">= 0.4.0" }
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!