Skip to content
Permalink
Tag: v1.3.20
Commits on Sep 29, 2015
  1. chore(CHANGELOG): update with changes for 1.3.20

    matsko committed Sep 29, 2015
Commits on Sep 23, 2015
  1. chore(check-node-modules): make check/reinstall node_modules work acr…

    gkalpak committed Sep 9, 2015
    …oss platforms
    
    The previous implementations (based on shell scripts) threw errors on
    Windows, because it was not able to `rm -rf` 'node_modules' (due to the
    255 character limit in file-paths).
    
    This implementation works consistently across platforms and is heavily based on
    'https://github.com/angular/angular/blob/3b9c08676a4c921bbfa847802e08566fb601ba7a/tools/npm/check-node-modules.js'.
    
    Fixes #11143
    Closes #11353
    
    Closes #12792
  2. build(travis): fix typo in a comment

    IgorMinar committed Sep 23, 2015
  3. build(travis): gracefully shut down the sauce connect tunnel after th…

    IgorMinar committed Sep 23, 2015
    …e tests are done running
    
    This is to prevent sauce connect tunnel leaks.
    
    Closes #12921
Commits on Sep 20, 2015
  1. test($parse): fix test for Firefox and IE

    lgalfaso committed Sep 20, 2015
  2. fix($parse): do not convert to string computed properties multiple times

    lgalfaso committed Sep 19, 2015
    Do not convert to string properties multiple times.
Commits on Sep 17, 2015
Commits on Sep 16, 2015
  1. docs(gdocs.js): fix typo (Eror -> Error)

    magee authored and petebacondarwin committed Sep 15, 2015
    Closes #12858
  2. chore(bower/publish): move DIST_TAG so that it gets the correct value

    petebacondarwin committed Sep 16, 2015
    In the position that DIST_TAG was being assigned it was trying to get the
    `distTag` value from the wrong (i.e. a bower-...) repository.
Commits on Sep 15, 2015
  1. revert: fix($compile): throw error on invalid directive name

    petebacondarwin committed Sep 15, 2015
    This reverts commit 634e467, which introduced
    a breaking change between 1.3.15 and 1.3.16.
    
    Closes #12169
  2. docs(CHANGELOG): update with 1.3.19 changes

    petebacondarwin committed Sep 15, 2015
Commits on Sep 14, 2015
  1. chore(scripts/publish): get dist-tag from package.json

    petebacondarwin committed Aug 31, 2015
    Closes #12722
  2. feat(ngAnimate): introduce `$animate.flush` for unit testing

    matsko committed Sep 10, 2015
Commits on Sep 13, 2015
  1. fix($parse): throw error when accessing a restricted property indirectly

    lgalfaso authored and petebacondarwin committed Sep 13, 2015
    When accessing an instance thru a computed member and the property is an array,
    then also check the string value of the array.
    
    Closes #12833
Commits on Sep 7, 2015
  1. fix($http): propagate status -1 for timed out requests

    pkozlowski-opensource authored and petebacondarwin committed Aug 24, 2014
    Fixes #4491
    Closes #8756
  2. fix($location): don't crash if navigating outside the app base

    petebacondarwin committed Jul 16, 2015
    Previously, if you navigate outside of the Angular application, say be clicking
    the back button, the $location service would try to handle the url change
    and error due to the URL not being valid for the application.
    
    This fixes that issue by ensuring that a reload happens when you navigate
    to a URL that is not within the application.
    
    Closes #11667
