From 1c70a5bad5f37bc0901b03fe78830e480a033020 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Thu, 27 Nov 2014 12:12:36 -0700 Subject: [PATCH] upgrade angular-ui-router --- bower.json | 4 ++-- migrations/facebook_to_local.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bower.json b/bower.json index 5819739e29..b469574b1f 100644 --- a/bower.json +++ b/bower.json @@ -23,7 +23,6 @@ "angular-ui-utils": "~0.1.0", "angular-ui-select2": "git://github.com/angular-ui/ui-select2.git", "angular-bootstrap": "~0.12.0", - "angular-ui-router": "git://github.com/HabitRPG/ui-router.git#habitrpg", "angular-loading-bar": "~0.6.0", "bootstrap": "~3.1.0", "bootstrap-growl": "git://github.com/ifightcrime/bootstrap-growl.git#master", @@ -42,7 +41,8 @@ "jquery-ui": "~1.10.3", "hello": "~1.3.1", "css-social-buttons": "https://github.com/samcollins/css-social-buttons.git", - "angular-filter": "~0.5.1" + "angular-filter": "~0.5.1", + "angular-ui-router": "~0.2.13" }, "devDependencies": { "angular-mocks": "1.3.3" diff --git a/migrations/facebook_to_local.js b/migrations/facebook_to_local.js index c8238a77fc..0aca5573b1 100644 --- a/migrations/facebook_to_local.js +++ b/migrations/facebook_to_local.js @@ -1,5 +1,5 @@ var oldId = "", - newId = "", + newId = "", newUser = db.users.findOne({_id: newId}) db.users.update({_id: oldId}, {$set:{auth: newUser.auth}});