Skip to content

Commit

Permalink
Merge pull request #18 from wildlyinaccurate/babel
Browse files Browse the repository at this point in the history
Ditch CoffeeScript in favor of ES2015
  • Loading branch information
wildlyinaccurate committed Jan 15, 2016
2 parents e9fe918 + 66fd820 commit 27cde48
Show file tree
Hide file tree
Showing 19 changed files with 415 additions and 297 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["es2015"]
}
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
sudo: false

language: node_js

node_js:
- 0.12
- node
before_script:
- npm install -g grunt-cli
54 changes: 0 additions & 54 deletions Gruntfile.js

This file was deleted.

8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@ AngularJS filter for creating relative, human-readable dates.

## Usage

Include angular-relative-date.js in your application.
For regular usage, just download and include `dist/angular-relative-date.js` in your application.

```html
<script src="angular-relative-date.js"></script>
```

You can also use the ES6 module directly using a packaging tool like [browserify](http://browserify.org/) or [webpack](https://webpack.github.io/).

```js
import relativeDate from 'angular-relative-date'
```

Add the `relativeDate` module to your application's dependencies.

```js
Expand Down
94 changes: 0 additions & 94 deletions angular-relative-date.coffee

This file was deleted.

115 changes: 0 additions & 115 deletions angular-relative-date.js

This file was deleted.

10 changes: 0 additions & 10 deletions angular-relative-date.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions angular-relative-date.min.js

This file was deleted.

1 change: 0 additions & 1 deletion angular-relative-date.min.js.map

This file was deleted.

Loading

0 comments on commit 27cde48

Please sign in to comment.