-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Ember CLI 2.16.2 #503
Conversation
…s currently broken
@@ -523,7 +529,7 @@ export default Component.extend({ | |||
|
|||
case TAB: | |||
this.get('onClose')() | |||
return | |||
return // eslint-disable-line no-useless-return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the return
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will open an issue for us to refactor this code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue opened to track this: #506
@@ -1,6 +1,5 @@ | |||
/* global $ */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove and import from jquery
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
@@ -0,0 +1,21 @@ | |||
import destroyApp from '../helpers/destroy-app' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't need this file, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
@@ -14,14 +13,14 @@ describe(test.label, function () { | |||
beforeEach(function () { | |||
component = this.subject({ | |||
_setupAssertions: function () { | |||
return | |||
return // eslint-disable-line no-useless-return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the return
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
const spyOn = sinon.spy($.fn, 'on') | ||
const spyOff = sinon.spy($.fn, 'off') | ||
|
||
component.set('onScrollUp', function () { return }) | ||
component.set('onScrollUp', function () { return }) // eslint-disable-line no-useless-return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the return
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
const spyOn = sinon.spy($.fn, 'on') | ||
const spyOff = sinon.spy($.fn, 'off') | ||
|
||
component.set('onScrollLeft', function () { return }) | ||
component.set('onScrollLeft', function () { return }) // eslint-disable-line no-useless-return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the return
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
const spyOn = sinon.spy($.fn, 'on') | ||
const spyOff = sinon.spy($.fn, 'off') | ||
|
||
component.set('onMouseEnter', function () { return }) | ||
component.set('onMouseEnter', function () { return }) // eslint-disable-line no-useless-return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the return
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
const spyOn = sinon.spy($.fn, 'on') | ||
const spyOff = sinon.spy($.fn, 'off') | ||
|
||
component.set('onScrollRight', function () { return }) | ||
component.set('onScrollRight', function () { return }) // eslint-disable-line no-useless-return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the return
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -1,19 +1,19 @@ | |||
const consumer = require('../../../../lib/utils/consumer') | |||
const expect = require('chai').expect | |||
// const consumer = require('../../../../lib/utils/consumer') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Get rid of the file instead of commenting out? Or use .skip()
?
}) | ||
}) | ||
}) | ||
// const expect = require('chai').expect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Get rid of the file instead of commenting out? Or use .skip()
?
It was necessary to temporarily not run ember-try scenario |
This project uses semver, please check the scope of this pr:
CHANGELOG