diff --git a/package.js b/package.js index 2d61645..71d6943 100644 --- a/package.js +++ b/package.js @@ -1,17 +1,17 @@ var Version = "v2.3"; Package.describe({ - summary: "Icons for Percolate, version" + Version + summary: 'Icons for Percolate, version' + Version }); -Package.on_use(function(api) { - var path = Npm.require("path"); +Package.onUse(function(api) { + var path = Npm.require('path'); var assetPath = path.join(Version); - api.add_files(path.join(assetPath, "fonts", "percolate.eot"), "client"); - api.add_files(path.join(assetPath, "fonts", "percolate.svg"), "client"); - api.add_files(path.join(assetPath, "fonts", "percolate.ttf"), "client"); - api.add_files(path.join(assetPath, "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"); + api.addFiles(path.join('edited-style.css'), 'client'); });