Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 532123a

Browse files
committed
fixup! feat($compile): add support for arbitrary property and event bindings
1 parent 04224c7 commit 532123a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/ng/compile.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1601,9 +1601,9 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
16011601
*
16021602
* Defines the security context for HTML properties bound by ng-prop-*
16031603
*
1604-
* @param {string} the context type
1605-
* @param {string} the element name or '*' to match any element
1606-
* @param {string} the property name
1604+
* @param {string} ctx the context type
1605+
* @param {string} elementName the element name or '*' to match any element
1606+
* @param {string} propertyName the property name
16071607
*/
16081608
this.addPropertyContext = function(ctx, elementName, propertyName) {
16091609
PROP_CONTEXTS[(elementName.toLowerCase() + '|' + propertyName.toLowerCase())] = ctx;

src/ng/directive/ngEventDirs.js

-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ forEach(
5959
function createEventDirective($parse, $rootScope, attrName, eventName, forceAsync) {
6060
return {
6161
restrict: 'A',
62-
priority: 0,
6362
compile: function($element, attr) {
6463
// NOTE:
6564
// We expose the powerful `$event` object on the scope that provides access to the Window,

0 commit comments

Comments
 (0)