-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from html-next/chore/upgrade-3-1
Upgrade for ember 3.x; remove babel warning; remove bower;
- Loading branch information
Showing
43 changed files
with
2,129 additions
and
1,554 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
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,20 +1,19 @@ | ||
import Ember from 'ember'; | ||
import Component from '@ember/component'; | ||
import layout from '../templates/components/fast-action'; | ||
import { htmlSafe } from "@ember/string"; | ||
|
||
const { SafeString } = Ember.Handlebars; | ||
export default Ember.Component.extend({ | ||
export default Component.extend({ | ||
layout: layout, | ||
|
||
tagName: 'button', | ||
attributeBindings: ['style', 'type'], | ||
style: new SafeString('touch-action: manipulation; -ms-touch-action: manipulation;'), | ||
style: htmlSafe('touch-action: manipulation; -ms-touch-action: manipulation;'), | ||
type: 'button', | ||
text: '', | ||
action: '', | ||
context: '', | ||
|
||
click: function() { | ||
this.sendAction('action', this.get('context')); | ||
this.sendAction('action', this.get('context')); // eslint-disable-line | ||
} | ||
|
||
}); |
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,18 +1,14 @@ | ||
import Ember from 'ember'; | ||
import layout from '../templates/components/fast-async'; | ||
import asyncAction from './async-element'; | ||
|
||
const { SafeString } = Ember.Handlebars; | ||
import { htmlSafe } from "@ember/string"; | ||
|
||
export default asyncAction.extend({ | ||
|
||
layout: layout, | ||
tagName: 'button', | ||
attributeBindings: ['style', 'disabled', 'type'], | ||
style: new SafeString('touch-action: manipulation; -ms-touch-action: manipulation;'), | ||
style: htmlSafe('touch-action: manipulation; -ms-touch-action: manipulation;'), | ||
type: 'button', | ||
text: '', | ||
context: null | ||
|
||
}); | ||
|
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
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
Oops, something went wrong.