From f1a104754e5862a152d0a542c1a3ef3c49ee8eb0 Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Tue, 8 Oct 2013 11:40:42 -0400 Subject: [PATCH] load jquery in requirejs deps --- cms/static/coffee/spec/setup_require.coffee | 2 +- cms/templates/base.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cms/static/coffee/spec/setup_require.coffee b/cms/static/coffee/spec/setup_require.coffee index 0a66f9741f..1d85ee9f11 100644 --- a/cms/static/coffee/spec/setup_require.coffee +++ b/cms/static/coffee/spec/setup_require.coffee @@ -58,4 +58,4 @@ require = "codemirror": exports: "CodeMirror" # load these automatically - deps: ["js/base", "coffee/src/main"] + deps: ["jquery", "js/base", "coffee/src/main"] diff --git a/cms/templates/base.html b/cms/templates/base.html index e8e92e2b6b..5814817a90 100644 --- a/cms/templates/base.html +++ b/cms/templates/base.html @@ -151,7 +151,7 @@ var require = { } }, // load these automatically - deps: ["js/base", "coffee/src/main", "datepair"] + deps: ["jquery", "js/base", "coffee/src/main", "datepair"] // we need "datepair" because it dynamically modifies the page when it is loaded -- yuck! };