-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⬆️ Upgrading To Ember-Cli 3.16 (#65)
* ♻️ Angle Bracket Codemod * ⬆️ v3.14.0...v3.15.2 * v3.15.0 * ⬆️ v3.15.2...v3.16.2 * v3.16.0
- Loading branch information
Showing
36 changed files
with
613 additions
and
769 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
|
||
root = true | ||
|
||
|
||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
root: true, | ||
parser: "babel-eslint", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
# misc | ||
/.bowerrc | ||
/.editorconfig | ||
/.ember-cli.js | ||
/.ember-cli | ||
/.env* | ||
/.eslintignore | ||
/.eslintrc.js | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,23 @@ | ||
/* eslint-env node */ | ||
"use strict"; | ||
|
||
module.exports = { | ||
test_page: 'tests/index.html?hidepassed', | ||
test_page: "tests/index.html?hidepassed", | ||
disable_watching: true, | ||
launch_in_ci: [ | ||
'Chrome' | ||
], | ||
launch_in_dev: [ | ||
'Chrome' | ||
], | ||
launch_in_ci: ["Chrome"], | ||
launch_in_dev: ["Chrome"], | ||
browser_start_timeout: 120, | ||
browser_args: { | ||
Chrome: { | ||
ci: [ | ||
// --no-sandbox is needed when running Chrome inside a container | ||
process.env.CI ? '--no-sandbox' : null, | ||
'--headless', | ||
'--disable-dev-shm-usage', | ||
'--disable-software-rasterizer', | ||
'--mute-audio', | ||
'--remote-debugging-port=0', | ||
'--window-size=1440,900' | ||
].filter(Boolean) | ||
} | ||
} | ||
process.env.CI ? "--no-sandbox" : null, | ||
"--headless", | ||
"--disable-dev-shm-usage", | ||
"--disable-software-rasterizer", | ||
"--mute-audio", | ||
"--remote-debugging-port=0", | ||
"--window-size=1440,900", | ||
].filter(Boolean), | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
tests/dummy/app/controllers/demo/input-text-ctrl-enter-submits.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import InputTextEnterSubmits from './input-text-enter-submits'; | ||
import InputTextEnterSubmits from "./input-text-enter-submits"; | ||
|
||
export default InputTextEnterSubmits.extend({}); | ||
export default class InputTextCtrlEnterSubmitsController extends InputTextEnterSubmits {} |
19 changes: 6 additions & 13 deletions
19
tests/dummy/app/controllers/demo/input-text-enter-submits.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
import Controller from '@ember/controller'; | ||
import Controller from "@ember/controller"; | ||
|
||
export default Controller.extend({ | ||
actions: { | ||
withSubmit(/*event*/) { | ||
window.alert('<form {{action "submitWithOn" on="submit"}}>'); | ||
return false; | ||
}, | ||
|
||
withOnSubmit(/*event*/) { | ||
window.alert('<form onsubmit={{action "submitWithOn"}}>'); | ||
return false; | ||
} | ||
export default class InputTextEnterSubmitsController extends Controller { | ||
withSubmit(/*event*/) { | ||
window.alert('<form {{on "submit" this.withSubmit}}>'); | ||
return false; | ||
} | ||
}); | ||
} |
4 changes: 2 additions & 2 deletions
4
tests/dummy/app/controllers/demo/text-area-ctrl-enter-submits.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import InputTextEnterSubmits from './input-text-enter-submits'; | ||
import InputTextEnterSubmits from "./input-text-enter-submits"; | ||
|
||
export default InputTextEnterSubmits.extend({}); | ||
export default class TextAreaCtrlEnterSubmitsController extends InputTextEnterSubmits {} |
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
tests/dummy/app/templates/acceptance/autofocus-select-text-disabled.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{{input-text value="Autofocus This Text" autofocus=true focusSelectsText?=false}} | ||
<InputText @value="Autofocus This Text" @autofocus={{true}} @focusSelectsText?={{false}} /> |
2 changes: 1 addition & 1 deletion
2
tests/dummy/app/templates/acceptance/autofocus-with-select-text.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{{input-text value="Autofocus This Text" autofocus=true focusSelectsText?=true}} | ||
<InputText @value="Autofocus This Text" @autofocus={{true}} @focusSelectsText?={{true}} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{{input-text class="escape-clears-by-default" value="Escape Clears This Text"}} | ||
{{input-text class="escape-clears-enabled" value="Escape Clears This Text" escapeKeyClears?=true}} | ||
{{input-text class="escape-clears-disabled" value="Escape Will Not Clear This Text" escapeKeyClears?=false}} | ||
<InputText @class="escape-clears-by-default" @value="Escape Clears This Text" /> | ||
<InputText @class="escape-clears-enabled" @value="Escape Clears This Text" @escapeKeyClears?={{true}} /> | ||
<InputText @class="escape-clears-disabled" @value="Escape Will Not Clear This Text" @escapeKeyClears?={{false}} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{{input-text class="select-enabled" value="Select This Text" focusSelectsText?=true}} | ||
<InputText @class="select-enabled" @value="Select This Text" @focusSelectsText?={{true}} /> | ||
|
||
{{input-text class="select-disabled" value="Text Will Not Select On Focus" focusSelectsText?=false}} | ||
<InputText @class="select-disabled" @value="Text Will Not Select On Focus" @focusSelectsText?={{false}} /> |
Oops, something went wrong.