Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

Commit

Permalink
Use wrapped Atmosphere version of html-to-text module
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbrook committed Nov 29, 2016
1 parent ae7df04 commit f8cc1a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
1 change: 1 addition & 0 deletions example/.meteor/versions
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ kadira:[email protected]
[email protected]
[email protected]
lookback:[email protected]
lookback:[email protected]_2
[email protected]
[email protected]
meteorhacks:[email protected]
Expand Down
6 changes: 3 additions & 3 deletions lib/utils.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// # Utils package for `lookback:emails`

const fs = Npm.require('fs');
const Path = Npm.require('path');
const htmlToText = Npm.require('html-to-text');
import fs from 'fs';
import Path from 'path';
import { htmlToText } from 'meteor/lookback:html-to-text';

const isDevEnv = process.env.NODE_ENV === 'development';
const minorVersion = parseInt(Meteor.release.split('.')[1], 10);
Expand Down
7 changes: 2 additions & 5 deletions package.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ Package.describe({
git: 'https://github.com/lookback/meteor-emails.git'
});

Npm.depends({
'html-to-text': '2.1.3'
});

Package.onUse(function(api) {

api.versionsFrom('1.0.4');
Expand All @@ -29,7 +25,8 @@ Package.onUse(function(api) {
'email',
'sacha:[email protected]',
'meteorhacks:[email protected]',
'meteorhacks:[email protected]'
'meteorhacks:[email protected]',
'lookback:[email protected]_2'
], where);

api.addFiles([
Expand Down

0 comments on commit f8cc1a3

Please sign in to comment.