The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
38 views

When to use a javascript framework [closed]

We have a ruby on rails website which uses a lot of rail's built in remote ajax with js templates. We have new requirements that are taking us in the direction of a single page application where ...
0
votes
0answers
23 views

Deleting dynamic elements from a database

I have a select dropdown, with '+' and '-' buttons that add and remove items before submission. I would like to be able to remove the elements with the '-' button after they have been added to the ...
2
votes
1answer
97 views

Designing javascript chart library

I started coding a chart library on top of d3js: My chart library. I read Javascript API reusability and Towards reusable charts. However, I am NOT really following the suggestions because I am not ...
2
votes
1answer
99 views

Implementing Syncing between localStorage and SQL database?

I have made a simple web app, which runs completely offline - all data is saved in HTML5's localStorage. Now, I want the data to get synced with the server, so that the user is able to use the app on ...
1
vote
2answers
433 views

Multiple var statements in JavaScript

Writing a single var declaration per function is considered to be good for readability and maintainability. But, when I went through some of standard libraries, their dev version doesn't strictly ...
0
votes
0answers
38 views

Bundling remote resources

Meteor essentially collects every CSS and JS file in your project folder and includes them for you. This is very convenient for rapid development; you can just drop files in your project, rename them, ...
2
votes
1answer
487 views

Approaches to reduce cyclomatic complexity

I was running our code through JSHint, and decided to switch checks against cyclomatic complexity, and then went on long refactoring sprint. One place though baffled me, here is a code snippet: var ...
18
votes
2answers
6k views

What is ASM.js and what does it mean for everyone?

I'm starting to hear rumblings about this project called ASM.js. Currently their web site is terrible and confusing. Here's what I know from my research on the web. It is a subset of JavaScript that ...