diff options
| author | timb <opuscule@gmail.com> | 2015-08-15 15:58:29 -0700 |
|---|---|---|
| committer | timb <opuscule@gmail.com> | 2015-08-15 15:58:29 -0700 |
| commit | f75345e8373988118221935ef743e98bfa693ed8 (patch) | |
| tree | 6c15e6d6e5474784304ca33027df417c50e4b907 /image.html | |
| parent | 930143b966b32649225c2431eba6bbc635630113 (diff) | |
paranoia, use own jquery rather than googles
Diffstat (limited to 'image.html')
| -rw-r--r-- | image.html | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -32,7 +32,7 @@ label { min-width: 70px; display: inline-block; } <input type="text" id="text_style"> </body> -<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> +<script src="js/vendor/jquery-2.1.4.min.js"></script> <script src="js/photo.js"></script> <script src="js/util.js"></script> <script src="/dither/js/color.js"></script> @@ -71,6 +71,7 @@ Photo.fromUrl(url, toCanvas, { width: width, ratio: ratio, neighbor: nn }) url_el.addEventListener('change', function(){ ratio_el.value = ratio = 0 + // url = "http://198.199.72.134/cors/" + url_el.value url = "/cgi-bin/proxy?" + url_el.value Photo.fromUrl(url, toCanvas, { width: width, ratio: ratio, neighbor: nn }) }) |
