Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

[Cleanup] eslint spaced-comment #739

Merged
merged 1 commit into from
Oct 14, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/admin/query/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ export default Ember.Controller.extend(EditPanelProps, {

results.forEach(function(result) {
let resultRow = [];
/*resultRow.push({
/* resultRow.push({
name: 'id',
value: result.get('id')
});*/
}); */
attributes.forEach(function(attribute) {
currentValue = result.get(attribute);
if (!Ember.isEmpty(currentValue)) {
Expand Down
2 changes: 1 addition & 1 deletion app/components/charge-quantity.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default Ember.Component.extend({
tagName: 'td',
pricingItem: null,

didReceiveAttrs(/*attrs*/) {
didReceiveAttrs(/* attrs */) {
this._super(...arguments);
this.quantitySelected = Ember.computed.alias('model.' + this.get('pricingItem.id'));
},
Expand Down
2 changes: 1 addition & 1 deletion app/components/date-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default HtmlInput.extend({
this.set('_picker', picker);
},

didReceiveAttrs(/*attrs*/) {
didReceiveAttrs(/* attrs */) {
this._super(...arguments);
let dateProperty = this.get('mainComponent.property');
let displayPropertyName = 'display_' + dateProperty;
Expand Down
8 changes: 4 additions & 4 deletions app/components/take-photo.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default Ember.Component.extend({
],
setupCamera: false,

/***
/**
* Setup the specified camera
*/
_cameraChange: function(selectedCamera) {
Expand All @@ -47,7 +47,7 @@ export default Ember.Component.extend({
console.log('navigator.getUserMedia error: ', error);
},

/***
/**
* Callback for MediaStreamTrack.getSources
*/
_gotSources: function(sourceInfos) {
Expand All @@ -74,7 +74,7 @@ export default Ember.Component.extend({
}
},

/***
/**
* Callback handler for getUserMedia.
*/
_gotStream: function(stream) {
Expand Down Expand Up @@ -128,7 +128,7 @@ export default Ember.Component.extend({
video.addEventListener('canplay', this._setupVideo.bind(this), false);
},

/***
/**
* Setup the dimensions for the video preview and picture elements.
*/
_setupVideo: function() {
Expand Down
2 changes: 1 addition & 1 deletion app/models/inv-location.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ let InventoryLocation = AbstractModel.extend(LocationName, {
}
},
acceptance: {
/***
/**
* Validate that the adjustment quantity is a number and that if a deduction there are enough items to deduct
*/
accept: true,
Expand Down
4 changes: 2 additions & 2 deletions app/models/invoice.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ export default AbstractModel.extend(DateFormat, NumberFormat, {
paymentProfile: DS.belongsTo('price-profile', {
async: false
}),
/*payments track the number of payment events attached to an invoice.*/
// payments track the number of payment events attached to an invoice.
payments: DS.hasMany('payment', {
async: false
}),
/*the individual line items of the invoice*/
// the individual line items of the invoice
lineItems: DS.hasMany('billing-line-item', {
async: false
}),
Expand Down