Merge pull request #10534 from edx/andya/fix-studio-videos

Fix optimizing of draggabilly and json2
This commit is contained in:
Andy Armstrong
2015-11-06 12:12:44 -05:00
5 changed files with 10 additions and 12 deletions

View File

@@ -17,7 +17,6 @@ require.config({
paths: {
"domReady": "js/vendor/domReady",
"gettext": "/i18n",
"json2": "js/vendor/json2",
"mustache": "js/vendor/mustache",
"codemirror": "js/vendor/codemirror-compressed",
"codemirror/stex": "js/vendor/CodeMirror/stex",
@@ -96,9 +95,6 @@ require.config({
]
},
shim: {
"json2": {
exports: "JSON"
},
"gettext": {
exports: "gettext"
},

View File

@@ -23,7 +23,6 @@ requirejs.config({
"jquery.simulate": "xmodule_js/common_static/js/vendor/jquery.simulate",
"datepair": "xmodule_js/common_static/js/vendor/timepicker/datepair",
"date": "xmodule_js/common_static/js/vendor/date",
"json2": "xmodule_js/common_static/js/vendor/json2",
"moment": "xmodule_js/common_static/js/vendor/moment.min",
"moment-with-locales": "xmodule_js/common_static/js/vendor/moment-with-locales.min",
"text": "xmodule_js/common_static/js/vendor/requirejs/text",
@@ -59,9 +58,6 @@ requirejs.config({
"js/spec/test_utils": "js/spec/test_utils",
}
shim: {
"json2": {
exports: "JSON"
},
"gettext": {
exports: "gettext"
},

View File

@@ -1,6 +1,6 @@
define(["jquery", "jquery.ui", "underscore", "json2", "gettext", "draggabilly",
define(["jquery", "jquery.ui", "underscore", "gettext", "draggabilly",
"js/utils/module", "common/js/components/views/feedback_notification"],
function ($, ui, _, JSON, gettext, Draggabilly, ModuleUtils, NotificationView) {
function ($, ui, _, gettext, Draggabilly, ModuleUtils, NotificationView) {
'use strict';
var contentDragger = {

View File

@@ -59,7 +59,6 @@ lib_paths:
- xmodule_js/common_static/js/vendor/draggabilly.pkgd.js
- xmodule_js/common_static/js/vendor/date.js
- xmodule_js/common_static/js/vendor/domReady.js
- xmodule_js/common_static/js/vendor/json2.js
- xmodule_js/common_static/js/vendor/URI.min.js
- xmodule_js/common_static/js/vendor/jquery.smooth-scroll.min.js
- xmodule_js/common_static/coffee/src/jquery.immediateDescendents.js