Skip to content

Console deprecated warning: Do not use $().on/off() on Brackets modules and model objects #27

Open
@anephew

Description

@anephew

Hello!

Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper.

Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper.
    at new jQuery.fn.init (/brackets.js:465:36)
    at n (file:///D:/PROGRAMS/Dev/Brackets%200.45/www/thirdparty/thirdparty.min.js:19:405)
    at _highlight (file:///C:/Users/anephew/AppData/Roaming/Brackets/extensions/user/insya.tools/lib/wordHighlight.js:40:3)
    at Object.<anonymous> (file:///C:/Users/anephew/AppData/Roaming/Brackets/extensions/user/insya.tools/lib/wordHighlight.js:81:5)

Please correct 366 line of the lib/wordHighlight.js to:

EditorManager.on("activeEditorChange", function(e, activeEditor, prevEditor){

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions