Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
// The following could have been replaced by setting `Backbone.emulateHTTP = true;` | |
Backbone._sync = Backbone.sync; | |
Backbone.sync = function( method, model, options ) { | |
var beforeSend = options.beforeSend; | |
options = options || {}; | |
if ( method === "update" || method === "delete" || method === "patch" ) { | |
options.beforeSend = function( xhr ) { |
var f='write.txt', | |
fs=require('fs'); | |
fs.writeFile(f,'Some text to write.',function(err){ | |
if(err) | |
console.error(err); | |
console.log('Written!'); | |
}); | |
fs.appendFile(f,'Some more text to append.',function(err){ |
I use the Essential JavaScript Links list almost daily. I add to it when I find more links that I think every JS developer should know about. I want to make it easier to scan, and easier for users to suggest new links. We're going to turn it into a proper website, so...
The Essential JavaScript Links List
Please visit there and open an issue if you have any suggestions.