Giter Site home page Giter Site logo

checkvist-extended-commands's People

Contributors

nicosantangelo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

checkvist-extended-commands's Issues

Extension not working on nativefier

Hi!

Amazing work on this — I'm loving it as a Chrome extension.

Tried using this with Nativefier as per the README, but to no avail:

2020-02-11T00:36:41.491Z  Update cached tree
/Applications/Checkvist.app/Contents/Resources/app/inject/inject.js:59 Uncaught TypeError: Cannot read property 'forCondition' of undefined
    at Object.addShortcut (/Applications/Checkvist.app/Contents/Resources/app/inject/inject.js:59)
    at Keyboard.bindWithDelay (/Applications/Checkvist.app/Contents/Resources/app/inject/inject.js:18)
    at /Applications/Checkvist.app/Contents/Resources/app/inject/inject.js:97
    at Object.<anonymous> (/Applications/Checkvist.app/Contents/Resources/app/inject/inject.js:117)
    at Object.<anonymous> (/Applications/Checkvist.app/Contents/Resources/app/inject/inject.js:119)
    at Module._compile (internal/modules/cjs/loader.js:839)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:851)
    at Module.load (internal/modules/cjs/loader.js:701)
    at tryModuleLoad (internal/modules/cjs/loader.js:633)
    at Function.Module._load (internal/modules/cjs/loader.js:625)
addShortcut @ /Applications/Checkvist.app/Contents/Resources/app/inject/inject.js:59
bindWithDelay @ /Applications/Checkvist.app/Contents/Resources/app/inject/inject.js:18
(anonymous) @ /Applications/Checkvist.app/Contents/Resources/app/inject/inject.js:97
(anonymous) @ /Applications/Checkvist.app/Contents/Resources/app/inject/inject.js:117
(anonymous) @ /Applications/Checkvist.app/Contents/Resources/app/inject/inject.js:119
Module._compile @ internal/modules/cjs/loader.js:839
Module._extensions..js @ internal/modules/cjs/loader.js:851
Module.load @ internal/modules/cjs/loader.js:701
tryModuleLoad @ internal/modules/cjs/loader.js:633
Module._load @ internal/modules/cjs/loader.js:625
Module.require @ internal/modules/cjs/loader.js:739
require @ internal/modules/cjs/helpers.js:14
injectScripts @ /Applications/Checkvist.app/Contents/Resources/app/lib/static/preload.js:69
(anonymous) @ /Applications/Checkvist.app/Contents/Resources/app/lib/static/preload.js:27
layoutCore-fac750c68d4dcb062c22048ed0ece3cb.js:20 2020-02-11T00:36:41.509Z  Create completer on findInput
layoutCore-fac750c68d4dcb062c22048ed0ece3cb.js:20 2020-02-11T00:36:41.511Z  Installing on-hover image editor
layoutCore-fac750c68d4dcb062c22048ed0ece3cb.js:20 2020-02-11T00:36:41.899Z  Building checklist index page

Seems that under nativefier it is being loaded at a different point in time than Chrome is. I say this because when I open the console in the "native" app, I see the error but I can immediately access kbd:

> maxkir.kbd
maxkir.KbdManager {_hooks: Array(0), _managers: Array(4), keydownHandler: ƒ, keypressHandler: ƒ, element: document, …}

Chrome by default runs at document_idle and nativefier at DOMContentLoaded which I am assuming it is slightly different but significant enough.

Does this mean that Nativifier is no longer supported?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.