Giter VIP home page Giter VIP logo

Comments (3)

blbigelow avatar blbigelow commented on September 3, 2024

I forked the repository and put in a "fix". I don't know if it will work for everything, but editable cell adds itself to knockout in node-webkit now.

https://github.com/blbigelow/editableCell

from editablecell.

jstclair avatar jstclair commented on September 3, 2024

Hi, first - so sorry I missed this issue (didn't get a notification). Totally dropped the ball here.

I've looked at your fix. Do you have a gist or something showing where the issue originated? I see you're using RequireJS in Node - are you using something like Browserify or Webpack as well?

You may have needed to use RequireJS's shim functionality, like:

requirejs.config({
  paths: {
    "text": "https://cdnjs.cloudflare.com/ajax/libs/require-text/2.0.12/text",
    "knockout": "https://cdnjs.cloudflare.com/ajax/libs/knockout/3.2.0/knockout-min",
    "lodash": "https://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min",
    "editableCell": "https://cdn.rawgit.com/gnab/editableCell/v2.1.1/out/editableCell.min",
 },
, shim: {
    "editableCell": { deps: ['knockout'] }
}};

You can see an example if you edit/view source here:
http://jsbin.com/roheqo/1/

Might be just a doc bug for editableCell - I see we describe how to use it with RequireJS but don't mention the need for a shim.

from editablecell.

blbigelow avatar blbigelow commented on September 3, 2024

Hi thanks for your response. I'm pretty sure I tried going the shim route, but was still unable to get things working. I ended up forcing the knockout dependency like this: blbigelow@67b4f84

from editablecell.

Related Issues (20)

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.