Skip to content

Instantly share code, notes, and snippets.

@sugamasao
Created August 2, 2009 17:10
Show Gist options
  • Save sugamasao/160135 to your computer and use it in GitHub Desktop.
Save sugamasao/160135 to your computer and use it in GitHub Desktop.
copy 関数を firebug のコンソールで実行すると、クリップボードにコピーできる。
こんな感じでデータの整形とかやると便利
copy(<>
<![CDATA[
hoge
fuga
piyo
]]>
</>.split('\n').map(function(n,i){
return 'x' +n;
}).join('\n'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment