We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62ce314 commit de0ac5aCopy full SHA for de0ac5a
2 files changed
lib/mixins/disable-upgrade-mixin.html
@@ -9,6 +9,7 @@
9
-->
10
<script>
11
(function() {
12
+ 'use strict';
13
14
const DISABLED_ATTR = 'disable-upgrade';
15
@@ -79,7 +80,8 @@
79
80
}
81
82
- }
83
+ };
84
+
85
});
86
87
})();
test/unit/disable-upgrade.html
@@ -39,7 +39,7 @@ <h2 id="element">[[prop]]</h2>
39
prop: {
40
type: String
41
42
43
44
constructor() {
45
super();
@@ -71,7 +71,7 @@ <h2 id="element">[[prop]]</h2>
71
static get properties() {
72
return {
73
upgradeDisabled: {value: true}
74
75
76
enable() {
77
this.$.disabledEl.removeAttribute('disable-upgrade');
0 commit comments