File modules/editor/codemirror/src/edit/legacy.min.js
Last commit: Tue May 22 22:39:49 2018 +0200 Jan Dankert Fix für PHP 7.2: 'Object' darf nun nicht mehr als Klassennamen verwendet werden. AUCH NICHT IN EINEM NAMESPACE! WTF, wozu habe ich das in einen verfickten Namespace gepackt? Wozu soll der sonst da sein??? Amateure. Daher nun notgedrungen unbenannt in 'BaseObject'.
1 import { scrollbarModel } from "../display/scrollbars.js" 2 import { wheelEventPixels } from "../display/scroll_events.js" 3 import { keyMap, keyName, isModifierKey, lookupKey, normalizeKeyMap } from "../input/keymap.js" 4 import { keyNames } from "../input/keynames.js" 5 import { Line } from "../line/line_data.js" 6 import { cmp, Pos } from "../line/pos.js" 7 import { changeEnd } from "../model/change_measurement.js" 8 import Doc from "../model/Doc.js" 9 import { LineWidget } from "../model/line_widget.js" 10 import { SharedTextMarker, TextMarker } from "../model/mark_text.js" 11 import { copyState, extendMode, getMode, innerMode, mimeModes, modeExtensions, modes, resolveMode, startState } from "../modes.js" 12 import { addClass, contains, rmClass } from "../util/dom.js" 13 import { e_preventDefault, e_stop, e_stopPropagation, off, on, signal } from "../util/event.js" 14 import { splitLinesAuto } from "../util/feature_detection.js" 15 import { countColumn, findColumn, isWordCharBasic, Pass } from "../util/misc.js" 16 import StringStream from "../util/StringStream.js" 17 18 import { commands } from "./commands.js" 19 20 export function addLegacyProps(CodeMirror) { 21 CodeMirror.off = off 22 CodeMirror.on = on 23 CodeMirror.wheelEventPixels = wheelEventPixels 24 CodeMirror.Doc = Doc 25 CodeMirror.splitLines = splitLinesAuto 26 CodeMirror.countColumn = countColumn 27 CodeMirror.findColumn = findColumn 28 CodeMirror.isWordChar = isWordCharBasic 29 CodeMirror.Pass = Pass 30 CodeMirror.signal = signal 31 CodeMirror.Line = Line 32 CodeMirror.changeEnd = changeEnd 33 CodeMirror.scrollbarModel = scrollbarModel 34 CodeMirror.Pos = Pos 35 CodeMirror.cmpPos = cmp 36 CodeMirror.modes = modes 37 CodeMirror.mimeModes = mimeModes 38 CodeMirror.resolveMode = resolveMode 39 CodeMirror.getMode = getMode 40 CodeMirror.modeExtensions = modeExtensions 41 CodeMirror.extendMode = extendMode 42 CodeMirror.copyState = copyState 43 CodeMirror.startState = startState 44 CodeMirror.innerMode = innerMode 45 CodeMirror.commands = commands 46 CodeMirror.keyMap = keyMap 47 CodeMirror.keyName = keyName 48 CodeMirror.isModifierKey = isModifierKey 49 CodeMirror.lookupKey = lookupKey 50 CodeMirror.normalizeKeyMap = normalizeKeyMap 51 CodeMirror.StringStream = StringStream 52 CodeMirror.SharedTextMarker = SharedTextMarker 53 CodeMirror.TextMarker = TextMarker 54 CodeMirror.LineWidget = LineWidget 55 CodeMirror.e_preventDefault = e_preventDefault 56 CodeMirror.e_stopPropagation = e_stopPropagation 57 CodeMirror.e_stop = e_stop 58 CodeMirror.addClass = addClass 59 CodeMirror.contains = contains 60 CodeMirror.rmClass = rmClass 61 CodeMirror.keyNames = keyNames 62 }
Downloadmodules/editor/codemirror/src/edit/legacy.min.js
History Tue, 22 May 2018 22:39:49 +0200 Jan Dankert Fix für PHP 7.2: 'Object' darf nun nicht mehr als Klassennamen verwendet werden. AUCH NICHT IN EINEM NAMESPACE! WTF, wozu habe ich das in einen verfickten Namespace gepackt? Wozu soll der sonst da sein??? Amateure. Daher nun notgedrungen unbenannt in 'BaseObject'.