From 882d31eca577fcb35be2c23995af29f1d6e441ac Mon Sep 17 00:00:00 2001 From: Rufus Pollock Date: Fri, 8 Jun 2012 21:28:07 +0100 Subject: [PATCH] [dist][s]: move recline.js to dist/recline.js. --- _includes/recline-deps.html | 2 +- recline.js => dist/recline.js | 0 download.markdown | 2 +- example-backends.markdown | 2 +- example-quickstart.markdown | 2 +- make | 3 ++- package.json | 2 +- 7 files changed, 7 insertions(+), 6 deletions(-) rename recline.js => dist/recline.js (100%) diff --git a/_includes/recline-deps.html b/_includes/recline-deps.html index d5066d74..71b9c45a 100644 --- a/_includes/recline-deps.html +++ b/_includes/recline-deps.html @@ -29,5 +29,5 @@ --> - + diff --git a/recline.js b/dist/recline.js similarity index 100% rename from recline.js rename to dist/recline.js diff --git a/download.markdown b/download.markdown index 3d66c99c..fd8d381c 100644 --- a/download.markdown +++ b/download.markdown @@ -17,7 +17,7 @@ unit tests, files for debugging and a build system. The production files Just want the all-in-one file containing all of Recline library in a single file? Here it is: -

recline.js all-in-one (master)

+

recline.js all-in-one (master)

[View Changelog](https://github.com/okfn/recline#changelog) diff --git a/example-backends.markdown b/example-backends.markdown index c6480089..918156ba 100644 --- a/example-backends.markdown +++ b/example-backends.markdown @@ -76,7 +76,7 @@ This is as per the [quickstart](example-quickstart.html) but the set of files is - + {% endhighlight %} diff --git a/example-quickstart.markdown b/example-quickstart.markdown index 497df0a5..2e470e50 100644 --- a/example-quickstart.markdown +++ b/example-quickstart.markdown @@ -37,7 +37,7 @@ Before writing any code with Recline, you need to do the following preparation s --> -{% endhighlight %} +{% endhighlight %} 4. Create a div to hold the Recline view(s): {% highlight html %} diff --git a/make b/make index 860faf54..0c51ff41 100755 --- a/make +++ b/make @@ -5,7 +5,8 @@ import os def cat(): print("** Combining js files") - cmd = 'cat src/*.js src/backend/*.js > recline.js' + cmd = 'cat src/*.js src/backend/*.js > dist/recline.js' + cmd = 'cat css/*.css > dist/recline.css' os.system(cmd) def docs(): diff --git a/package.json b/package.json index 300abaff..70d2ad43 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "jquery.mustache" : "" }, "lib" : "src", - "main" : "recline.js", + "main" : "dist/recline.js", "repositories": [ { "type": "git",