From afe68f04e671a4a3cc311597c51830ee146170b6 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Tue, 1 Sep 2015 16:26:55 +1000 Subject: [PATCH] Updated to new syntax + linted --- package.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/package.js b/package.js index 95de09c..1f3d3ed 100644 --- a/package.js +++ b/package.js @@ -1,17 +1,17 @@ -var Version = "v1.9"; +var Version = 'v1.9'; Package.describe({ - summary: "Icons for Percolate, version" + Version + summary: 'Icons for Percolate, version' + Version }); -Package.on_use(function (api) { +Package.onUse(function(api) { var path = Npm.require('path'); - var asset_path = path.join(Version); + var assetPath = path.join(Version); - api.add_files(path.join(asset_path, 'fonts', 'percolate.eot'), 'client'); - api.add_files(path.join(asset_path, 'fonts', 'percolate.svg'), 'client'); - api.add_files(path.join(asset_path, 'fonts', 'percolate.ttf'), 'client'); - api.add_files(path.join(asset_path, 'fonts', 'percolate.woff'), 'client'); + api.addFiles(path.join(assetPath, 'fonts', 'percolate.eot'), 'client', {isAsset: true}); + api.addFiles(path.join(assetPath, 'fonts', 'percolate.svg'), 'client', {isAsset: true}); + api.addFiles(path.join(assetPath, 'fonts', 'percolate.ttf'), 'client', {isAsset: true}); + api.addFiles(path.join(assetPath, 'fonts', 'percolate.woff'), 'client', {isAsset: true}); - api.add_files(path.join('edited-style.css'), 'client'); -}); \ No newline at end of file + api.addFiles(path.join('edited-style.css'), 'client'); +});