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'); +});