lib/pakyow/application/behavior/assets/externals.rb in pakyow-assets-1.0.1 vs lib/pakyow/application/behavior/assets/externals.rb in pakyow-assets-1.0.2

- old
+ new

@@ -21,13 +21,17 @@ assets_config.externals.scripts << Pakyow::Assets::External.new( name, version: version, package: package, files: files, config: assets_config ) end + private def pakyow_js_version + "^1.0.0" + end + apply_extension do after "boot", "fetch.assets.externals" do if config.assets.externals.pakyow - external_script :pakyow, "^1.0.0", package: "@pakyow/js", files: [ + external_script :pakyow, pakyow_js_version, package: "@pakyow/js", files: [ "dist/pakyow.js", "dist/components/confirmable.js", "dist/components/form.js", "dist/components/freshener.js", "dist/components/navigator.js",