Fix ghosting issues when viewing graphs with browser zoomed out.
--- /dev/null
+Filing a bug report? Please include the following:
+
+1. Link to a page which demonstrates the problem, preferably a jsfiddle (use [this jsfiddle](http://dygraphs.com/fiddle) as a template)
+2. Browser and Operating System that exhibit the problem
+
+It also helps if you include the non-compacted version of the JS on your
+page. For instance, instead of doing this:
+
+```html
+<script type="text/javascript" src="dygraph-combined.js"></script>
+```
+
+do this:
+
+```html
+<script type="text/javascript" src="dygraph-dev.js"></script>
+```
+
+This makes error messages and debugging simpler. The jsfiddle does this automatically.
+
+Sending a Pull Request? See our [guide to making dygraphs contributions](http://dygraphs.com/changes.html).
test:
@./test.sh
+ @./check-combined-unaffected.sh
test-combined: move-combined test clean-combined-test
{
"name": "dygraphs",
- "version": "v1.0.1-bower",
+ "version": "v1.0.1+bower",
"main": "dygraph-combined.js",
"ignore": [
"Makefile",
"package.json",
"phantom-driver.js",
"phantom-perf.js",
- "push-to-web.sh"
+ "push-to-web.sh",
"release.sh",
"releases.json",
"screenshot.png",
"test.sh",
"tests",
"thumbnail.png",
- "yuicompressor-2.4.2.jar",
+ "yuicompressor-2.4.2.jar"
]
}
--- /dev/null
+#!/bin/bash
+# Ensures that dygraph-combined.js is unaffected.
+# Helpful for pull requests, where this is a common mistake.
+
+grep 'var' dygraph-combined.js > /dev/null
+if [ $? -eq 0 ]; then
+ echo 'Please revert changes to dygraph-combined.js' >&2
+ echo 'You can do this by running: ' >& 2
+ echo '' >& 2
+ echo ' git checkout dygraph-combined.js' >&2
+ echo '' >& 2
+ exit 1
+fi
+
+exit 0
exit 1
fi
+grep "$VERSION" package.json
+if [ $? -ne 0 ]; then
+ echo "Version in package.json doesn't match command line argument." >&2
+ exit 1
+fi
+
+grep "v$VERSION" bower.json
+if [ $? -ne 0 ]; then
+ echo "Version in bower.json doesn't match command line argument." >&2
+ exit 1
+fi
+
make lint test test-combined
if [ $? -ne 0 ]; then
echo "Tests failed. Won't release!" >&2