Commit d28f4872 by Usman Khalid

Post rebase fixes.

parent 3929bf50
...@@ -59,6 +59,12 @@ var files = [ ...@@ -59,6 +59,12 @@ var files = [
{pattern: 'common_static/js/vendor/moment.min.js', included: true}, {pattern: 'common_static/js/vendor/moment.min.js', included: true},
{pattern: 'spec/main_requirejs.js', included: true}, {pattern: 'spec/main_requirejs.js', included: true},
{pattern: 'src/word_cloud/d3.min.js', included: true}, {pattern: 'src/word_cloud/d3.min.js', included: true},
{pattern: 'common_static/js/vendor/draggabilly.js', included: false},
{pattern: 'common_static/edx-ui-toolkit/js/utils/global-loader.js', included: true},
{pattern: 'common_static/edx-pattern-library/js/modernizr-custom.js', included: false},
{pattern: 'common_static/edx-pattern-library/js/afontgarde.js', included: false},
{pattern: 'common_static/edx-pattern-library/js/edx-icons.js', included: false},
// Paths to source JavaScript files // Paths to source JavaScript files
{pattern: 'src/xmodule.js', included: true, nocache: true}, {pattern: 'src/xmodule.js', included: true, nocache: true},
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
baseUrl: '/base/', baseUrl: '/base/',
paths: { paths: {
"moment": "common_static/js/vendor/moment.min", "moment": "common_static/js/vendor/moment.min",
"modernizr": "xmodule/include/common_static/edx-pattern-library/js/modernizr-custom", "modernizr": "common_static/edx-pattern-library/js/modernizr-custom",
"afontgarde": "xmodule/include/common_static/edx-pattern-library/js/afontgarde", "afontgarde": "common_static/edx-pattern-library/js/afontgarde",
"edxicons": "xmodule/include/common_static/edx-pattern-library/js/edx-icons", "edxicons": "common_static/edx-pattern-library/js/edx-icons",
"draggabilly": "xmodule/include/common_static/js/vendor/draggabilly" "draggabilly": "common_static/js/vendor/draggabilly"
}, },
"moment": { "moment": {
exports: "moment" exports: "moment"
......
...@@ -189,7 +189,7 @@ var getConfig = function (config, useRequireJs) { ...@@ -189,7 +189,7 @@ var getConfig = function (config, useRequireJs) {
// level of logging // level of logging
/* possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN /* possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN
|| config.LOG_INFO || config.LOG_DEBUG */ || config.LOG_INFO || config.LOG_DEBUG */
logLevel: config.LOG_DEBUG, logLevel: config.LOG_INFO,
// enable / disable watching file and executing tests whenever any file changes // enable / disable watching file and executing tests whenever any file changes
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
// will cause tests to fail, so we'll instead // will cause tests to fail, so we'll instead
// make _.defer() immediately invoke its // make _.defer() immediately invoke its
// argument. // argument.
spyOn(_, 'defer').andCallFake(function (func) { spyOn(_, 'defer').and.callFake(function (func) {
func(); func();
}); });
}); });
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
describe('history', function() { describe('history', function() {
beforeEach(function () { beforeEach(function () {
spyOn(Backbone.history, 'navigate').andCallThrough(); spyOn(Backbone.history, 'navigate').and.callThrough();
view = new TabbedView({ view = new TabbedView({
tabs: [{ tabs: [{
url: 'test 1', url: 'test 1',
......
...@@ -37,8 +37,7 @@ ...@@ -37,8 +37,7 @@
'draggabilly': 'js/vendor/draggabilly', 'draggabilly': 'js/vendor/draggabilly',
'jasmine-stealth': 'js/libs/jasmine-stealth', 'jasmine-stealth': 'js/libs/jasmine-stealth',
'jasmine-waituntil': 'js/libs/jasmine-waituntil', 'jasmine-waituntil': 'js/libs/jasmine-waituntil',
'jasmine-extensions': 'js/libs/jasmine-extensions', 'jasmine-extensions': 'js/libs/jasmine-extensions'
'URI': 'js/vendor/URI.min'
}, },
shim: { shim: {
'gettext': { 'gettext': {
......
...@@ -47,6 +47,12 @@ var files = [ ...@@ -47,6 +47,12 @@ var files = [
{pattern: 'js/test/i18n.js', included: true}, {pattern: 'js/test/i18n.js', included: true},
{pattern: 'coffee/src/jquery.immediateDescendents.js', included: true}, {pattern: 'coffee/src/jquery.immediateDescendents.js', included: true},
{pattern: 'js/vendor/jquery.leanModal.js', included: true}, {pattern: 'js/vendor/jquery.leanModal.js', included: true},
{pattern: 'js/vendor/draggabilly.js', included: true},
{pattern: 'edx-ui-toolkit/js/utils/global-loader.js', included: true},
{pattern: 'edx-pattern-library/js/modernizr-custom.js', included: true},
{pattern: 'edx-pattern-library/js/afontgarde.js', included: true},
{pattern: 'edx-pattern-library/js/edx-icons.js', included: true},
// Paths to source JavaScript files // Paths to source JavaScript files
{pattern: 'js/xblock/**/*.js', included: true, nocache: true}, {pattern: 'js/xblock/**/*.js', included: true, nocache: true},
......
Markdown is supported
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