Gitlab CSE Unil

Commit 44c13354 authored by M. Chardon's avatar M. Chardon
Browse files

maj lib js paper sur v 0.11

parent 8906dafb
...@@ -171,6 +171,7 @@ define([ ...@@ -171,6 +171,7 @@ define([
} }
paper.view.center = ts.multiply(0.5); paper.view.center = ts.multiply(0.5);
paper.view.draw();
paper.view.element.toBlob(function(blob){ paper.view.element.toBlob(function(blob){
// // Useless overhead as not used... // // Useless overhead as not used...
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
"jquery-mousewheel": "~3.1.11", "jquery-mousewheel": "~3.1.11",
"FileSaver": "~1.3.4", "FileSaver": "~1.3.4",
"blob": "*", "blob": "*",
"paper": "~0.9.25", "paper": "~0.11.5",
"jquery.autoGrowInput": "~0.0.2", "jquery.autoGrowInput": "~0.0.2",
"signals": "~1.0.0", "signals": "~1.0.0",
"bootstrap-spinedit": "https://github.com/jujug42/bootstrap-spinedit.git#*", "bootstrap-spinedit": "https://github.com/jujug42/bootstrap-spinedit.git#*",
......
...@@ -366,7 +366,7 @@ if (t === "light") { ...@@ -366,7 +366,7 @@ if (t === "light") {
<div class="col-sm-9" id="canvas-col"> <div class="col-sm-9" id="canvas-col">
<div class="canvas-container well"> <div class="canvas-container well">
<canvas id="my-canvas" width="480" height="360"></canvas> <canvas id="my-canvas" width="480" height="360" resize></canvas>
{% block canvas_content %}{% endblock %} {% block canvas_content %}{% endblock %}
</div> </div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment