diff --git a/archive/v0.1.17/component.json b/archive/v0.1.17/component.json index ff7018cb..7ad975f9 100644 --- a/archive/v0.1.17/component.json +++ b/archive/v0.1.17/component.json @@ -4,7 +4,7 @@ "keywords": ["mvc", "framework"], "repository": "lhorie/mithril", "main": "mithril.js", - "scripts": ["mithril.min.js", "mithril.min.map", "mithril.js"], + "scripts": ["mithril.js"], "version": "0.1.17", "license": "MIT" } \ No newline at end of file diff --git a/archive/v0.1.17/installation.html b/archive/v0.1.17/installation.html index 5dd03bc0..1073c748 100644 --- a/archive/v0.1.17/installation.html +++ b/archive/v0.1.17/installation.html @@ -85,7 +85,7 @@

And you can download Mithril by typing this:

component install lhorie/mithril

Then, to use Mithril, point a script tag to the downloaded file:

-
<script src="/components/lhorie/mithril/master/mithril.min.js"></script>
+
<script src="/components/lhorie/mithril/master/mithril.js"></script>

Rails

Jordan Humphreys created a gem to allow integration with Rails:

diff --git a/archive/v0.1.17/mithril.min.zip b/archive/v0.1.17/mithril.min.zip index 63aa8695..beccdcc0 100644 Binary files a/archive/v0.1.17/mithril.min.zip and b/archive/v0.1.17/mithril.min.zip differ diff --git a/deploy/cdnjs-package.json b/deploy/cdnjs-package.json index d431fe27..cd995f3e 100644 --- a/deploy/cdnjs-package.json +++ b/deploy/cdnjs-package.json @@ -19,5 +19,15 @@ "repository": { "type": "git", "url": "https://github.com/lhorie/mithril.js.git" - } + }, + "npmFileMap": [ + { + "basePath": "/", + "files": [ + "mithril.js", + "mithril.min.js", + "mithril.min.map" + ] + } + ] } diff --git a/docs/installation.md b/docs/installation.md index 6913ff68..7528014e 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -99,7 +99,7 @@ component install lhorie/mithril Then, to use Mithril, point a script tag to the downloaded file: ```markup - + ``` ---