Merge pull request #7273 from Carreau/content-no-namespace

Do not inject self in IPython namespace
This commit is contained in:
Matthias Bussonnier 2014-12-23 19:35:16 +01:00
commit 7a295d1924

View File

@ -1,12 +1,12 @@
// Copyright (c) IPython Development Team.
// Distributed under the terms of the Modified BSD License.
define([
'base/js/namespace',
'jquery',
'base/js/utils',
], function(IPython, $, utils) {
define(function(require) {
"use strict";
var $ = require('jquery');
var utils = require('base/js/utils');
var Contents = function(options) {
/**
* Constructor
@ -245,8 +245,5 @@ define([
return this.get(path, {type: 'directory'});
};
IPython.Contents = Contents;
return {'Contents': Contents};
});