vendor/assets/javascripts/angular-cookies.js in angularjs-rails-1.4.0 vs vendor/assets/javascripts/angular-cookies.js in angularjs-rails-1.4.2

- old
+ new

@@ -1,7 +1,7 @@ /** - * @license AngularJS v1.4.0 + * @license AngularJS v1.4.2 * (c) 2010-2015 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) {'use strict'; @@ -15,12 +15,11 @@ * The `ngCookies` module provides a convenient wrapper for reading and writing browser cookies. * * * <div doc-module-components="ngCookies"></div> * - * See {@link ngCookies.$cookies `$cookies`} and - * {@link ngCookies.$cookieStore `$cookieStore`} for usage. + * See {@link ngCookies.$cookies `$cookies`} for usage. */ angular.module('ngCookies', ['ng']). /** @@ -46,11 +45,11 @@ * cookie if the current domain is not a sub domain or equals to the requested domain. * - **expires** - `{string|Date}` - String of the form "Wdy, DD Mon YYYY HH:MM:SS GMT" * or a Date object indicating the exact date/time this cookie will expire. * - **secure** - `{boolean}` - The cookie will be available only in secured connection. * - * Note: by default the address that appears in your <base> tag will be used as path. + * Note: by default the address that appears in your `<base>` tag will be used as path. * This is import so that cookies will be visible for all routes in case html5mode is enabled * **/ var defaults = this.defaults = {}; @@ -63,13 +62,15 @@ * @name $cookies * * @description * Provides read/write access to browser's cookies. * - * BREAKING CHANGE: `$cookies` no longer exposes properties that represent the - * current browser cookie values. Now you must use the get/put/remove/etc. methods - * as described below. + * <div class="alert alert-info"> + * Up until Angular 1.3, `$cookies` exposed properties that represented the + * current browser cookie values. In version 1.4, this behavior has changed, and + * `$cookies` now provides a standard api of getters, setters etc. + * </div> * * Requires the {@link ngCookies `ngCookies`} module to be installed. * * @example * @@ -190,10 +191,10 @@ * deserialized by angular's toJson/fromJson. * * Requires the {@link ngCookies `ngCookies`} module to be installed. * * <div class="alert alert-danger"> - * **Note:** The $cookieStore service is deprecated. + * **Note:** The $cookieStore service is **deprecated**. * Please use the {@link ngCookies.$cookies `$cookies`} service instead. * </div> * * @example *