Skip to content Skip to sidebar Skip to footer
Showing posts with the label Coffeescript

I Want To Run D3 From A Cakefile

I'd like to execute some d3 code from the command line. Initially I just tried something like: … Read more I Want To Run D3 From A Cakefile

How To Apply Backbone Router For Full Path, Not A Hash

Does that possibility exist? Our site is not one page, but all js-files compressed inside of applic… Read more How To Apply Backbone Router For Full Path, Not A Hash

Login Not Working In Firefox In Meteor

I am trying to develop the login functionality in meteor, and I am using jade-handlebars and coffee… Read more Login Not Working In Firefox In Meteor

Coffeescript: Getter/setter In Object Initializers

ECMAScript allows us to define getters or setters as following: [text/javascript] var object = { … Read more Coffeescript: Getter/setter In Object Initializers

Coffeescript Ide For Windows - Tried Titanium Studio And Rubymine

I'm trying to find a good way to work on CoffeeScript on Windows and be able to process these f… Read more Coffeescript Ide For Windows - Tried Titanium Studio And Rubymine

Redirection On Ajax Success Using Window.location.replace()

I am trying to redirect the page on the successful ajax call, the following code works fine, $.ajax… Read more Redirection On Ajax Success Using Window.location.replace()

Multiple Callbacks In Coffeescript

I am trying to work out the correct behavior to string multiple callbacks together. class Person … Read more Multiple Callbacks In Coffeescript

Javascript/coffeescript Sum Objects

I would love to 'add/merge' (not sure how to call that) some objects in this manner: obj1 =… Read more Javascript/coffeescript Sum Objects

Extending An Array Properly, Keeping The Instance Of Subclass

I've written a class trying to extend the native Javascript Array class with a custom class, le… Read more Extending An Array Properly, Keeping The Instance Of Subclass

Mobilesafari Won't Send Back Cookies Set With Cors

I have a page loading up in MobileSafari which communicated with another server via CORS. In deskto… Read more Mobilesafari Won't Send Back Cookies Set With Cors

Jquery .on() Isn't Binding Click Events To Dynamically Created Elements

I have a textbox that dynamically adds an element when I press enter, and another that deletes the … Read more Jquery .on() Isn't Binding Click Events To Dynamically Created Elements

Backbone Dynamically Created 'el' Not Binding Events

Like many other users out here I have a problem with el and events. In my situation I have tested m… Read more Backbone Dynamically Created 'el' Not Binding Events

How Can I Log Every Method Call In Node.js Without Adding Debug Lines Everywhere?

I would like to log the user_id of the person making a request and the method name of every method … Read more How Can I Log Every Method Call In Node.js Without Adding Debug Lines Everywhere?

Q.js Progress Handler Doesn't Seem To Be Firing

I'm currently using Q.js for promises, since they implement progress handlers. However, it does… Read more Q.js Progress Handler Doesn't Seem To Be Firing

Meteor Mail Not Sending Despite Setting Mail_url Environment Variable

I'm getting this error message in the terminal 'Mail not sent; to enable sending, set the M… Read more Meteor Mail Not Sending Despite Setting Mail_url Environment Variable

Javascript: Referenceerror: Myclass Is Not Defined

This is very basic. I try to instantiate a Class defined in an external .js file embedded. The code… Read more Javascript: Referenceerror: Myclass Is Not Defined

Uncaught Reference Error, Notification Not Defined

I am trying to add notifications to my rails app. Basically I get them from a JSON endpoint and I t… Read more Uncaught Reference Error, Notification Not Defined

Where Is The File Sandbox For A Chrome App?

I'm developing a chrome app with the capability to handle files. I need to copy these files to… Read more Where Is The File Sandbox For A Chrome App?

Alert Function Not Working In Coffeescript

I found about CoffeeScript in a blog and decided to give it a try ,my first project/code with it wa… Read more Alert Function Not Working In Coffeescript

Syntax Error When Deploying Rails App To Heroku: Execjs::runtimeerror: Syntaxerror: Unexpected Character

I am trying to deploy my app to Heroku but its throwing me this error. 'ExecJS::RuntimeError: … Read more Syntax Error When Deploying Rails App To Heroku: Execjs::runtimeerror: Syntaxerror: Unexpected Character