sketchily 4.0.0 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (273) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -2
  3. data/app/assets/javascripts/sketchily.js +10 -10
  4. data/app/assets/javascripts/sketchily.js~ +10 -2
  5. data/app/assets/javascripts/{base64.js → sketchily/base64.js} +0 -0
  6. data/app/assets/javascripts/sketchily_embed.js +2 -2
  7. data/app/assets/javascripts/sketchily_embed.js~ +1 -4
  8. data/app/assets/stylesheets/sketchily.css +4 -4
  9. data/app/assets/stylesheets/sketchily.css~ +3 -2
  10. data/app/helpers/sketchily_helper.rb +1 -3
  11. data/app/helpers/sketchily_helper.rb~ +1 -1
  12. data/app/views/sketchily/_embed.html.erb +1 -1
  13. data/app/views/sketchily/_embed.html.erb~ +0 -1
  14. data/lib/sketchily.rb +1 -1
  15. data/lib/sketchily.rb~ +2 -2
  16. data/lib/sketchily/version.rb +1 -1
  17. data/lib/sketchily/version.rb~ +1 -1
  18. data/spec/dummy/log/test.log +120 -0
  19. data/spec/dummy/tmp/cache/assets/test/sprockets/1bf464000fcdb546c383cf7f69d46662 +0 -0
  20. data/spec/dummy/tmp/cache/assets/test/sprockets/23e9024449d6fb482717441645b0cd8c +0 -0
  21. data/spec/dummy/tmp/cache/assets/test/sprockets/2dda36ccc70570f77ad22a659af00a7e +0 -0
  22. data/spec/dummy/tmp/cache/assets/test/sprockets/413a1ea244e0c08b931057c16bfe0bc2 +0 -0
  23. data/spec/dummy/tmp/cache/assets/test/sprockets/56a18313459a66878cdaf82c4915f8f5 +0 -0
  24. data/spec/dummy/tmp/cache/assets/test/sprockets/e839e441b04ffc4a0f153b037b0c69b2 +0 -0
  25. data/vendor/assets/{svg-edit-2.6/browser-not-supported.html~ → javascripts/svg-edit-2.6/browser-not-supported.html} +3 -3
  26. data/vendor/assets/{svg-edit-2.6/browser-not-supported.html → javascripts/svg-edit-2.6/browser-not-supported.html~} +1 -1
  27. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/browser.js +0 -0
  28. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/canvg/canvg.js +0 -0
  29. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/canvg/rgbcolor.js +0 -0
  30. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/contextmenu.js +0 -0
  31. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/contextmenu/jquery.contextMenu.js +0 -0
  32. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/draw.js +0 -0
  33. data/vendor/assets/{svg-edit-2.6/embedapi.html~ → javascripts/svg-edit-2.6/embedapi.html} +1 -1
  34. data/vendor/assets/{svg-edit-2.6/embedapi.html → javascripts/svg-edit-2.6/embedapi.html~} +0 -0
  35. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/embedapi.js +0 -0
  36. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/closepath_icons.svg +0 -0
  37. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/ext-arrows.js +0 -0
  38. data/vendor/assets/javascripts/svg-edit-2.6/extensions/ext-closepath.js +92 -0
  39. data/vendor/assets/{svg-edit-2.6/extensions/ext-closepath.js → javascripts/svg-edit-2.6/extensions/ext-closepath.js~} +0 -0
  40. data/vendor/assets/javascripts/svg-edit-2.6/extensions/ext-connector.js +587 -0
  41. data/vendor/assets/{svg-edit-2.6/extensions/ext-connector.js → javascripts/svg-edit-2.6/extensions/ext-connector.js~} +1 -1
  42. data/vendor/assets/javascripts/svg-edit-2.6/extensions/ext-eyedropper.js +109 -0
  43. data/vendor/assets/{svg-edit-2.6/extensions/ext-eyedropper.js → javascripts/svg-edit-2.6/extensions/ext-eyedropper.js~} +0 -0
  44. data/vendor/assets/javascripts/svg-edit-2.6/extensions/ext-foreignobject.js +277 -0
  45. data/vendor/assets/{svg-edit-2.6/extensions/ext-foreignobject.js → javascripts/svg-edit-2.6/extensions/ext-foreignobject.js~} +0 -0
  46. data/vendor/assets/{svg-edit-2.6/extensions/ext-grid.js~ → javascripts/svg-edit-2.6/extensions/ext-grid.js} +2 -2
  47. data/vendor/assets/{svg-edit-2.6/extensions/ext-grid.js → javascripts/svg-edit-2.6/extensions/ext-grid.js~} +0 -0
  48. data/vendor/assets/javascripts/svg-edit-2.6/extensions/ext-helloworld.js +78 -0
  49. data/vendor/assets/{svg-edit-2.6/extensions/ext-helloworld.js → javascripts/svg-edit-2.6/extensions/ext-helloworld.js~} +0 -0
  50. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/ext-imagelib.js +2 -2
  51. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/ext-imagelib.js~ +1 -1
  52. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/ext-imagelib.xml +0 -0
  53. data/vendor/assets/javascripts/svg-edit-2.6/extensions/ext-markers.js +572 -0
  54. data/vendor/assets/{svg-edit-2.6/extensions/ext-markers.js → javascripts/svg-edit-2.6/extensions/ext-markers.js~} +0 -0
  55. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/ext-server_moinsave.js +0 -0
  56. data/vendor/assets/javascripts/svg-edit-2.6/extensions/ext-server_opensave.js +180 -0
  57. data/vendor/assets/{svg-edit-2.6/extensions/ext-server_opensave.js → javascripts/svg-edit-2.6/extensions/ext-server_opensave.js~} +0 -0
  58. data/vendor/assets/javascripts/svg-edit-2.6/extensions/ext-shapes.js +387 -0
  59. data/vendor/assets/{svg-edit-2.6/extensions/ext-shapes.js → javascripts/svg-edit-2.6/extensions/ext-shapes.js~} +0 -0
  60. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/ext-shapes.xml +0 -0
  61. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/eyedropper-icon.xml +0 -0
  62. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/eyedropper.png +0 -0
  63. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/fileopen.php +0 -0
  64. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/filesave.php +0 -0
  65. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/foreignobject-icons.xml +0 -0
  66. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/grid-icon.xml +0 -0
  67. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/helloworld-icon.xml +0 -0
  68. data/vendor/assets/javascripts/svg-edit-2.6/extensions/imagelib/index.html +64 -0
  69. data/vendor/assets/{svg-edit-2.6/extensions/imagelib/index.html → javascripts/svg-edit-2.6/extensions/imagelib/index.html~} +0 -0
  70. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/imagelib/smiley.svg +0 -0
  71. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/markers-icons.xml +0 -0
  72. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/shapelib/animal.json +0 -0
  73. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/shapelib/arrow.json +0 -0
  74. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/shapelib/dialog_balloon.json +0 -0
  75. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/shapelib/electronics.json +0 -0
  76. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/shapelib/flowchart.json +0 -0
  77. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/shapelib/game.json +0 -0
  78. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/shapelib/math.json +0 -0
  79. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/shapelib/misc.json +0 -0
  80. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/shapelib/music.json +0 -0
  81. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/shapelib/object.json +0 -0
  82. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/shapelib/raphael.txt +0 -0
  83. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/shapelib/raphael_1.json +0 -0
  84. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/shapelib/raphael_2.json +0 -0
  85. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/extensions/shapelib/symbol.json +0 -0
  86. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/history.js +0 -0
  87. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/README.txt +0 -0
  88. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/align-bottom.png +0 -0
  89. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/align-bottom.svg +0 -0
  90. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/align-center.png +0 -0
  91. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/align-center.svg +0 -0
  92. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/align-left.png +0 -0
  93. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/align-left.svg +0 -0
  94. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/align-middle.png +0 -0
  95. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/align-middle.svg +0 -0
  96. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/align-right.png +0 -0
  97. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/align-right.svg +0 -0
  98. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/align-top.png +0 -0
  99. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/align-top.svg +0 -0
  100. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/bold.png +0 -0
  101. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/cancel.png +0 -0
  102. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/circle.png +0 -0
  103. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/clear.png +0 -0
  104. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/clone.png +0 -0
  105. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/conn.svg +0 -0
  106. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/copy.png +0 -0
  107. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/cut.png +0 -0
  108. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/delete.png +0 -0
  109. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/document-properties.png +0 -0
  110. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/dropdown.gif +0 -0
  111. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/ellipse.png +0 -0
  112. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/eye.png +0 -0
  113. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/fhpath.png +0 -0
  114. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/flyouth.png +0 -0
  115. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/flyup.gif +0 -0
  116. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/freehand-circle.png +0 -0
  117. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/freehand-square.png +0 -0
  118. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/go-down.png +0 -0
  119. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/go-up.png +0 -0
  120. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/image.png +0 -0
  121. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/italic.png +0 -0
  122. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/line.png +0 -0
  123. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/link_controls.png +0 -0
  124. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/logo.png +0 -0
  125. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/logo.svg +0 -0
  126. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/move_bottom.png +0 -0
  127. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/move_top.png +0 -0
  128. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/node_clone.png +0 -0
  129. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/node_delete.png +0 -0
  130. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/none.png +0 -0
  131. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/open.png +0 -0
  132. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/paste.png +0 -0
  133. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/path.png +0 -0
  134. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/polygon.png +0 -0
  135. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/polygon.svg +0 -0
  136. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/rect.png +0 -0
  137. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/redo.png +0 -0
  138. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/reorient.png +0 -0
  139. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/rotate.png +0 -0
  140. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/save.png +0 -0
  141. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/select.png +0 -0
  142. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/select_node.png +0 -0
  143. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/sep.png +0 -0
  144. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/shape_group.png +0 -0
  145. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/shape_ungroup.png +0 -0
  146. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/source.png +0 -0
  147. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/spinbtn_updn_big.png +0 -0
  148. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/square.png +0 -0
  149. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/svg_edit_icons.svg +0 -0
  150. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/svg_edit_icons.svgz +0 -0
  151. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/text.png +0 -0
  152. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/text.svg +0 -0
  153. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/to_path.png +0 -0
  154. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/undo.png +0 -0
  155. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/view-refresh.png +0 -0
  156. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/wave.png +0 -0
  157. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/wireframe.png +0 -0
  158. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/images/zoom.png +0 -0
  159. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/LICENSE +0 -0
  160. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/README +0 -0
  161. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/css/jPicker.css +0 -0
  162. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/css/jgraduate.css +3 -3
  163. data/vendor/assets/javascripts/svg-edit-2.6/jgraduate/css/jgraduate.css~ +351 -0
  164. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/images/AlphaBar.png +0 -0
  165. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/images/Bars.png +0 -0
  166. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/images/Maps.png +0 -0
  167. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/images/NoColor.png +0 -0
  168. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/images/bar-opacity.png +0 -0
  169. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/images/map-opacity.png +0 -0
  170. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/images/mappoint.gif +0 -0
  171. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/images/mappoint_c.png +0 -0
  172. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/images/mappoint_f.png +0 -0
  173. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/images/picker.gif +0 -0
  174. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/images/preview-opacity.png +0 -0
  175. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/images/rangearrows.gif +0 -0
  176. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/images/rangearrows2.gif +0 -0
  177. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/jpicker.js +0 -0
  178. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/jpicker.min.js +0 -0
  179. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/jquery.jgraduate.js +0 -0
  180. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jgraduate/jquery.jgraduate.min.js +0 -0
  181. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jquery-ui/jquery-ui-1.8.17.custom.min.js +0 -0
  182. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jquery-ui/jquery-ui-1.8.custom.min.js +0 -0
  183. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jquery.js +0 -0
  184. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/jquerybbq/jquery.bbq.min.js +0 -0
  185. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/js-hotkeys/README.md +0 -0
  186. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/js-hotkeys/jquery.hotkeys.min.js +0 -0
  187. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/README.txt +0 -0
  188. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.af.js +0 -0
  189. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.ar.js +0 -0
  190. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.az.js +0 -0
  191. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.be.js +0 -0
  192. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.bg.js +0 -0
  193. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.ca.js +0 -0
  194. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.cs.js +0 -0
  195. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.cy.js +0 -0
  196. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.da.js +0 -0
  197. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.de.js +0 -0
  198. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.el.js +0 -0
  199. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.en.js +0 -0
  200. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.es.js +0 -0
  201. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.et.js +0 -0
  202. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.fa.js +0 -0
  203. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.fi.js +0 -0
  204. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.fr.js +0 -0
  205. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.fy.js +0 -0
  206. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.ga.js +0 -0
  207. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.gl.js +0 -0
  208. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.he.js +0 -0
  209. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.hi.js +0 -0
  210. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.hr.js +0 -0
  211. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.hu.js +0 -0
  212. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.hy.js +0 -0
  213. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.id.js +0 -0
  214. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.is.js +0 -0
  215. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.it.js +0 -0
  216. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.ja.js +0 -0
  217. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.ko.js +0 -0
  218. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.lt.js +0 -0
  219. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.lv.js +0 -0
  220. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.mk.js +0 -0
  221. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.ms.js +0 -0
  222. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.mt.js +0 -0
  223. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.nl.js +0 -0
  224. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.no.js +0 -0
  225. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.pl.js +0 -0
  226. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.pt-BR.js +0 -0
  227. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.pt-PT.js +0 -0
  228. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.ro.js +0 -0
  229. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.ro.js~ +0 -0
  230. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.ru.js +0 -0
  231. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.sk.js +0 -0
  232. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.sl.js +0 -0
  233. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.sq.js +0 -0
  234. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.sr.js +0 -0
  235. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.sv.js +0 -0
  236. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.sw.js +0 -0
  237. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.test.js +0 -0
  238. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.th.js +0 -0
  239. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.tl.js +0 -0
  240. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.tr.js +0 -0
  241. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.uk.js +0 -0
  242. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.vi.js +0 -0
  243. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.yi.js +0 -0
  244. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.zh-CN.js +0 -0
  245. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.zh-HK.js +0 -0
  246. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/lang.zh-TW.js +0 -0
  247. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/locale/locale.js +0 -0
  248. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/math.js +0 -0
  249. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/path.js +0 -0
  250. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/sanitize.js +0 -0
  251. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/select.js +0 -0
  252. data/vendor/assets/{svg-edit-2.6/spinbtn/JQuerySpinBtn.css~ → javascripts/svg-edit-2.6/spinbtn/JQuerySpinBtn.css} +1 -1
  253. data/vendor/assets/{svg-edit-2.6/spinbtn/JQuerySpinBtn.css → javascripts/svg-edit-2.6/spinbtn/JQuerySpinBtn.css~} +1 -1
  254. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/spinbtn/JQuerySpinBtn.js +0 -0
  255. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/spinbtn/JQuerySpinBtn.min.js +0 -0
  256. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/spinbtn/spinbtn_updn.png +0 -0
  257. data/vendor/assets/javascripts/svg-edit-2.6/svg-editor.css +1494 -0
  258. data/vendor/assets/{svg-edit-2.6/svg-editor.css → javascripts/svg-edit-2.6/svg-editor.css~} +0 -0
  259. data/vendor/assets/{svg-edit-2.6/svg-editor.html~ → javascripts/svg-edit-2.6/svg-editor.html} +1 -2
  260. data/vendor/assets/{svg-edit-2.6/svg-editor.html → javascripts/svg-edit-2.6/svg-editor.html~} +0 -0
  261. data/vendor/assets/{svg-edit-2.6/svg-editor.js~ → javascripts/svg-edit-2.6/svg-editor.js} +9 -9
  262. data/vendor/assets/{svg-edit-2.6/svg-editor.js → javascripts/svg-edit-2.6/svg-editor.js~} +4 -4
  263. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/svg-editor.manifest +0 -0
  264. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/svgcanvas.js +0 -0
  265. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/svgcanvas.js~ +0 -0
  266. data/vendor/assets/{svg-edit-2.6/svgedit.compiled.js~ → javascripts/svg-edit-2.6/svgedit.compiled.js} +4 -4
  267. data/vendor/assets/{svg-edit-2.6/svgedit.compiled.js → javascripts/svg-edit-2.6/svgedit.compiled.js~} +2 -2
  268. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/svgicons/jquery.svgicons.js +0 -0
  269. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/svgtransformlist.js +0 -0
  270. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/svgutils.js +0 -0
  271. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/touch.js +0 -0
  272. data/vendor/assets/{svg-edit-2.6 → javascripts/svg-edit-2.6}/units.js +0 -0
  273. metadata +259 -254
