Skip to content

Commit

Permalink
fix(): fix jshint's
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiocro committed Jul 31, 2015
1 parent 1fcd54b commit b8c24af
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Client
# Tektroniks Metacatalog Client [![Build Status](https://travis-ci.org/claudiocro/tektronix-metacatalog-client.svg)](https://travis-ci.org/claudiocro/tektronix-metacatalog-client)

Tektronix Metacatalog Client

For more infos checkout out: https://github.com/claudiocro/tektronix-metacatalog-sane

This README outlines the details of collaborating on this Ember application.
A short introduction of this app could easily go here.

## Prerequisites

Expand All @@ -25,10 +27,6 @@ You will need the following things properly installed on your computer.
* `ember server`
* Visit your app at [http://localhost:4200](http://localhost:4200).

### Code Generators

Make use of the many generators for code, try `ember help generate` for more details

### Running Tests

* `ember test`
Expand Down
7 changes: 4 additions & 3 deletions app/models/modelhit.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ export default DS.Model.extend({
var modelpage = this.get('modelpages');
var hit;

var findHit = function(item) {
return item.get('page') === self.get('page') && i ===item.get('catalog.year');
};
for(var i=this.get('start'); i<=this.get('last'); i++){
hit = modelpage.find(function(item) {
return item.get('page') === self.get('page') && i ===item.get('catalog.year');
});
hit = modelpage.find(findHit);
if(!hit) {
range.push(i);
}
Expand Down
1 change: 0 additions & 1 deletion app/pods/modelhit/suggestions/route.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Ember from 'ember';
import Modelpage from 'client/models/modelpage';

export default Ember.Route.extend({
model: function() {
Expand Down

0 comments on commit b8c24af

Please sign in to comment.