Skip to content

Commit

Permalink
trying with lodash again after some good tips
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaslein committed Mar 20, 2014
1 parent 4a50b7f commit bb1a604
Show file tree
Hide file tree
Showing 3 changed files with 1,591 additions and 64 deletions.
11 changes: 5 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
// TODO: handle setting special shortcut transform properties with arrays (translate, scale)?

var identify = require('util.identify')
, isObject = identify.isObject
, isNan = identify.isNaN
, isArray = identify.isArray
, isString = identify.isString
, map = [].map
var isObject = require('lodash.isobject')
, isNan = require('lodash.isnan')
, isArray = require('lodash.isarray')
, isString = require('lodash.isstring')
, map = require('lodash.map')
, win = window
, doc = window.document
, el = doc.createElement('div')
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"version": "0.0.2",
"author": "Thomas Lein <thomaslein@gmail.com>",
"dependencies": {
"util.identify":"git://github.com/thomaslein/util.identify.git"
"lodash.isobject": "^2.4.0",
"lodash.isarray": "^2.4.0",
"lodash.isnan": "^2.4.0",
"lodash.isstring": "^2.4.0",
"lodash.map": "^2.4.0"
},
"devDependencies": {
"mocha": "*",
Expand Down
Loading

0 comments on commit bb1a604

Please sign in to comment.