The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
96 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
94 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
407 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
469 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 ...
17
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 ...