Update Angular to 1.2.0 RC2
This commit is contained in:
parent
7416269494
commit
0d3a40980e
184 changed files with 17993 additions and 21133 deletions
29
lib/angular/angular-sanitize.js
vendored
29
lib/angular/angular-sanitize.js
vendored
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* @license AngularJS v1.2.0rc1
|
||||
* @license AngularJS v1.2.0-rc.2
|
||||
* (c) 2010-2012 Google, Inc. http://angularjs.org
|
||||
* License: MIT
|
||||
*/
|
||||
|
@ -11,25 +11,14 @@ var $sanitizeMinErr = angular.$$minErr('$sanitize');
|
|||
* @ngdoc overview
|
||||
* @name ngSanitize
|
||||
* @description
|
||||
*
|
||||
*
|
||||
* # ngSanitize
|
||||
*
|
||||
* The `ngSanitize` module provides functionality to sanitize HTML.
|
||||
*
|
||||
* # Installation
|
||||
* As a separate module, it must be loaded after Angular core is loaded; otherwise, an 'Uncaught Error:
|
||||
* No module: ngSanitize' runtime error will occur.
|
||||
*
|
||||
* <pre>
|
||||
* <script src="angular.js"></script>
|
||||
* <script src="angular-sanitize.js"></script>
|
||||
* </pre>
|
||||
* {@installModule sanitize}
|
||||
*
|
||||
* # Usage
|
||||
* To make sure the module is available to your application, declare it as a dependency of you application
|
||||
* module.
|
||||
*
|
||||
* <pre>
|
||||
* angular.module('app', ['ngSanitize']);
|
||||
* </pre>
|
||||
* See {@link ngSanitize.$sanitize `$sanitize`} for usage.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -429,8 +418,10 @@ angular.module('ngSanitize', []).value('$sanitize', $sanitize);
|
|||
* @function
|
||||
*
|
||||
* @description
|
||||
* Finds links in text input and turns them into html links. Supports http/https/ftp/mailto and
|
||||
* plain email address links.
|
||||
* Finds links in text input and turns them into html links. Supports http/https/ftp/mailto and
|
||||
* plain email address links.
|
||||
*
|
||||
* Requires the {@link ngSanitize `ngSanitize`} module to be installed.
|
||||
*
|
||||
* @param {string} text Input text.
|
||||
* @param {string} target Window (_blank|_self|_parent|_top) or named frame to open links in.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue