vendor/assets/javascripts/angular-cookies.js in angularjs-rails-1.4.4 vs vendor/assets/javascripts/angular-cookies.js in angularjs-rails-1.4.7

- old
+ new

@@ -1,7 +1,7 @@ /** - * @license AngularJS v1.4.4 + * @license AngularJS v1.4.7 * (c) 2010-2015 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) {'use strict'; @@ -276,10 +276,10 @@ function buildCookieString(name, value, options) { var path, expires; options = options || {}; expires = options.expires; path = angular.isDefined(options.path) ? options.path : cookiePath; - if (value === undefined) { + if (angular.isUndefined(value)) { expires = 'Thu, 01 Jan 1970 00:00:00 GMT'; value = ''; } if (angular.isString(expires)) { expires = new Date(expires);