Questions tagged [iced-coffeescript]

IcedCoffeeScript is a superset of CoffeeScript.

IcedCoffeeScript is a superset of that adds support for await and defer keywords which simplify async control flow. The iced interpreter is a drop-in replacement for the standard coffee interpreter; it will interpret almost all existing CoffeeScript programs.

37 questions
0
votes
1 answer

plunker node js jitsu error when start application

I getting errors during start jitsu server. Please guide me {"message":"Object # has no method 'local'","code":500} err Mon, 11 Nov 2013 13:13:09 GMT TypeError: Object # has no method 'local' at Object.module.exports.middleware [as…
0
votes
2 answers

incapsulating redis hmset in iced coffee script function

I want to incapsulate redis hmset. exports.hmset = (name, autocb, params...)=> await client.hmset name, params, defer(err) throw err if err I have that params is array like ['fooKey', 'fooValue', 'barKey', 'barValue']. But then I have data…
Maxim Yefremov
  • 13,671
  • 27
  • 117
  • 166
0
votes
2 answers

How to use ScopedClient with Iced CoffeeScript

I'm trying to rewrite a hubot script using iced coffee script. Here is my original regular (hot?) CoffeeScript code: getHost = (msg, artifact, cb) -> url = "http://myapi.org/api/hosts-for/artifact/#{artifact}" msg.http(url) .get() (err, res,…
Alex Spurling
  • 54,094
  • 23
  • 70
  • 76
0
votes
1 answer

Prevent require.extensions being modified in node.js

I am using IcedCoffeeScript. Some of my dependencies have a coffee-script dependency. When coffee-script is required it sets require.extensions['.coffee'] which overrides IcedCoffeeScript's extension. This breaks my app. I name all my files…
vaughan
  • 6,982
  • 6
  • 47
  • 63
0
votes
2 answers

Can't get iced-coffee-script with comprehensions such as map or reduce

All, I have discovered iced-coffee-script today and was very happy to see that someone tried designing a more readable coffee-script dialect for async programming. I can't get iced to work though with comprehensions like the map and reduce…
giacecco
  • 661
  • 1
  • 5
  • 8
-1
votes
2 answers

return value from a jquery get callback function

It would be very useful to me if you could help me fix this function: textParseQuery = (txtSnippet) -> queryUrl = "http://localhost:8083/txtParse/#{txtSnippet}" console.log queryUrl callback = (response) => parsed =…
NoIdeaHowToFixThis
  • 4,484
  • 2
  • 34
  • 69
-2
votes
1 answer

coffeescript vs react for a single page application users dashboard

As I'm new. I have to design a users dashboard which almost a single page application and also having a lot of functionalities. I'm planning to use coffeescript or react.js but not clear. Please suggest one of language.
Mahesh Saini
  • 19
  • 1
  • 4
1 2
3