Commit Graph

39 Commits

Author SHA1 Message Date
Matthias Bussonnier
baa49f73c8 Add eslint deps 2016-04-21 18:21:43 +02:00
Matthias Bussonnier
ab85f165c7 Create shortcut editor for the notebook
1) finish the step allowing the use of es6

  - this include some tweak to web pack configuration to speed up
    recompile in watch mode (in particular cache sourcemaps).
  - enable eslint (error only), on obvious mistakes.
  - setup babel to compile to es5 as a target.

2) Make the test pass under Casper that does not always have
`Function.prototype.bind` defined, which we cannot patch only in the
tests.

3) Write an actual shortcut editor that list and allow to modify most of
the command mode shortcut.

The logic to persist the shortcuts is a bit tricky as there are default
keyboard shortcuts, and so when you "unbind" them you need to re-unbind
them at next startup. This does not work for a few shortcut for
technical reasons: `<Esc>`, `<Shift>`, as well as `<Ctrl-Shift-P>` and `<F>`
which register asynchronously, so are not detected as "default"
shortcuts.
2016-04-21 18:00:17 +02:00
Matthias Bussonnier
1096410fcf Try es6 and add a few features for shortcut editor. 2016-04-14 16:49:35 +02:00
Min RK
fdc1bb50da simplify js build steps
- run npm, bower install every time (except from sdist).
  Removes need to check npm, bower sources.
- only check `built/index.js` for build target
  since webpack is only a single step now
2016-02-24 16:00:39 +01:00
Jonathan Frederic
a83f18255b Use npm to install moment 2016-02-22 07:30:55 -08:00
Jonathan Frederic
e409dd1a2c Install webpack and configure scripts for execution of webpack 2016-02-22 07:30:55 -08:00
Matthias Bussonnier
2d5d548d79 Revert "Use NPM, node ES5, and browserify." 2015-08-27 09:00:15 +02:00
Jonathan Frederic
7717a986d1 Load underscore globally 2015-08-26 14:06:14 -07:00
Jonathan Frederic
467ae32b05 Make sure requirejs can't be set more than once. 2015-08-26 14:06:13 -07:00
Jonathan Frederic
c802038415 Remove jquery, jqueryui, and bootstrap from npm packages 2015-08-26 14:06:13 -07:00
Jonathan Frederic
69bb4b1a0a Truely load jquery, jqueryui, and bootstrap as globals. 2015-08-26 14:06:13 -07:00
Jonathan Frederic
55dd626980 Fix tests 2015-08-26 14:06:12 -07:00
Jonathan Frederic
b8f25eea2f Remove debowerify 2015-08-26 14:06:12 -07:00
Jonathan Frederic
72d052eb5d Debowerify and google caja support 2015-08-26 14:06:12 -07:00
Jonathan Frederic
aa097ba662 Add typeahead npm ref 2015-08-26 14:06:11 -07:00
jdfreder
b2ae17dd09 Fix some problems reported by Matthias 2015-08-26 14:06:11 -07:00
Jonathan Frederic
6258f542dd Almost working 100% 2015-08-26 14:06:11 -07:00
Jonathan Frederic
a719e19b39 Add script to amd-ify the commonjs code,
(backwards compat. and dynamic loading)
2015-08-26 14:06:11 -07:00
Jonathan Frederic
4c07a8bffc Add new cjs conversion method 2015-08-26 14:06:11 -07:00
Jonathan Frederic
e0f3141748 Magic r.js stuff 2015-08-26 14:06:10 -07:00
jdfreder
37d92cb80d Fix jquery dependency 2015-08-26 14:06:10 -07:00
Jonathan Frederic
f7d546c153 Add clean script 2015-08-26 14:06:10 -07:00
Jonathan Frederic
3498a5193c Get all of the apps working except notebookapp 2015-08-26 14:06:10 -07:00
Jonathan Frederic
81a2998fe0 Dynamically load contents, also browserify contents. 2015-08-26 14:06:10 -07:00
jdfreder
c180719fa8 Post install bower install 2015-08-26 14:05:15 -07:00
jdfreder
ad80ae9bca Fix bugs 🐛 2015-08-26 14:05:15 -07:00
Kyle Kelley
6a2960104c Install jquery from npm (needed as dependency). 2015-08-26 14:05:15 -07:00
jdfreder
b88fa0163a Use npm for js and less builds 2015-08-26 14:05:14 -07:00
Min RK
c41df91b10 remove gulp
Follow-suit from ipywidgets and
build js/css with Python/js scripts instead:

e.g.

- `npm run build`
- `setup.py js css`
2015-07-21 16:34:44 -07:00
Matthias Bussonnier
19e37b0aa1 Do not minify css
it removes rules. Closes #112
2015-06-09 13:57:27 -07:00
Min RK
7923bc817c Clarify dependency-changed message
and add a few clarifying comments
2015-05-23 14:46:26 -07:00
Min RK
30102f2780 use gulp-newer to avoid wasteful re-running of rjs 2015-05-22 16:07:03 -07:00
Min RK
e00931bc11 compile main.min.js for each application
- build-main.js is a separate file, spawned with process.fork to allow parallel builds
- gulp js builds main.min.js for each js application
2015-05-22 16:01:48 -07:00
Min RK
d71a59cc9f s/jupyter_notebook/notebook 2015-05-14 10:49:28 -07:00
Matthias Bussonnier
69d86dccc7 Configure watch/livereload extension and document it.
Is usefull mostly for css, but will be for typscript too.
2015-04-21 18:30:05 -07:00
Matthias Bussonnier
824c45f6a2 build sourcemap and tweek setup.py css to use gulp 2015-04-21 15:37:14 -07:00
Matthias Bussonnier
9287bd84f5 add building sourcemaps 2015-04-21 15:37:14 -07:00
Matthias Bussonnier
bf5484dd10 example of gulpfile to make css 2015-04-21 15:37:14 -07:00
Min RK
cfd1ee51e5 add package.json for fetching bower, less 2015-04-21 15:37:09 -07:00