@@ -0,0 +1,64 @@
1
+ <!doctype html>
2
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
3
+
4
+
5
+ <body>
6
+
7
+ <h1>Select an image:</h1>
8
+ <a href="/assets/svg-edit-2.6/extensions/imagelib/smiley.svg">smiley.svg</a>
9
+ <br>
10
+ <a href="/assets/svg-edit-2.6/images/logo.png">logo.png</a>
11
+ </body>
12
+
13
+ <script>
14
+
15
+ $('a').click(function() {
16
+ var href = this.href;
17
+ var target = window.parent;
18
+ // Convert Non-SVG images to data URL first
19
+ // (this could also have been done server-side by the library)
20
+ if(this.href.indexOf('.svg') === -1) {
21
+
22
+ var meta_str = JSON.stringify({
23
+ name: $(this).text(),
24
+ id: href
25
+ });
26
+ target.postMessage(meta_str, "*");
27
+
28
+ var img = new Image();
29
+ img.onload = function() {
30
+ var canvas = document.createElement("canvas");
31
+ canvas.width = this.width;
32
+ canvas.height = this.height;
33
+ // load the raster image into the canvas
34
+ canvas.getContext("2d").drawImage(this,0,0);
35
+ // retrieve the data: URL
36
+ try {
37
+ var dataurl = canvas.toDataURL();
38
+ } catch(err) {
39
+ // This fails in Firefox with file:// URLs :(
40
+ alert("Data URL conversion failed: " + err);
41
+ var dataurl = "";
42
+ }
43
+ target.postMessage('|' + href + '|' + dataurl, "*");
44
+ }
45
+ img.src = href;
46
+ } else {
47
+ // Send metadata (also indicates file is about to be sent)
48
+ var meta_str = JSON.stringify({
49
+ name: $(this).text(),
50
+ id: href
51
+ });
52
+ target.postMessage(meta_str, "*");
53
+ // Do ajax request for image's href value
54
+ $.get(href, function(data) {
55
+ data = '|' + href + '|' + data;
56
+ // This is where the magic happens!
57
+ target.postMessage(data, "*");
58
+
59
+ }, 'html'); // 'html' is necessary to keep returned data as a string
60
+ }
61
+ return false;
62
+ });
63
+
64
+ </script>
@@ -81,7 +81,7 @@ div.jGraduate_Swatch {
81
81
  }
