This repository has been archived by the owner on Sep 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci skip] Changes necessary to work standalone similar to ipywidgets …
…examples (c) Copyright IBM Corp. 2015
- Loading branch information
Gino Bustelo
committed
Dec 16, 2015
1 parent
f7b6b78
commit d227b4a
Showing
5 changed files
with
67 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Copyright (c) Jupyter Development Team. | ||
// Distributed under the terms of the Modified BSD License. | ||
|
||
// This is the main file that will be loaded when urth-widgets is required in an | ||
// npm environment. | ||
// | ||
//module.exports = function createDefine(targetModule) { | ||
// var amdefine = require('amdefine')(targetModule, require); | ||
// | ||
// return function define() { | ||
// var args = Array.prototype.slice.call(arguments); | ||
// //if (args.length > 1) { | ||
// // args[0] = args[0].map(function(arg) { | ||
// // if (arg === 'jqueryui') arg = 'jquery'; | ||
// // arg = arg.replace('nbextensions/widgets/widgets/css/', '../css/'); | ||
// // arg = arg.replace('nbextensions/widgets/components/require-css/css!', ''); | ||
// // return arg; | ||
// // }); | ||
// //} | ||
// amdefine.apply(this, args); | ||
// }; | ||
//}; | ||
|
||
var init = require('./dist/urth_widgets/js/init/init'); | ||
|
||
exports.init = init; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters