From b69509fcab081fd64fd0441552f08c623384e47e Mon Sep 17 00:00:00 2001 From: Grant Nestor Date: Mon, 20 Mar 2017 20:32:16 -0700 Subject: [PATCH] Move preact, preact-compat, and proptypes to bower --- bower.json | 3 +++ notebook/static/notebook/js/shortcuteditor.js | 2 +- notebook/templates/page.html | 4 ++-- package.json | 2 -- setupbase.py | 24 +++---------------- 5 files changed, 9 insertions(+), 26 deletions(-) diff --git a/bower.json b/bower.json index ee6d222f3..e58ec9279 100644 --- a/bower.json +++ b/bower.json @@ -15,6 +15,9 @@ "marked": "~0.3", "MathJax": "components/MathJax#~2.6", "moment": "~2.8.4", + "preact": "https://unpkg.com/preact@^7.2.0/dist/preact.min.js", + "preact-compat": "https://unpkg.com/preact-compat@^3.14.3/dist/preact-compat.min.js", + "proptypes": "https://unpkg.com/proptypes@^0.14.4/index.js", "requirejs": "~2.1", "text-encoding": "~0.1", "underscore": "components/underscore#~1.8.3", diff --git a/notebook/static/notebook/js/shortcuteditor.js b/notebook/static/notebook/js/shortcuteditor.js index be0c2c434..e8e445420 100644 --- a/notebook/static/notebook/js/shortcuteditor.js +++ b/notebook/static/notebook/js/shortcuteditor.js @@ -5,7 +5,7 @@ define([ "jquery", "notebook/js/quickhelp", "base/js/dialog", - 'components/marked/lib/marked', + "components/marked/lib/marked" ], function ( $, QH, diff --git a/notebook/templates/page.html b/notebook/templates/page.html index 94c4cd723..e40b3147b 100644 --- a/notebook/templates/page.html +++ b/notebook/templates/page.html @@ -16,9 +16,9 @@ {% endblock %} - + - +