Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| /** | |
| * converted stringify() to jQuery plugin. | |
| * serializes a simple object to a JSON formatted string. | |
| * Note: stringify() is different from jQuery.serialize() which URLEncodes form elements | |
| * UPDATES: | |
| * Added a fix to skip over Object.prototype members added by the prototype.js library | |
| * USAGE: | |
| * jQuery.ajax({ |
| connection = Faraday::Connection.new('http://example.com') do |builder| | |
| builder.request :url_encoded # for POST/PUT params | |
| builder.adapter :net_http | |
| end | |
| # same as above, short form: | |
| connection = Faraday.new 'http://example.com' | |
| # GET | |
| connection.get '/posts' |
| function getCommonParent(el1,el2){ | |
| var parents1 = []; | |
| var el = el1; | |
| while(el) { | |
| parents1.unshift(el); | |
| el = el.parentNode; | |
| } | |
| var parents2 = []; |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.