Skip to content

Commit

Permalink
fixed some problems with jshint
Browse files Browse the repository at this point in the history
  • Loading branch information
gerard2perez committed Sep 22, 2015
1 parent b4eaba6 commit 2cc184c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 20 deletions.
22 changes: 6 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ Please let me know about anything you find is not working, or maybe some feature
ember install ember-cli-crudtable
```

or

```
ember install:addon ember-cli-crudtable
```

After this you must install boostrap with bower

```
Expand All @@ -42,25 +36,21 @@ bower install bootstrap

##Current Status ![Current NPM](https://img.shields.io/github/tag/gerard2p/ember-cli-crudtable.svg)

(I'm not using any versioning convention, instead i'm just using the current date)

And I'll be releasing a new version every month or every 5 features I add.
I'm now using a Mayor/Minor/Revision notation.

You can use the next command to get the latest build
So we can now use the npm notation correctly.

```
ember install ember-cli-crudtable@beta
```

or

```
ember install:addon ember-cli-crudtable@beta
```

---

##Changelog

### v1.0.0
Since this versión I'll put the changelog on the release section.

Maybe you want one of the older relases.
### v0.4.2
I made a lot of mistakes and v0.4.1 it's actually version v0.4.2 and accidentally I removed all the other versions from npm, but don't worry this version is still backwards compatible.
Expand Down
6 changes: 4 additions & 2 deletions addon/components/crud-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ var regenerateView = function(cmp) {
Value: data,
Choose: cmp.fields[field].OnChoose,
Display: DF.format(data, cmp.fields[field].Format),
List: cmp.fields[field].List === true,
List: cmp.fields[field].List === false ? true:false,
Suffix: cmp.fields[field].Suffix,
Prefix: cmp.fields[field].Prefix,
Label: cmp.fields[field].Label,
Expand Down Expand Up @@ -187,7 +187,9 @@ var regenerateView = function(cmp) {
};
var showmodal = function() {
modalpromise = Ember.RSVP.defer('crud-table#showingmodal');
$("#CrudTableDeleteRecordModal").modal('show');
var modal = $("#CrudTableDeleteRecordModal");
console.log($.fn.modal);
modal.modal('show');
};
var metadata = function(records, that) {
var inflector = new Ember.Inflector(Ember.Inflector.defaultRules);
Expand Down
1 change: 0 additions & 1 deletion addon/utils/dateformat.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import Ember from 'ember';
/*
* Date Format 1.2.3
* (c) 2007-2009 Steven Levithan <stevenlevithan.com>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-cli-crudtable",
"version": "1.0.1",
"version": "1.0.2",
"description": "This addon allows you to easly create a CRUD Table, it will take you only 5s!.",
"directories": {
"doc": "doc",
Expand Down

0 comments on commit 2cc184c

Please sign in to comment.