##// END OF EJS Templates
Merge pull request #3969 from Carreau/usestrict...
Matthias Bussonnier -
r12232:d5724045 merge
parent child Browse files
Show More
@@ -12,6 +12,7 b''
12 12 IPython.namespace('IPython.dialog');
13 13
14 14 IPython.dialog = (function (IPython) {
15 "use strict";
15 16
16 17 var modal = function (options) {
17 18 var dialog = $("<div/>").addClass("modal").attr("role", "dialog");
@@ -17,6 +17,7 b''
17 17 // $([IPython.events]).on('event.Namespace',function () {});
18 18
19 19 var IPython = (function (IPython) {
20 "use strict";
20 21
21 22 var utils = IPython.utils;
22 23
@@ -8,6 +8,8 b''
8 8 var IPython = IPython || {};
9 9
10 10 IPython.namespace = function (ns_string) {
11 "use strict";
12
11 13 var parts = ns_string.split('.'),
12 14 parent = IPython,
13 15 i;
@@ -10,6 +10,7 b''
10 10 //============================================================================
11 11
12 12 var IPython = (function (IPython) {
13 "use strict";
13 14
14 15 var Page = function () {
15 16 this.style();
@@ -11,6 +11,7 b''
11 11
12 12
13 13 $(document).ready(function () {
14 "use strict";
14 15
15 16 IPython.page = new IPython.Page();
16 17 IPython.page.show();
@@ -11,6 +11,7 b''
11 11 IPython.namespace('IPython.utils');
12 12
13 13 IPython.utils = (function (IPython) {
14 "use strict";
14 15
15 16 //============================================================================
16 17 // Cross-browser RegEx Split
@@ -366,7 +367,7 b' IPython.utils = (function (IPython) {'
366 367 };
367 368
368 369 // http://stackoverflow.com/questions/2400935/browser-detection-in-javascript
369 browser = (function() {
370 var browser = (function() {
370 371 var N= navigator.appName, ua= navigator.userAgent, tem;
371 372 var M= ua.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);
372 373 if (M && (tem= ua.match(/version\/([\.\d]+)/i))!= null) M[2]= tem[1];
@@ -16,6 +16,7 b''
16 16 */
17 17
18 18 var IPython = (function (IPython) {
19 "use strict";
19 20
20 21 var utils = IPython.utils;
21 22
@@ -4,6 +4,7 b''
4 4 // to do, but at least the simple one for now.
5 5
6 6 CodeMirror.requireMode('python',function(){
7 "use strict";
7 8
8 9 CodeMirror.defineMode("ipython", function(conf, parserConf) {
9 10
@@ -15,6 +15,7 b''
15 15 **/
16 16
17 17 var IPython = (function (IPython) {
18 "use strict";
18 19 /**
19 20 * A place where some stuff can be confugured.
20 21 *
@@ -10,6 +10,7 b''
10 10 //============================================================================
11 11
12 12 var IPython = (function (IPython) {
13 "use strict";
13 14
14 15 var LayoutManager = function () {
15 16 this.bind_events();
@@ -10,6 +10,7 b''
10 10 //============================================================================
11 11
12 12 var IPython = (function (IPython) {
13 "use strict";
13 14
14 15 var MainToolBar = function (selector) {
15 16 IPython.ToolBar.apply(this, arguments);
@@ -17,6 +17,7 b''
17 17
18 18
19 19 var IPython = (function (IPython) {
20 "use strict";
20 21
21 22 /**
22 23 * A MenuBar Class to generate the menubar of IPython noteboko
@@ -10,6 +10,7 b''
10 10 //============================================================================
11 11
12 12 var IPython = (function (IPython) {
13 "use strict";
13 14
14 15 var utils = IPython.utils;
15 16 var key = IPython.utils.keycodes;
@@ -10,6 +10,7 b''
10 10 //============================================================================
11 11
12 12 var IPython = (function (IPython) {
13 "use strict";
13 14
14 15 var utils = IPython.utils;
15 16
@@ -10,6 +10,7 b''
10 10 //============================================================================
11 11
12 12 var IPython = (function (IPython) {
13 "use strict";
13 14
14 15 var QuickHelp = function (selector) {
15 16 };
@@ -10,6 +10,7 b''
10 10 //============================================================================
11 11
12 12 var IPython = (function (IPython) {
13 "use strict";
13 14
14 15 var utils = IPython.utils;
15 16
@@ -15,6 +15,7 b''
15 15 */
16 16
17 17 var IPython = (function (IPython) {
18 "use strict";
18 19
19 20 /**
20 21 * A generic toolbar on which one can add button
General Comments 0
You need to be logged in to leave comments. Login now