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

Commit 00f2f32

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/compile.js

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

0 commit comments

Comments
 (0)