2012-01-01から1年間の記事一覧
11月1日時点で # git clone git://github.com/matsumoto-r/mod_mruby.git # cd mod_ruby # make すると /usr/bin/ld: ./vendors/mrblib/mrblib.o: relocation R_X86_64_32 against `mrblib_irep' can not be used when making a shared object; recompile wi…
jQuery を使っていると超シンプル。 // Shallow copy var newObject = jQuery.extend({}, oldObject);// Deep copy var newObject = jQuery.extend(true, {}, oldObject); What is the most efficient way to clone a JavaScript object? - Stack Overflow …