app/views/sketchily/_embed.html.erb~ in sketchily-1.0.1 vs app/views/sketchily/_embed.html.erb~ in sketchily-1.0.2
- old
+ new
@@ -12,11 +12,10 @@
hide_menu ||= false
hide_image_tool ||= false
hide_hyperlink_tool ||= false %>
<%= javascript_include_tag "sketchily_embed" %>
-<%= javascript_include_tag "svgutils" %>
<script type="text/javascript">
<%= render :partial => "sketchily/embed",
:formats => :js,
:locals => {:id => id,
@@ -25,6 +24,6 @@
:hide_image_tool => hide_image_tool,
:hide_hyperlink_tool => hide_hyperlink_tool} %>
</script>
<iframe src="/assets/svg-editor.html?source=&dimensions=<%= "#{canvas_width},#{canvas_height}" %>&canvas_expansion=<%= canvas_expansion %>&showRulers=<%= !hide_rulers %>"
- width="<%= width %>" height="<%= height %>" id="svgedit_<%= id %>" onload="initEmbed_<%= id %>();"></iframe>
+ width="<%= width %>" height="<%= height %>" id="svgedit_<%= id %>"></iframe>