Permalink
Comparing changes
Open a pull request
- 2 commits
- 2 files changed
- 0 commit comments
- 2 contributors
Commits on May 25, 2016
Corrected formatting errors on lines 258, 695, 696, 1096, 1219, 1451, and 1536 by adding periods at the end of single line comments that were missing them in order to be consistent with the formatting found in the file. Capitalized the first letter in the first word of the comments on lines 695, 696, 1096, to be consistent with the formatting of the rest of the file. Added a space after the // in the comment on line 1536 to be consistent with the formatting of the file. Closes #11832
Unified
Split
Showing
with
8 additions
and 8 deletions.
- +6 −6 src/Angular.js
- +2 −2 src/jqLite.js
| @@ -705,8 +705,8 @@ var escapeForRegexp = function(s) { | ||
| */ | ||
| function isElement(node) { | ||
| return !!(node && | ||
| (node.nodeName // we are a direct element | ||
| || (node.prop && node.attr && node.find))); // we have an on and find method part of jQuery API | ||
| (node.nodeName // We are a direct element. | ||
| || (node.prop && node.attr && node.find))); // We have an on and find method part of jQuery API. | ||
| } | ||
|
|
||
| /** | ||
| @@ -1196,7 +1196,7 @@ function bind(self, fn) { | ||
| : fn.call(self); | ||
| }; | ||
| } else { | ||
| // in IE, native methods are not functions so they cannot be bound (note: they don't need to be) | ||
| // In IE, native methods are not functions so they cannot be bound (note: they don't need to be). | ||
| return fn; | ||
| } | ||
| } | ||
| @@ -1344,7 +1344,7 @@ function tryDecodeURIComponent(value) { | ||
| try { | ||
| return decodeURIComponent(value); | ||
| } catch (e) { | ||
| // Ignore any invalid uri component | ||
| // Ignore any invalid uri component. | ||
| } | ||
| } | ||
|
|
||
| @@ -1589,7 +1589,7 @@ function angularInit(element, bootstrap) { | ||
| module, | ||
| config = {}; | ||
|
|
||
| // The element `element` has priority over any other element | ||
| // The element `element` has priority over any other element. | ||
| forEach(ngAttrPrefixes, function(prefix) { | ||
| var name = prefix + 'app'; | ||
|
|
||
| @@ -1683,7 +1683,7 @@ function bootstrap(element, modules, config) { | ||
|
|
||
| if (element.injector()) { | ||
| var tag = (element[0] === window.document) ? 'document' : startingTag(element); | ||
| //Encode angle brackets to prevent input from being sanitized to empty string #8683 | ||
| // Encode angle brackets to prevent input from being sanitized to empty string #8683. | ||
| throw ngMinErr( | ||
| 'btstrpd', | ||
| "App already bootstrapped with this element '{0}'", | ||
| @@ -82,8 +82,8 @@ | ||
| * - [`removeData()`](http://api.jquery.com/removeData/) | ||
| * - [`replaceWith()`](http://api.jquery.com/replaceWith/) | ||
| * - [`text()`](http://api.jquery.com/text/) | ||
| * - [`toggleClass()`](http://api.jquery.com/toggleClass/) | ||
| * - [`triggerHandler()`](http://api.jquery.com/triggerHandler/) - Passes a dummy event object to handlers. | ||
| * - [`toggleClass()`](http://api.jquery.com/toggleClass/) - Does not support a function as first argument | ||
| * - [`triggerHandler()`](http://api.jquery.com/triggerHandler/) - Passes a dummy event object to handlers | ||
| * - [`unbind()`](http://api.jquery.com/unbind/) - Does not support namespaces or event object as parameter | ||
| * - [`val()`](http://api.jquery.com/val/) | ||
| * - [`wrap()`](http://api.jquery.com/wrap/) | ||