Skip to content

Commit

Permalink
switch _.first to _.take, update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ptshih committed Apr 3, 2015
1 parent ae41910 commit db79322
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "woodhouse",
"version": "0.2.26",
"version": "0.2.27",
"main": "woodhouse.js",
"ignore": [
"woodhouse-min.js",
Expand All @@ -13,9 +13,9 @@
"*.ico"
],
"dependencies": {
"backbone": "~1.1.2",
"underscore": "~1.6.0",
"jquery": "~1.11.0"
"backbone": "1.1.2",
"lodash": "3.6.0",
"jquery": "1.11.2"
},
"homepage": "https://github.com/airbrite/woodhouse.git",
"devDependencies": {
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "woodhouse",
"version": "0.2.26",
"version": "0.2.27",
"description": "Woodhouse, fetch me a rug!",
"main": "woodhouse.js",
"scripts": {
Expand All @@ -24,15 +24,15 @@
"license": "MIT",
"readmeFilename": "README.md",
"devDependencies": {
"bower": "1.3.8",
"bower": "1.4.1",
"grunt": "0.4.5",
"grunt-contrib-jshint": "0.10.0",
"grunt-contrib-jshint": "0.11.1",
"grunt-contrib-watch": "0.6.1",
"grunt-karma": "0.8.3",
"karma": "0.12.17",
"grunt-karma": "0.10.1",
"karma": "0.12.31",
"karma-cli": "0.0.4",
"karma-phantomjs-launcher": "0.1.4",
"karma-qunit": "0.1.3",
"load-grunt-tasks": "0.6.0"
"karma-qunit": "0.1.4",
"load-grunt-tasks": "3.1.0"
}
}
4 changes: 2 additions & 2 deletions woodhouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
var Woodhouse = {};

// Version string
Woodhouse.VERSION = '0.2.26';
Woodhouse.VERSION = '0.2.27';

// Debug flag
Woodhouse.DEBUG = false;
Expand Down Expand Up @@ -533,7 +533,7 @@
// Trigger change events for parent keys with wildcard (*) notation
var keys = changes[i].split('.');
for (var n = keys.length - 1; n > 0; n--) {
var parentKey = _.first(keys, n).join('.');
var parentKey = _.take(keys, n).join('.');
var wildcardKey = parentKey + '.' + '*';

if (!_.has(alreadyTriggered, wildcardKey)) {
Expand Down

0 comments on commit db79322

Please sign in to comment.