Stefan Haack

Results 49 comments of Stefan Haack

I understand that this is your style of doing imports, but I prefer importing from the original files. Maybe because I am from Java and want to keep it simple....

Sorry, I only add things which must be maintained, if it is useful for my projects, mainly https://chessmail.de But anyway thank you for the thoughts on optimizing cm-chessboard. 👍

With which command are you installing?

Hi @cancrexo, because `showToast` is not an ES6 module you could just import the file with `import "./src/bootstrap-show-toast.js"`, then you should be able to `bootstrap.showToast()`. ```js import "./src/bootstrap-show-toast.js" document.getElementById("button-show-simple").addEventListener("click", function...

I am not sure, I understand your request. The instance of the modal is provided as parameter of the event handler: `click: function(modal) {...`. To the jQuery thing, yes, I...

Okay, this is huge. Because, for me, it would mean to create a layer above the cm-chessboard. Like "cm-gameboard" to implement the main behavior and view of a board independent...

@jmt1423 You are right, it is not possible to add a variation on the first move with `addMove`, because, if you set the parameter `previous` to null, the method assumes,...

Yes, this is wrong in the package.json. Would be great if you create a PR which makes it working with TypeScript. 👍 I am not 100% sure what the "main"...

Yes Freestyle Chess (960) is a problem because the input of castling is different than in standard chess. There is no trivial solution to this. Normally if you click another...