Skip to content

Instantly share code, notes, and snippets.

@poochin
Created April 11, 2012 11:11
Show Gist options
  • Select an option

  • Save poochin/2358665 to your computer and use it in GitHub Desktop.

Select an option

Save poochin/2358665 to your computer and use it in GitHub Desktop.
$ coffee -b -c test.user.coffee
`// ==UserScript==
// @name Test Script
// @match http://*/*
// @version 1.0.0
// @description CoffeeScript で UserScript を吐き出させるテストです
// ==/UserScript==
`
(->
console.log "Hello, World!"
)()
// ==UserScript==
// @name Test Script
// @match http://*/*
// @version 1.0.0
// @description CoffeeScript で UserScript を吐き出させるテストです
// ==/UserScript==
;(function() {
return console.log("Hello, World!");
})();
(function() {
// ==UserScript==
// @name Test Script
// @match http://*/*
// @version 1.0.0
// @description CoffeeScript で UserScript を吐き出させるテストです
// ==/UserScript==
; (function() {
return console.log("Hello, World!");
})();
}).call(this);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment