Remove _legacyUndefinedCheck from the behavior test modules
Change-Id: I40fd57af6e2d422ebcad0116a0a9d44d995fad4f
This commit is contained in:

committed by
David Pursehouse

parent
1b9d4b777f
commit
0a7664a71b
@@ -54,7 +54,6 @@ limitations under the License.
|
|||||||
// Define a Polymer element that uses this behavior.
|
// Define a Polymer element that uses this behavior.
|
||||||
Polymer({
|
Polymer({
|
||||||
is: 'test-element',
|
is: 'test-element',
|
||||||
_legacyUndefinedCheck: true,
|
|
||||||
behaviors: [
|
behaviors: [
|
||||||
Gerrit.BaseUrlBehavior,
|
Gerrit.BaseUrlBehavior,
|
||||||
],
|
],
|
||||||
|
@@ -40,7 +40,6 @@ limitations under the License.
|
|||||||
// Define a Polymer element that uses this behavior.
|
// Define a Polymer element that uses this behavior.
|
||||||
Polymer({
|
Polymer({
|
||||||
is: 'docs-url-behavior-element',
|
is: 'docs-url-behavior-element',
|
||||||
_legacyUndefinedCheck: true,
|
|
||||||
behaviors: [Gerrit.DocsUrlBehavior],
|
behaviors: [Gerrit.DocsUrlBehavior],
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -48,7 +48,6 @@ limitations under the License.
|
|||||||
// Define a Polymer element that uses this behavior.
|
// Define a Polymer element that uses this behavior.
|
||||||
Polymer({
|
Polymer({
|
||||||
is: 'test-element',
|
is: 'test-element',
|
||||||
_legacyUndefinedCheck: true,
|
|
||||||
behaviors: [Gerrit.DomUtilBehavior],
|
behaviors: [Gerrit.DomUtilBehavior],
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -40,7 +40,6 @@ limitations under the License.
|
|||||||
// Define a Polymer element that uses this behavior.
|
// Define a Polymer element that uses this behavior.
|
||||||
Polymer({
|
Polymer({
|
||||||
is: 'test-element',
|
is: 'test-element',
|
||||||
_legacyUndefinedCheck: true,
|
|
||||||
behaviors: [Gerrit.AccessBehavior],
|
behaviors: [Gerrit.AccessBehavior],
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -43,7 +43,6 @@ limitations under the License.
|
|||||||
// Define a Polymer element that uses this behavior.
|
// Define a Polymer element that uses this behavior.
|
||||||
Polymer({
|
Polymer({
|
||||||
is: 'test-element',
|
is: 'test-element',
|
||||||
_legacyUndefinedCheck: true,
|
|
||||||
behaviors: [
|
behaviors: [
|
||||||
Gerrit.AdminNavBehavior,
|
Gerrit.AdminNavBehavior,
|
||||||
],
|
],
|
||||||
|
@@ -50,7 +50,6 @@ limitations under the License.
|
|||||||
// Define a Polymer element that uses this behavior.
|
// Define a Polymer element that uses this behavior.
|
||||||
Polymer({
|
Polymer({
|
||||||
is: 'test-element',
|
is: 'test-element',
|
||||||
_legacyUndefinedCheck: true,
|
|
||||||
behaviors: [Gerrit.ChangeTableBehavior],
|
behaviors: [Gerrit.ChangeTableBehavior],
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -46,7 +46,6 @@ limitations under the License.
|
|||||||
// Define a Polymer element that uses this behavior.
|
// Define a Polymer element that uses this behavior.
|
||||||
Polymer({
|
Polymer({
|
||||||
is: 'test-element-anon',
|
is: 'test-element-anon',
|
||||||
_legacyUndefinedCheck: true,
|
|
||||||
behaviors: [
|
behaviors: [
|
||||||
Gerrit.DisplayNameBehavior,
|
Gerrit.DisplayNameBehavior,
|
||||||
],
|
],
|
||||||
|
@@ -42,7 +42,6 @@ limitations under the License.
|
|||||||
// Define a Polymer element that uses this behavior.
|
// Define a Polymer element that uses this behavior.
|
||||||
Polymer({
|
Polymer({
|
||||||
is: 'test-element',
|
is: 'test-element',
|
||||||
_legacyUndefinedCheck: true,
|
|
||||||
behaviors: [Gerrit.ListViewBehavior],
|
behaviors: [Gerrit.ListViewBehavior],
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -53,7 +53,6 @@ limitations under the License.
|
|||||||
// Define a Polymer element that uses this behavior.
|
// Define a Polymer element that uses this behavior.
|
||||||
Polymer({
|
Polymer({
|
||||||
is: 'tooltip-behavior-element',
|
is: 'tooltip-behavior-element',
|
||||||
_legacyUndefinedCheck: true,
|
|
||||||
behaviors: [Gerrit.TooltipBehavior],
|
behaviors: [Gerrit.TooltipBehavior],
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -42,7 +42,6 @@ limitations under the License.
|
|||||||
// Define a Polymer element that uses this behavior.
|
// Define a Polymer element that uses this behavior.
|
||||||
Polymer({
|
Polymer({
|
||||||
is: 'test-element',
|
is: 'test-element',
|
||||||
_legacyUndefinedCheck: true,
|
|
||||||
behaviors: [Gerrit.URLEncodingBehavior],
|
behaviors: [Gerrit.URLEncodingBehavior],
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -52,7 +52,6 @@ limitations under the License.
|
|||||||
// Define a Polymer element that uses this behavior.
|
// Define a Polymer element that uses this behavior.
|
||||||
Polymer({
|
Polymer({
|
||||||
is: 'test-element',
|
is: 'test-element',
|
||||||
_legacyUndefinedCheck: true,
|
|
||||||
behaviors: [Gerrit.KeyboardShortcutBehavior],
|
behaviors: [Gerrit.KeyboardShortcutBehavior],
|
||||||
keyBindings: {
|
keyBindings: {
|
||||||
k: '_handleKey',
|
k: '_handleKey',
|
||||||
|
@@ -56,7 +56,6 @@ limitations under the License.
|
|||||||
// Define a Polymer element that uses this behavior.
|
// Define a Polymer element that uses this behavior.
|
||||||
Polymer({
|
Polymer({
|
||||||
is: 'test-element',
|
is: 'test-element',
|
||||||
_legacyUndefinedCheck: true,
|
|
||||||
behaviors: [
|
behaviors: [
|
||||||
Gerrit.BaseUrlBehavior,
|
Gerrit.BaseUrlBehavior,
|
||||||
Gerrit.RESTClientBehavior,
|
Gerrit.RESTClientBehavior,
|
||||||
|
@@ -41,7 +41,6 @@ limitations under the License.
|
|||||||
suiteSetup(() => {
|
suiteSetup(() => {
|
||||||
Polymer({
|
Polymer({
|
||||||
is: 'safe-types-element',
|
is: 'safe-types-element',
|
||||||
_legacyUndefinedCheck: true,
|
|
||||||
behaviors: [Gerrit.SafeTypes],
|
behaviors: [Gerrit.SafeTypes],
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user