-
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.
- Loading branch information
Showing
20 changed files
with
356 additions
and
276 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 |
---|---|---|
|
@@ -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
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.
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
Empty file.
Oops, something went wrong.