Commits on Aug 28, 2015
  1. fix(ngModel): validate pattern against the viewValue

    Narretz committed Aug 15, 2015
    Since the HTML5 pattern validation constraint validates the input value,
    we should also validate against the viewValue. While this worked in
    core up to Angular 1.2, in 1.3, we changed not only validation,
    but the way `input[date]` and `input[number]` are handled - they parse
    their input values into `Date` and `Number` respectively, which cannot
    be validated by a regex.
    
    Fixes #12344
    
    BREAKING CHANGE:
    
    The `ngPattern` and `pattern` directives will validate the regex
    against the `viewValue` of `ngModel`, i.e. the value of the model
    before the $parsers are applied. Previously, the modelValue
    (the result of the $parsers) was validated.
    
    This fixes issues where `input[date]` and `input[number]` cannot
    be validated because the viewValue string is parsed into
    `Date` and `Number` respectively (starting with Angular 1.3).
    It also brings the directives in line with HTML5 constraint
    validation, which validates against the input value.
    
    This change is unlikely to cause applications to fail, because even
    in Angular 1.2, the value that was validated by pattern could have
    been manipulated by the $parsers, as all validation was done
    inside this pipeline.
    
    If you rely on the pattern being validated against the modelValue,
    you must create your own validator directive that overwrites
    the built-in pattern validator:
    
    ```
    .directive('patternModelOverwrite', function patternModelOverwriteDirective() {
      return {
        restrict: 'A',
        require: '?ngModel',
        priority: 1,
        compile: function() {
          var regexp, patternExp;
    
          return {
            pre: function(scope, elm, attr, ctrl) {
              if (!ctrl) return;
    
              attr.$observe('pattern', function(regex) {
                /**
                 * The built-in directive will call our overwritten validator
                 * (see below). We just need to update the regex.
                 * The preLink fn guaranetees our observer is called first.
                 */
                if (isString(regex) && regex.length > 0) {
                  regex = new RegExp('^' + regex + '$');
                }
    
                if (regex && !regex.test) {
                  //The built-in validator will throw at this point
                  return;
                }
    
                regexp = regex || undefined;
              });
    
            },
            post: function(scope, elm, attr, ctrl) {
              if (!ctrl) return;
    
              regexp, patternExp = attr.ngPattern || attr.pattern;
    
              //The postLink fn guarantees we overwrite the built-in pattern validator
              ctrl.$validators.pattern = function(value) {
                return ctrl.$isEmpty(value) ||
                  isUndefined(regexp) ||
                  regexp.test(value);
              };
            }
          };
        }
      };
    });
    ```
Commits on Aug 18, 2015
  1. docs(CHANGELOG): add changes for 1.3.18

    matsko committed Aug 18, 2015
  2. fix($animate): clear class animations cache if animation is not started

    matsko committed Aug 17, 2015
    Closes #12604
    Closes #12603
Commits on Aug 8, 2015
  1. refactor(): remove more bits and pieces related to Internet Explorer 8

    realityking authored and Narretz committed Jul 22, 2015
    Closes #12407
  2. fix(ngModel): correct minErr usage for correct doc creation

    Narretz committed Jul 23, 2015
    Remove the `new` from the minErr assignment, so the closure compiler
    can detect the errors correctly. Also removes the leading $ from the
    variable name to be consistent with the Angular.js file.
    
    Closes #12386
    Closes #12416
Commits on Aug 3, 2015
  1. docs($rootScope.Scope): remove obsolete line, and link to guide

    Narretz committed Aug 3, 2015
    The removed line pointed to a removed example. Re-adding the example
    would have been of questionable value, as it introduced several
    concepts without context. It's therefore better to link to the guide,
    which provides a better introduction.
    
    Closes #12167
  2. docs(guide/Dependency Injection): fix angular.injector arguments list

    adamsea authored and Narretz committed Jul 7, 2015
    The original file included a code sample using `angular.injector(['myModule', 'ng'])`,
    which appears to be incorrect when trying to retrieve anything attached to `myModule`.
    Reversing the args fixes this.
    
    Closes #12292
  3. docs(guide/Forms): display scope form / master data in examples

    maurya777 authored and Narretz committed Jul 11, 2015
    It will be good to have the binding results in the CSS classes /
    binding to form / control state example, similar to the Simple Form
    example.
    
    Closes #12326
  4. docs(guide): Facebook was mispelled as Faceb0ok

    stevenw authored and Narretz committed Jul 30, 2015
    Fixes typo :>
    
    Closes #12470
  5. docs($rootScope.Scope): improve clarity describing $watch with no lis…

    Strikeskids authored and Narretz committed Jul 24, 2015
    …tener
    
    The previous explanation in parentheses created a bit of confusion because the documentation stated to leave off the `listener`, but then said "be prepared for multiple calls to your listener". The new explanation clarifies that it is indeed the `watchExpression` that will be executed multiple times.
    
    Closes #12429
  6. docs(guide/expression): replace tt by code

    Laisky authored and Narretz committed Jul 26, 2015
    Replaces <tt> elements with <code> in expressions guide. Looks identical
    in Chromium
    
    Closes #12437
    
    Conflicts:
    	docs/content/guide/expression.ngdoc
  7. docs($compile): pluralize DOM element

    johnstonbl01 authored and Narretz committed Jul 25, 2015
    Previous description includes singular `collection of DOM element`. Current change revises `element` to be plural.
    
    Closes #12431
  8. docs(guide/Controllers): Syntax adjustments.

    ColinFletch authored and Narretz committed Jul 19, 2015
    Closes #12379
Commits on Jul 19, 2015
  1. docs(guide/module): fixed link to blog post

    supergibbs authored and Narretz committed Jun 19, 2015
Commits on Jul 16, 2015
  1. docs(error/ctrlfmt): fixed a small typo in ctrl error message

    APassanisi authored and Narretz committed Jul 10, 2015
    Closes #12320
Older
You can’t perform that action at this time.