Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Function.extractParams is deprecated. #229

Open
nextdevz opened this issue Feb 19, 2017 · 1 comment
Open

Function.extractParams is deprecated. #229

nextdevz opened this issue Feb 19, 2017 · 1 comment

Comments

@nextdevz
Copy link

Assigning custom properties to a marker when creating/copying it is
deprecated. Please, consider storing the custom properties you need in
some other object in your package, keyed by the marker's id property.

Function.extractParams (C:\Users\NextDEV\AppData\Local\atom\app-1.14.3\resources\app.asar\node_modules\text-buffer\lib\marker.js:43:14)
MarkerLayer.markRange (C:\Users\NextDEV\AppData\Local\atom\app-1.14.3\resources\app.asar\node_modules\text-buffer\lib\marker-layer.js:215:71)
DisplayMarkerLayer.markBufferRange (C:\Users\NextDEV\AppData\Local\atom\app-1.14.3\resources\app.asar\node_modules\text-buffer\lib\display-marker-layer.js:105:52)
TextEditor.markBufferRange (C:\Users\NextDEV\AppData\Local\atom\app-1.14.3\resources\app.asar\src\text-editor.js:1736:38)
EditorDiffExtender._createLineMarker (D:\Users\NextDEV\.atom\packages\git-time-machine\node_modules\split-diff\lib\editor-diff-extender.js:95:33)
EditorDiffExtender.highlightLines (D:\Users\NextDEV\.atom\packages\git-time-machine\node_modules\split-diff\lib\editor-diff-extender.js:78:33)
@marmistrz
Copy link

Similarly,
Pane::addItem(item, 0) is deprecated in favor of Pane::addItem(item, {index: 0})

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants