codemirror / codemirror5

In-browser code editor (version 5, legacy)
http://codemirror.net/5/
MIT License
26.77k stars 4.96k forks source link

Missing `lib/codemirror.js` #4335

Closed jtheoof closed 7 years ago

jtheoof commented 7 years ago

After a recent upgrade to 5.20.0 I no longer see the file lib/codemirror.js. Not sure if we are still supposed to use this file but the docs seem to indicate so. Perhaps a bug in the bundler?

marijnh commented 7 years ago

See #4328

jtheoof commented 7 years ago

I forgot to mention, here is my bower.json:

{
  "name": "xxx",
  "version": "0.0.1",
  "dependencies": {
    "codemirror": "CodeMirror#^5.14.2",
   ...
  }
}

Content of codemirror:

.
├── AUTHORS
├── CHANGELOG.md
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── addon
│   ├── comment
│   │   ├── comment.js
│   │   └── continuecomment.js
│   ├── dialog
│   │   ├── dialog.css
│   │   └── dialog.js
│   ├── display
│   │   ├── autorefresh.js
│   │   ├── fullscreen.css
│   │   ├── fullscreen.js
│   │   ├── panel.js
│   │   ├── placeholder.js
│   │   └── rulers.js
│   ├── edit
│   │   ├── closebrackets.js
│   │   ├── closetag.js
│   │   ├── continuelist.js
│   │   ├── matchbrackets.js
│   │   ├── matchtags.js
│   │   └── trailingspace.js
│   ├── fold
│   │   ├── brace-fold.js
│   │   ├── comment-fold.js
│   │   ├── foldcode.js
│   │   ├── foldgutter.css
│   │   ├── foldgutter.js
│   │   ├── indent-fold.js
│   │   ├── markdown-fold.js
│   │   └── xml-fold.js
│   ├── hint
│   │   ├── anyword-hint.js
│   │   ├── css-hint.js
│   │   ├── html-hint.js
│   │   ├── javascript-hint.js
│   │   ├── show-hint.css
│   │   ├── show-hint.js
│   │   ├── sql-hint.js
│   │   └── xml-hint.js
│   ├── lint
│   │   ├── coffeescript-lint.js
│   │   ├── css-lint.js
│   │   ├── html-lint.js
│   │   ├── javascript-lint.js
│   │   ├── json-lint.js
│   │   ├── lint.css
│   │   ├── lint.js
│   │   └── yaml-lint.js
│   ├── merge
│   │   ├── merge.css
│   │   └── merge.js
│   ├── mode
│   │   ├── loadmode.js
│   │   ├── multiplex.js
│   │   ├── multiplex_test.js
│   │   ├── overlay.js
│   │   └── simple.js
│   ├── runmode
│   │   ├── colorize.js
│   │   ├── runmode-standalone.js
│   │   ├── runmode.js
│   │   └── runmode.node.js
│   ├── scroll
│   │   ├── annotatescrollbar.js
│   │   ├── scrollpastend.js
│   │   ├── simplescrollbars.css
│   │   └── simplescrollbars.js
│   ├── search
│   │   ├── jump-to-line.js
│   │   ├── match-highlighter.js
│   │   ├── matchesonscrollbar.css
│   │   ├── matchesonscrollbar.js
│   │   ├── search.js
│   │   └── searchcursor.js
│   ├── selection
│   │   ├── active-line.js
│   │   ├── mark-selection.js
│   │   └── selection-pointer.js
│   ├── tern
│   │   ├── tern.css
│   │   ├── tern.js
│   │   └── worker.js
│   └── wrap
│       └── hardwrap.js
├── bower.json
├── keymap
│   ├── emacs.js
│   ├── sublime.js
│   └── vim.js
├── lib
│   └── codemirror.css
├── mode
│   ├── apl
│   │   └── apl.js
│   ├── asciiarmor
│   │   └── asciiarmor.js
│   ├── asn.1
│   │   └── asn.1.js
│   ├── asterisk
│   │   └── asterisk.js
│   ├── brainfuck
│   │   └── brainfuck.js
│   ├── clike
│   │   └── clike.js
│   ├── clojure
│   │   └── clojure.js
│   ├── cmake
│   │   └── cmake.js
│   ├── cobol
│   │   └── cobol.js
│   ├── coffeescript
│   │   └── coffeescript.js
│   ├── commonlisp
│   │   └── commonlisp.js
│   ├── crystal
│   │   └── crystal.js
│   ├── css
│   │   └── css.js
│   ├── cypher
│   │   └── cypher.js
│   ├── d
│   │   └── d.js
│   ├── dart
│   │   └── dart.js
│   ├── diff
│   │   └── diff.js
│   ├── django
│   │   └── django.js
│   ├── dockerfile
│   │   └── dockerfile.js
│   ├── dtd
│   │   └── dtd.js
│   ├── dylan
│   │   └── dylan.js
│   ├── ebnf
│   │   └── ebnf.js
│   ├── ecl
│   │   └── ecl.js
│   ├── eiffel
│   │   └── eiffel.js
│   ├── elm
│   │   └── elm.js
│   ├── erlang
│   │   └── erlang.js
│   ├── factor
│   │   └── factor.js
│   ├── fcl
│   │   └── fcl.js
│   ├── forth
│   │   └── forth.js
│   ├── fortran
│   │   └── fortran.js
│   ├── gas
│   │   └── gas.js
│   ├── gfm
│   │   └── gfm.js
│   ├── gherkin
│   │   └── gherkin.js
│   ├── go
│   │   └── go.js
│   ├── groovy
│   │   └── groovy.js
│   ├── haml
│   │   └── haml.js
│   ├── handlebars
│   │   └── handlebars.js
│   ├── haskell
│   │   └── haskell.js
│   ├── haskell-literate
│   │   └── haskell-literate.js
│   ├── haxe
│   │   └── haxe.js
│   ├── htmlembedded
│   │   └── htmlembedded.js
│   ├── htmlmixed
│   │   └── htmlmixed.js
│   ├── http
│   │   └── http.js
│   ├── idl
│   │   └── idl.js
│   ├── javascript
│   │   └── javascript.js
│   ├── jinja2
│   │   └── jinja2.js
│   ├── jsx
│   │   └── jsx.js
│   ├── julia
│   │   └── julia.js
│   ├── livescript
│   │   └── livescript.js
│   ├── lua
│   │   └── lua.js
│   ├── markdown
│   │   └── markdown.js
│   ├── mathematica
│   │   └── mathematica.js
│   ├── mbox
│   │   └── mbox.js
│   ├── meta.js
│   ├── mirc
│   │   └── mirc.js
│   ├── mllike
│   │   └── mllike.js
│   ├── modelica
│   │   └── modelica.js
│   ├── mscgen
│   │   └── mscgen.js
│   ├── mumps
│   │   └── mumps.js
│   ├── nginx
│   │   └── nginx.js
│   ├── nsis
│   │   └── nsis.js
│   ├── ntriples
│   │   └── ntriples.js
│   ├── octave
│   │   └── octave.js
│   ├── oz
│   │   └── oz.js
│   ├── pascal
│   │   └── pascal.js
│   ├── pegjs
│   │   └── pegjs.js
│   ├── perl
│   │   └── perl.js
│   ├── php
│   │   └── php.js
│   ├── pig
│   │   └── pig.js
│   ├── powershell
│   │   └── powershell.js
│   ├── properties
│   │   └── properties.js
│   ├── protobuf
│   │   └── protobuf.js
│   ├── pug
│   │   └── pug.js
│   ├── puppet
│   │   └── puppet.js
│   ├── python
│   │   └── python.js
│   ├── q
│   │   └── q.js
│   ├── r
│   │   └── r.js
│   ├── rpm
│   │   ├── changes
│   │   └── rpm.js
│   ├── rst
│   │   └── rst.js
│   ├── ruby
│   │   └── ruby.js
│   ├── rust
│   │   └── rust.js
│   ├── sas
│   │   └── sas.js
│   ├── sass
│   │   └── sass.js
│   ├── scheme
│   │   └── scheme.js
│   ├── shell
│   │   └── shell.js
│   ├── sieve
│   │   └── sieve.js
│   ├── slim
│   │   └── slim.js
│   ├── smalltalk
│   │   └── smalltalk.js
│   ├── smarty
│   │   └── smarty.js
│   ├── solr
│   │   └── solr.js
│   ├── soy
│   │   └── soy.js
│   ├── sparql
│   │   └── sparql.js
│   ├── spreadsheet
│   │   └── spreadsheet.js
│   ├── sql
│   │   └── sql.js
│   ├── stex
│   │   └── stex.js
│   ├── stylus
│   │   └── stylus.js
│   ├── swift
│   │   └── swift.js
│   ├── tcl
│   │   └── tcl.js
│   ├── textile
│   │   └── textile.js
│   ├── tiddlywiki
│   │   ├── tiddlywiki.css
│   │   └── tiddlywiki.js
│   ├── tiki
│   │   ├── tiki.css
│   │   └── tiki.js
│   ├── toml
│   │   └── toml.js
│   ├── tornado
│   │   └── tornado.js
│   ├── troff
│   │   └── troff.js
│   ├── ttcn
│   │   └── ttcn.js
│   ├── ttcn-cfg
│   │   └── ttcn-cfg.js
│   ├── turtle
│   │   └── turtle.js
│   ├── twig
│   │   └── twig.js
│   ├── vb
│   │   └── vb.js
│   ├── vbscript
│   │   └── vbscript.js
│   ├── velocity
│   │   └── velocity.js
│   ├── verilog
│   │   └── verilog.js
│   ├── vhdl
│   │   └── vhdl.js
│   ├── vue
│   │   └── vue.js
│   ├── webidl
│   │   └── webidl.js
│   ├── xml
│   │   └── xml.js
│   ├── xquery
│   │   └── xquery.js
│   ├── yacas
│   │   └── yacas.js
│   ├── yaml
│   │   └── yaml.js
│   ├── yaml-frontmatter
│   │   └── yaml-frontmatter.js
│   └── z80
│       └── z80.js
├── rollup.config.js
├── src
│   ├── codemirror.js
│   ├── display
│   │   ├── Display.js
│   │   ├── focus.js
│   │   ├── gutters.js
│   │   ├── highlight_worker.js
│   │   ├── line_numbers.js
│   │   ├── mode_state.js
│   │   ├── operations.js
│   │   ├── scroll_events.js
│   │   ├── scrollbars.js
│   │   ├── scrolling.js
│   │   ├── selection.js
│   │   ├── update_display.js
│   │   ├── update_line.js
│   │   ├── update_lines.js
│   │   └── view_tracking.js
│   ├── edit
│   │   ├── CodeMirror.js
│   │   ├── commands.js
│   │   ├── deleteNearSelection.js
│   │   ├── drop_events.js
│   │   ├── fromTextArea.js
│   │   ├── global_events.js
│   │   ├── key_events.js
│   │   ├── legacy.js
│   │   ├── main.js
│   │   ├── methods.js
│   │   ├── mouse_events.js
│   │   ├── options.js
│   │   └── utils.js
│   ├── input
│   │   ├── ContentEditableInput.js
│   │   ├── TextareaInput.js
│   │   ├── indent.js
│   │   ├── input.js
│   │   ├── keymap.js
│   │   └── keynames.js
│   ├── line
│   │   ├── highlight.js
│   │   ├── line_data.js
│   │   ├── pos.js
│   │   ├── saw_special_spans.js
│   │   ├── spans.js
│   │   └── utils_line.js
│   ├── measurement
│   │   ├── position_measurement.js
│   │   └── widgets.js
│   ├── model
│   │   ├── Doc.js
│   │   ├── change_measurement.js
│   │   ├── changes.js
│   │   ├── chunk.js
│   │   ├── document_data.js
│   │   ├── history.js
│   │   ├── line_widget.js
│   │   ├── mark_text.js
│   │   ├── selection.js
│   │   └── selection_updates.js
│   ├── modes.js
│   └── util
│       ├── StringStream.js
│       ├── bidi.js
│       ├── browser.js
│       ├── dom.js
│       ├── event.js
│       ├── feature_detection.js
│       ├── misc.js
│       └── operation_group.js
└── theme
    ├── 3024-day.css
    ├── 3024-night.css
    ├── abcdef.css
    ├── ambiance-mobile.css
    ├── ambiance.css
    ├── base16-dark.css
    ├── base16-light.css
    ├── bespin.css
    ├── blackboard.css
    ├── cobalt.css
    ├── colorforth.css
    ├── dracula.css
    ├── duotone-dark.css
    ├── duotone-light.css
    ├── eclipse.css
    ├── elegant.css
    ├── erlang-dark.css
    ├── hopscotch.css
    ├── icecoder.css
    ├── isotope.css
    ├── lesser-dark.css
    ├── liquibyte.css
    ├── material.css
    ├── mbo.css
    ├── mdn-like.css
    ├── midnight.css
    ├── monokai.css
    ├── neat.css
    ├── neo.css
    ├── night.css
    ├── panda-syntax.css
    ├── paraiso-dark.css
    ├── paraiso-light.css
    ├── pastel-on-dark.css
    ├── railscasts.css
    ├── rubyblue.css
    ├── seti.css
    ├── solarized.css
    ├── the-matrix.css
    ├── tomorrow-night-bright.css
    ├── tomorrow-night-eighties.css
    ├── ttcn.css
    ├── twilight.css
    ├── vibrant-ink.css
    ├── xq-dark.css
    ├── xq-light.css
    ├── yeti.css
    └── zenburn.css

149 directories, 312 files