Skip to content

Commit

Permalink
Revert for define arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
gnestor committed Dec 1, 2017
1 parent 21b4227 commit 53eddd5
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
define([
'base/js/namespace',
'jquery',
'requirejs',
'require',
'base/js/events',
'base/js/utils',
], function(Jupyter, $, requirejs, events, configmod, utils) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
define([
'base/js/namespace',
'jquery',
'requirejs',
'require',
'base/js/events',
'services/config',
'notebook/js/codecell',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// This means that we're probably embedded in a page, so we need to make
// our definition with a specific module name
return define('nbextensions/collapsible_headings/main', deps, callback);
})(['jquery', 'requirejs'], function ($, requirejs) {
})(['jquery', 'require'], function ($, requirejs) {
"use strict";

var mod_name = 'collapsible_headings';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
define([
'base/js/namespace',
'jquery',
'requirejs',
'require',
'notebook/js/textcell',
'base/js/utils',
], function(Jupyter, $, requirejs, textcell, utils) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// A double click on the timing box makes it disappear

define([
'requirejs',
'require',
'jquery',
'moment',
'base/js/namespace',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Then clicking on the toolbar button transforms these cells into a "solution" whi
define([
'base/js/namespace',
'jquery',
'requirejs',
'require',
'base/js/events',
'nbextensions/rubberband/main'
], function(IPython, $, requirejs, events, rubberband) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
define([
'base/js/namespace',
'jquery',
'requirejs',
'require',
'base/js/events',
'nbextensions/rubberband/main'
], function(IPython, $, requirejs, events, rubberband) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Add help panel at right side of notebook window

define([
'requirejs',
'require',
'jqueryui',
'base/js/namespace',
'base/js/events',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
define([
'jquery',
'requirejs',
'require',
'base/js/namespace',
'base/js/dialog',
'base/js/events',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
define([
'jquery',
'requirejs',
'require',
'base/js/namespace',
'base/js/events',
'base/js/utils',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
define([
'base/js/namespace',
'jquery',
'requirejs',
'require',
'base/js/events'
], function(Jupyter, $, requirejs, events, rubberband) {
"use strict";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
define([
'base/js/namespace',
'jquery',
'requirejs',
'require',
'notebook/js/cell',
'base/js/security',
'components/marked/lib/marked',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ define([
'jquery',
'base/js/events',
'base/js/keyboard',
'requirejs'
'require'
], function(IPython, $, events, keyboard, requirejs) {
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
define([
'base/js/namespace',
'jquery',
'requirejs',
'require',
'base/js/events',
'services/config',
'base/js/utils',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
define([
'base/js/namespace',
'jquery',
'requirejs',
'require',
'notebook/js/outputarea',
], function (
Jupyter,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
define([
'requirejs',
'require',
'jquery',
'base/js/events',
'base/js/namespace',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ this is a requirejs-compatible adaptation of typo.js from
essentially just wrapping it in a define call.
*/

define(['requirejs'], function (requirejs) {
define(['require'], function (requirejs) {
'use strict';

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/

define([
'requirejs',
'require',
'jquery',
'base/js/events'
], function (
Expand Down
2 changes: 1 addition & 1 deletion src/jupyter_contrib_nbextensions/nbextensions/toc2/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// See the history of contributions in README.md

define([
'requirejs',
'require',
'jquery',
'base/js/namespace',
'base/js/events',
Expand Down
2 changes: 1 addition & 1 deletion src/jupyter_contrib_nbextensions/nbextensions/toc2/toc2.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// This means that we're probably embedded in a page, so we need to make
// our definition with a specific module name
return define('nbextensions/toc2/toc2', deps, callback);
})(['jquery', 'requirejs'], function($, requirejs) {
})(['jquery', 'require'], function($, requirejs) {
"use strict";

var IPython;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

define([
'requirejs',
'require',
'jqueryui',
'base/js/namespace',
'base/js/utils',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
define([
'requirejs',
'require',
'jquery',
'base/js/namespace',
'base/js/events',
Expand Down

0 comments on commit 53eddd5

Please sign in to comment.