From 46291d68460d0099b8c66d8232923923e6381dd0 Mon Sep 17 00:00:00 2001 From: Andy Joslin Date: Tue, 29 Apr 2014 06:24:29 -0600 Subject: [PATCH] chore: fix travis --- js/angular/service/collectionRepeatManager.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/angular/service/collectionRepeatManager.js b/js/angular/service/collectionRepeatManager.js index fef1090b96f..536e11a54b0 100644 --- a/js/angular/service/collectionRepeatManager.js +++ b/js/angular/service/collectionRepeatManager.js @@ -207,7 +207,7 @@ function($rootScope, $timeout) { primaryPos, secondaryPos, secondaryPos ); this.renderedItems[dataIndex] = item; - if (!item.scope.$$phase) { + if (item.scope && !item.scope.$$phase) { item.scope.$digest(); } } else { diff --git a/package.json b/package.json index ac4640e7cd5..d63ab44319c 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "lodash": "^2.4.1", "winston": "^0.7.2", "minimist": "0.0.8", - "gulp-minify-css": "0.3.1", + "gulp-minify-css": "^0.3.0", "semver": "^2.2.1", "cp-r": "^0.1.1", "mkdirp": "^0.3.5",