Permalink
Browse files

Fix examples so they work with symlink to latest minimized Scribl lib

  • Loading branch information...
1 parent ec5147a commit 5df5c622ff21fad7bc49b9c5ed34dafa7c3180a5 @chmille4 committed Nov 27, 2012
Showing with 10 additions and 33 deletions.
  1. +1 −0 Scribl.min.js
  2. +2 −14 examples/benchmark.html
  3. +1 −1 examples/exportSvg.html
  4. +1 −1 examples/genbank.html
  5. +1 −1 examples/simple.html
  6. +2 −16 examples/viewer.html
  7. +2 −0 utils/compile.rb
View
View
@@ -1,20 +1,8 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
- <!--<script src="../Scribl.min.js" ></script>-->
- <script src="../src/Scribl.class.js" ></script>
- <script src="../src/Scribl.js" ></script>
- <script src="../src/Scribl.track.js" ></script>
- <script src="../src/Scribl.lane.js" ></script>
- <script src="../src/Scribl.events.js" ></script>
- <script src="../src/Scribl.utils.js" ></script>
- <script src="../src/Scribl.svg.js" ></script>
- <script src="../src/Scribl.glyph.js" ></script>
- <script src="../src/glyph/Scribl.blockarrow.js" ></script>
- <script src="../src/glyph/Scribl.arrow.js" ></script>
- <script src="../src/glyph/Scribl.rect.js" ></script>
- <script src="../src/glyph/Scribl.line.js" ></script>
- <script src="../src/glyph/Scribl.complex.js" ></script>
+ <script src="../Scribl.min.js" ></script>
+
<script src="../lib/Scribl.benchmark.js" ></script>
<link rel="stylesheet" type="text/css" href="demos.css" />
View
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
- <script src="../Scribl.1.1.3.min.js" ></script>
+ <script src="../Scribl.min.js" ></script>
<script src="../lib/Scribl.src.js" ></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
View
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
- <script src="../Scribl.1.1.3.min.js" ></script>
+ <script src="../Scribl.min.js" ></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/dragscrollable.js"></script>
View
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
- <script src="../Scribl.1.1.3.min.js" ></script>
+ <script src="../Scribl.min.js" ></script>
<link rel="stylesheet" type="text/css" href="demos.css" />
<script>
View
@@ -2,22 +2,8 @@
<html lang="en">
<head>
<title>Scribl - viewer</title>
- <!-- <script src="../Scribl.min.js" ></script> -->
- <script src="../src/Scribl.class.js" ></script>
- <script src="../src/Scribl.js" ></script>
- <script src="../src/Scribl.track.js" ></script>
- <script src="../src/Scribl.lane.js" ></script>
- <script src="../src/Scribl.tooltips.js" ></script>
- <script src="../src/Scribl.events.js" ></script>
- <script src="../src/Scribl.utils.js" ></script>
- <script src="../src/Scribl.svg.js" ></script>
- <script src="../src/Scribl.glyph.js" ></script>
- <script src="../src/glyph/Scribl.blockarrow.js" ></script>
- <script src="../src/glyph/Scribl.arrow.js" ></script>
- <script src="../src/glyph/Scribl.rect.js" ></script>
- <script src="../src/glyph/Scribl.line.js" ></script>
- <script src="../src/glyph/Scribl.complex.js" ></script>
- <script src="../src/parsers/genbank.js" ></script>
+ <script src="../Scribl.min.js" ></script>
+
View
@@ -4,3 +4,5 @@
output_filename = 'Scribl.' + version.chomp + '.min.js'
`java -jar #{closure_path} --js src/Scribl.class.js --js src/Scribl.js --js src/Scribl.track.js --js src/Scribl.lane.js --js src/Scribl.tooltips.js --js src/Scribl.events.js --js src/Scribl.utils.js --js src/Scribl.svg.js --js src/Scribl.glyph.js --js src/glyph/Scribl.blockarrow.js --js src/glyph/Scribl.rect.js --js src/glyph/Scribl.seq.js --js src/glyph/Scribl.line.js --js src/glyph/Scribl.complex.js --js src/glyph/Scribl.arrow.js --js src/parsers/genbank.js --js src/parsers/bed.js --js_output_file #{output_filename}`
+
+`ln -s #{output_filename} Scribl.min.js`

0 comments on commit 5df5c62

Please sign in to comment.