Skip to main content
0votes
1answer
40views

Where can I find a guide on CSON (Coffee Script Object Notation)?

I am familiar with JSON, and I can see some readability benefits of using CSON. However, while I can find all sorts of parsers for CSON, I can’t find a detailed description of the syntax itself. I ...
Manngo's user avatar
  • 16.6k
0votes
0answers
77views

Node.js Version Upgrade Issue with CoffeeScript Project

I am working on a project currently running on Node v6.11.4. I am trying to upgrade the Node version to v22.3.0 (latest). However, I am encountering several errors during the installation of Node ...
Regis's user avatar
0votes
0answers
58views

Convert CoffeeScript AST to JavaScript code

CoffeeScript provides a way to obtain an AST (abstract syntax tree) from CoffeeScript code. But I can't seem to find a simple way to then convert the AST into JavaScript. I realize that I can directly ...
John Deighan's user avatar
1vote
0answers
40views

How does triggers clicked worked in backbone.js

Recently, I have got a rails project project with backbone.js and CoffeeScript to support however I don't have previous work experience with backbone.js. Some of model relationship of the projects are:...
morshed's user avatar
2votes
1answer
106views

ExecJS::RuntimeError with rails, how get details of error?

I use rails 6 app with execJS, Sass and coffeeScript. There is an error in my coffee code, but I don't have information to find where... there is just an exception like this : ExecJS::RuntimeError in ...
Matrix's user avatar
  • 3,377
3votes
2answers
101views

How to correctly use functions inside loops in CoffeeScript 2?

1. Summary I can’t find, what is the correct way to use functions inside loops (or what to replace it with) in CoffeeScript 2 in 2024. Should I use one of the variations I’ve given below, or ...
Саша Черных's user avatar
0votes
0answers
43views

How to instantiate a class that requires DOM with Puppeteer?

I want to instantiate a class called DataBinding that uses document.querySelector inside a CoffeeScript file. To achieve this, I'm using Puppeteer to create the DOM environment. However, inside page....
João Vitor Choueri Branco's user avatar
3votes
1answer
198views

Searching for emails with empty subjects using IMAP

I am trying to search emails from my draft folder using node-imap package So what my file does is, it uses an imap search function based on Subjects and since the number of subjects is dynamic, we ...
Haseeb Zahid's user avatar
0votes
1answer
37views

Übersicht (macOS) question: prevent image caching in widget

I am maintaining an old CoffeeScript in Übersicht that spits out a random image from Photos. The widget refreshes every 30 minutes. What happens is that an AppleScript executes and overwrites an image ...
max1mvs's user avatar
1vote
0answers
24views

Why does installing grunt(npm install grunt --save-dev) into my project stops in between and doesn't make any chnages to package.json?

Installing grunt stops in between and does not move forward, please see image attached Reasons why this is happening and solution to it? Uglified js files via brunch before but it is no more ...
dona singla's user avatar
0votes
1answer
36views

how put an id unique in a button in a rails loop?

I have a grid where the receipts are listed with their information and the display button. The idea is that pressing the button that appears in the actions column (button_tag) sends the information of ...
Lucho's user avatar
0votes
1answer
97views

Prioritize Gmail filter using Gmail API

I am creating a filter in Gmail using Gmail API but the problem is that any filter created via API is moved to the top of the existing filters. I need it to be put at the bottom. There does not seem ...
Haseeb Zahid's user avatar
3votes
0answers
557views

custom script languages (such as coffeescript) no longer supported in vue 3.3?

UPDATE 2: This seems to be like an undocumented change to how the compiler works with the code in the tags (most likely unintentional, so probably a regression) Here's how the compiler handles ...
Louis Boux's user avatar
0votes
1answer
51views

CoffeeScript and Service Workers

When trying to register a service worker in CoffeeScript, it looks like the latest Chrome browser doesn't support service workers, which I know is not true. Here is my app.coffee, which is converted ...
John Deighan's user avatar
0votes
0answers
75views

In rails how to require a coffeescript file

In a rails application. I want to create a coffeescript function that can be shared by multiple coffeescripts. for example app/assets/javascripts/util.js.coffee sample_function = (word) -> ...
Tian Gao's user avatar

153050per page
close