We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 532123a commit 00f2f32Copy full SHA for 00f2f32
src/ng/compile.js
@@ -1601,11 +1601,11 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
1601
*
1602
* Defines the security context for HTML properties bound by ng-prop-*
1603
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
+ * @param {string} ctx the context type
1607
*/
1608
- this.addPropertyContext = function(ctx, elementName, propertyName) {
+ this.addPropertyContext = function(elementName, propertyName, ctx) {
1609
PROP_CONTEXTS[(elementName.toLowerCase() + '|' + propertyName.toLowerCase())] = ctx;
1610
};
1611
0 commit comments