82
82
  div.jGraduate_GradContainer {
83
83
  border: 2px inset #EEE;
84
- background-image: url(../images/map-opacity.png);
84
+ background-image: url(svg-edit-2.6/jgraduate/images/map-opacity.png);
85
85
  background-position: 0px 0px;
86
86
  height: 256px;
87
87
  width: 256px;
@@ -119,7 +119,7 @@ div.jGraduate_Opacity {
119
119
  border: 2px inset #eee;
120
120
  margin-top: 14px;
121
121
  background-color: black;
122
- background-image: url(../images/Maps.png);
122
+ background-image: url(svg-edit-2.6/jgraduate/images/Maps.png);
123
123
  background-position: 0px -2816px;
124
124
  height: 20px;
125
125
  cursor: ew-resize;
@@ -348,4 +348,4 @@ div.jGraduate_Slider img {
348
348
  position: absolute;
349
349
  right: -10px;
350
350
  bottom: 0;
351
- }
351
+ }
@@ -0,0 +1,351 @@
1
+ /*
2
+ * jGraduate Default CSS
3
+ *
4
+ * Copyright (c) 2010 Jeff Schiller
5
+ * http://blog.codedread.com/
6
+ *
7
+ * Copyright (c) 2010 Alexis Deveria
8
+ * http://a.deveria.com/
9
+ *
10
+ * Licensed under the MIT License
11
+ */
12
+
13
+ h2.jGraduate_Title {
14
+ font-family: Arial, Helvetica, Sans-Serif;
15
+ font-size: 11px !important;
16
+ font-weight: bold;
17
+ margin: -13px 0px 0px 0px;
18
+ padding: 0px;
19
+ text-align: center;
20
+ }
21
+
22
+ .jGraduate_Picker {
23
+ font-family: Arial, Helvetica, Sans-Serif;
24
+ font-size: 12px;
25
+ border-style: solid;
26
+ border-color: lightgrey black black lightgrey;
27
+ border-width: 1px;
28
+ background-color: #EFEFEF;
29
+ position: absolute;
30
+ padding: 10px;
31
+ }
32
+
33
+ .jGraduate_tabs li {
34
+ background-color: #ccc;
35
+ display: inline;
36
+ border: solid 1px grey;
37
+ padding: 3px;
38
+ margin: 2px;
39
+ cursor: pointer;
40
+ }
41
+
42
+ li.jGraduate_tab_current {
43
+ background-color: #EFEFEF;
44
+ display: inline;
45
+ padding: 3px;
46
+ margin: 2px;
47
+ border: solid 1px black;
48
+ cursor: pointer;
49
+ }
50
+
51
+ .jGraduate_colPick {
52
+ display: none;
53
+ }
54
+
55
+ .jGraduate_gradPick {
56
+ display: none;
57
+ border: outset 1px #666;
58
+ padding: 10px 7px 5px 5px;
59
+ overflow: auto;
60
+ }
61
+
62
+ .jGraduate_gradPick {
63
+ display: none;
64
+ border: outset 1px #666;
65
+ padding: 10px 7px 5px 5px;
66
+ overflow: auto;
67
+ /* position: relative;*/
68
+ }
69
+
70
+ .jGraduate_tabs {
71
+ position: relative;
72
+ background-color: #EFEFEF;
73
+ padding: 0px;
74
+ margin: 0px;
75
+ margin-bottom: 5px;
76
+ }
77
+
78
+ div.jGraduate_Swatch {
79
+ float: left;
80
+ margin: 8px;
81
+ }
82
+ div.jGraduate_GradContainer {
83
+ border: 2px inset #EEE;
84
+ background-image: url('svg-edit-2.6/jgraduate/images/map-opacity.png');
85
+ background-position: 0px 0px;
86
+ height: 256px;
87
+ width: 256px;
88
+ position: relative;
89
+ }
90
+
91
+ div.jGraduate_GradContainer div.grad_coord {
92
+ background: #000;
93
+ border: 1px solid #fff;
94
+ border-radius: 5px;
95
+ -moz-border-radius: 5px;
96
+ width: 10px;
97
+ height: 10px;
98
+ position: absolute;
99
+ margin: -5px -5px;
100
+ top: 0;
101
+ left: 0;
102
+ text-align: center;
103
+ font-size: xx-small;
104
+ line-height: 10px;
105
+ color: #fff;
106
+ text-decoration: none;
107
+ cursor: pointer;
108
+ -moz-user-select: none;
109
+ -webkit-user-select: none;
110
+ }
111
+
112
+ .jGraduate_AlphaArrows {
113
+ position: absolute;
114
+ margin-top: -10px;
115
+ margin-left: 250.5px;
116
+ }
117
+
118
+ div.jGraduate_Opacity {
119
+ border: 2px inset #eee;
120
+ margin-top: 14px;
121
+ background-color: black;
122
+ background-image: url('svg-edit-2.6/jgraduate/images/Maps.png');
123
+ background-position: 0px -2816px;
124
+ height: 20px;
125
+ cursor: ew-resize;
126
+ }
127
+
128
+ div.jGraduate_StopSlider {
129
+ /* border: 2px inset #eee;*/
130
+ margin: 0 0 0 -10px;
131
+ width: 276px;
132
+ overflow: visible;
133
+ background: #efefef;
134
+ height: 45px;
135
+ cursor: pointer;
136
+ }
137
+
138
+ div.jGraduate_StopSection {
139
+ width: 120px;
140
+ text-align: center;
141
+ }
142
+
143
+
144
+
145
+
146
+ input.jGraduate_Ok, input.jGraduate_Cancel {
147
+ display: block;
148
+ width: 100px;
149
+ margin-left: -4px;
150
+ margin-right: -4px;
151
+ }
152
+ input.jGraduate_Ok {
153
+ margin: 9px -4px 5px -4px;
154
+ }
155
+
156
+ .colorBox {
157
+ float: left;
158
+ height: 16px;
159
+ width: 16px;
160
+ border: 1px solid #808080;
161
+ cursor: pointer;
162
+ margin: 4px 4px 4px 30px;
163
+ }
164
+
165
+ .colorBox + label {
166
+ float: left;
167
+ margin-top: 7px;
168
+ }
169
+
170
+ label.jGraduate_Form_Heading {
171
+ position: relative;
172
+ top: 10px;
173
+ background-color: #EFEFEF;
174
+ padding: 2px;
175
+ font-weight: bold;
176
+ font-size: 13px;
177
+ }
178
+
179
+ div.jGraduate_Form_Section {
180
+ border-style: solid;
181
+ border-width: 1px;
182
+ border-color: grey;
183
+ -moz-border-radius: 5px;
184
+ -webkit-border-radius: 5px;
185
+ padding: 15px 5px 5px 5px;
186
+ margin: 5px 2px;
187
+ width: 110px;
188
+ text-align: center;
189
+ overflow: auto;
190
+ }
191
+
192
+ div.jGraduate_Form_Section label {
193
+ padding: 0 2px;
194
+ }
195
+
196
+ div.jGraduate_StopSection input[type=text],
197
+ div.jGraduate_Slider input[type=text] {
198
+ width: 33px;
199
+ }
200
+
201
+ div.jGraduate_LightBox {
202
+ position: fixed;
203
+ top: 0px;
204
+ left: 0px;
205
+ right: 0px;
206
+ bottom: 0px;
207
+ background-color: #000;
208
+ opacity: 0.5;
209
+ display: none;
210
+ }
211
+
212
+ div.jGraduate_stopPicker {
213
+ position: absolute;
214
+ display: none;
215
+ background: #E8E8E8;
216
+ }
217
+
218
+
219
+ .jGraduate_gradPick {
220
+ width: 535px;
221
+ }
222
+
223
+ .jGraduate_gradPick div.jGraduate_OpacField {
224
+
225
+ position: absolute;
226
+ left: 0;
227
+ bottom: 5px;
228
+ /*
229
+ width: 270px;
230
+
231
+ left: 284px;
232
+ width: 266px;
233
+ height: 200px;
234
+ top: 167px;
235
+ margin: -3px 3px 0px 4px;
236
+ */
237
+ }
238
+
239
+ .jGraduate_gradPick .jGraduate_Form {
240
+ float: left;
241
+ width: 270px;
242
+ position: absolute;
243
+ left: 284px;
244
+ width: 266px;
245
+ height: 200px;
246
+ top: 167px;
247
+ margin: -3px 3px 0px 10px;
248
+ }
249
+
250
+ .jGraduate_gradPick .jGraduate_Points {
251
+ position: static;
252
+ width: 150px;
253
+ margin-left: 0;
254
+ }
255
+
256
+ .jGraduate_SpreadMethod {
257
+ position: absolute;
258
+ right: 8px;
259
+ top: 100px;
260
+ }
261
+
262
+ .jGraduate_Colorblocks {
263
+ display: table;
264
+ border-spacing: 0 5px;
265
+ }
266
+
267
+ .jGraduate_colorblock {
268
+ display: table-row;
269
+ }
270
+
271
+ .jGraduate_Colorblocks .jGraduate_colorblock > * {
272
+ display: table-cell;
273
+ vertical-align: middle;
274
+ margin: 0;
275
+ float: none;
276
+ }
277
+
278
+ .jGraduate_gradPick div.jGraduate_StopSection {
279
+ float: left;
280
+ width: 133px;
281
+ margin-top: -8px;
282
+ }
283
+
284
+
285
+ .jGraduate_gradPick .jGraduate_Form_Section {
286
+ padding-top: 9px;
287
+ }
288
+
289
+
290
+ .jGraduate_Slider {
291
+ text-align: center;
292
+ float: left;
293
+ width: 100%;
294
+ }
295
+
296
+ .jGraduate_Slider .jGraduate_Form_Section {
297
+ border: none;
298
+ width: 250px;
299
+ padding: 0 2px;
300
+ overflow: visible;
301
+ }
302
+
303
+ .jGraduate_Slider label {
304
+ display: inline-block;
305
+ float: left;
306
+ line-height: 50px;
307
+ padding: 0;
308
+ }
309
+
310
+ .jGraduate_Slider label.prelabel {
311
+ width: 40px;
312
+ text-align: left;
313
+ }
314
+
315
+ .jGraduate_SliderBar {
316
+ width: 140px;
317
+ float: left;
318
+ margin-right: 5px;
319
+ border:1px solid #BBB;
320
+ height:20px;
321
+ margin-top:14px;
322
+ margin-left:5px;
323
+ position: relative;
324
+ }
325
+
326
+ div.jGraduate_Slider input {
327
+ margin-top: 5px;
328
+ }
329
+
330
+ div.jGraduate_Slider img {
331
+ top: 0;
332
+ left: 0;
333
+ position: absolute;
334
+ margin-top: -10px;
335
+ cursor:ew-resize;
336
+ }
337
+
338
+
339
+ .jGraduate_gradPick .jGraduate_OkCancel {
340
+ position: absolute;
341
+ top: 39px;
342
+ right: 10px;
343
+ width: 113px;
344
+
345
+ }
346
+
347
+ .jGraduate_OpacField {
348
+ position: absolute;
349
+ right: -10px;
350
+ bottom: 0;
351
+ }