Skip to content

Commit

Permalink
Merge pull request #1319 from Automattic/fix/discover-recordTrack
Browse files Browse the repository at this point in the history
Reader: Use require instead of import for reader/stats
  • Loading branch information
mjangda committed Dec 7, 2015
2 parents dcbeb8a + d1f0dbc commit b33faee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/reader/site-stream/featured.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ import Card from 'components/card';
import page from 'page';
import PostStore from 'lib/feed-post-store';
import FeedPostStoreActions from 'lib/feed-post-store/actions';
import stats from 'reader/stats';

// HACK: using import does not export recordTrack
var stats = require( 'reader/stats' );

export default React.createClass( {
displayName: 'FeedFeatured',
Expand Down

0 comments on commit b33faee

Please sign in to comment.