-// Copyright 2011 Paul Felix (paul.eric.felix@gmail.com)
-// All Rights Reserved.
+/*
+ * @license
+ * Copyright 2011 Paul Felix (paul.eric.felix@gmail.com)
+ * MIT-licensed (http://opensource.org/licenses/MIT)
+ */
/**
* @fileoverview This file contains the DygraphRangeSelector class used to provide
java -jar yuicompressor-2.4.2.jar /tmp/dygraph.js \
> /tmp/dygraph-packed.js
-# TODO(danvk): ensure the dygraphs copyright, etc. gets into the packed js.
-
-cat \
-/tmp/dygraph-packed.js \
-> dygraph-combined.js
+(
+ echo '/*! dygraphs v1.2 dygraphs.com | dygraphs.com/license */'
+ cat /tmp/dygraph-packed.js
+) > dygraph-combined.js
chmod a+r dygraph-combined.js
+/**
+ * @license
+ * Copyright 2012 Dan Vanderkam (danvdk@gmail.com)
+ * MIT-licensed (http://opensource.org/licenses/MIT)
+ */
+
Dygraph.Plugins.Legend = (function() {
/*
set -x
site=$1
+
# Produce dygraph-combined.js.
./generate-combined.sh
if [ -s docs/options.html ] ; then
./generate-jsdoc.sh
+ # Make sure everything will be readable on the web.
+ # This is like "chmod -R a+rX", but excludes the .git directory.
+ find . -path ./.git -prune -o -print | xargs chmod a+rX
+
# Copy everything to the site.
rsync -avzr gallery common tests jsdoc experimental plugins $site \
&& \