diff --git a/README.md b/README.md index 2f6b830..4c63474 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# [react-hn](http://insin.github.io/react-hn) +# [react-hn](https://insin.github.io/react-hn) A [React](http://facebook.github.io/react) & [react-router](https://github.com/rackt/react-router)-powered implementation of [Hacker News](https://news.ycombinator.com) using its [Firebase API](https://github.com/HackerNews/API). -[![react-hn screenshot](https://github.com/insin/react-hn/raw/master/screenshot.png "New comment highlighting in react-hn")](http://insin.github.io/react-hn) +[![react-hn screenshot](https://github.com/insin/react-hn/raw/master/screenshot.png "New comment highlighting in react-hn")](https://insin.github.io/react-hn) Live version: http://insin.github.io/react-hn diff --git a/package.json b/package.json index 381d27b..cdb8192 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-hn", - "version": "1.4.11", + "version": "1.4.12", "description": "React-powered frontend for Hacker News using its Firebase API", "author": "Jonny Buchanan", "license": "MIT", @@ -19,10 +19,10 @@ "events": "1.1.0", "firebase": "2.4.2", "history": "2.0.1", - "react": "15.0.0", - "react-dom": "15.0.0", - "react-router": "2.0.1", - "react-timeago": "2.2.1", + "react": "15.0.1", + "react-dom": "15.0.1", + "react-router": "2.1.1", + "react-timeago": "3.0.0-beta.3", "reactfire": "0.6.0", "scroll-behavior": "0.3.4", "setimmediate": "1.0.4" diff --git a/src/Item.js b/src/Item.js index f372130..f14a4fc 100644 --- a/src/Item.js +++ b/src/Item.js @@ -1,6 +1,6 @@ var React = require('react') var ReactFireMixin = require('reactfire') -var TimeAgo = require('react-timeago') +var TimeAgo = require('react-timeago').default var HNService = require('./services/HNService') var StoryCommentThreadStore = require('./stores/StoryCommentThreadStore') diff --git a/src/UserProfile.js b/src/UserProfile.js index 3948a19..c7e35d2 100644 --- a/src/UserProfile.js +++ b/src/UserProfile.js @@ -1,6 +1,6 @@ var React = require('react') var ReactFireMixin = require('reactfire') -var TimeAgo = require('react-timeago') +var TimeAgo = require('react-timeago').default var HNService = require('./services/HNService') diff --git a/src/mixins/CommentMixin.js b/src/mixins/CommentMixin.js index 4f027cc..9fef5db 100644 --- a/src/mixins/CommentMixin.js +++ b/src/mixins/CommentMixin.js @@ -1,6 +1,6 @@ var React = require('react') var Link = require('react-router/lib/Link') -var TimeAgo = require('react-timeago') +var TimeAgo = require('react-timeago').default var ItemStore = require('../stores/ItemStore') var SettingsStore = require('../stores/SettingsStore') diff --git a/src/mixins/ItemMixin.js b/src/mixins/ItemMixin.js index 426b878..a4fcd6b 100644 --- a/src/mixins/ItemMixin.js +++ b/src/mixins/ItemMixin.js @@ -1,6 +1,6 @@ var React = require('react') var Link = require('react-router/lib/Link') -var TimeAgo = require('react-timeago') +var TimeAgo = require('react-timeago').default var SettingsStore = require('../stores/SettingsStore') var pluralise = require('../utils/pluralise')