{"id":9652,"date":"2013-12-11T11:35:01","date_gmt":"2013-12-11T02:35:01","guid":{"rendered":"http:\/\/labs.gree.jp\/blog\/?p=9652"},"modified":"2013-12-11T12:06:18","modified_gmt":"2013-12-11T03:06:18","slug":"%e3%82%af%e3%83%a9%e3%82%a4%e3%82%a2%e3%83%b3%e3%83%88%e3%82%b5%e3%82%a4%e3%83%89javascript%e3%81%ae%e3%83%a9%e3%82%a4%e3%82%bb%e3%83%b3%e3%82%b9%e7%ae%a1%e7%90%86","status":"publish","type":"post","link":"https:\/\/labs.gree.jp\/blog\/2013\/12\/9652\/","title":{"rendered":"\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9JavaScript\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u7ba1\u7406"},"content":{"rendered":"<p>\u6700\u8fd1\u30b7\u30ea\u30b3\u30f3\u30a6\u30a8\u30cf\u30fc\u3082\u3089\u3063\u3066\u5b09\u3057\u304b\u3063\u305fago\uff08@kyo_ago\uff09\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u306fGREE Advent Calendar 2013 11\u65e5\u76ee\u306e\u8a18\u4e8b\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9JavaScript\u306b\u304a\u3051\u308b\u30e9\u30a4\u30bb\u30f3\u30b9\u7ba1\u7406\u306e\u554f\u984c\u3092\u53d6\u308a\u4e0a\u3052\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h1>\u30e9\u30a4\u30bb\u30f3\u30b9\u7ba1\u7406\u306e\u554f\u984c\u70b9<\/h1>\n<p>\u300c\u4f7f\u7528\u3057\u3066\u3044\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u7ba1\u7406\u3092\u3069\u3046\u3059\u308b\u304b\u300d\u306f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9JavaScript\u306b\u304b\u304e\u3089\u305a\u767a\u751f\u3059\u308b\u554f\u984c\u3067\u3059\u304c\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9JavaScript\u306b\u306f\u4ee5\u4e0b\u306e\u69d8\u306a\u7279\u5fb4\u304c\u3042\u308b\u305f\u3081\u554f\u984c\u304c\u8907\u96d1\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30b3\u30fc\u30c9\u304c\u7d50\u5408\u3001\u5727\u7e2e\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308b<br \/>\n\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9JavaScript\u3067\u306f\u8aad\u307f\u8fbc\u307f\u306e\u901f\u5ea6\u3092\u4e0a\u3052\u308b\u305f\u3081\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u7d50\u5408\u3001\u5727\u7e2e\u3092\u884c\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u3053\u306e\u6642\u8aa4\u3063\u3066\u30e9\u30a4\u30bb\u30f3\u30b9\u6587\u304c\u6368\u3066\u3089\u308c\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li>\u30bd\u30fc\u30b9\u304c\u5916\u90e8\u306b\u516c\u958b\u3055\u308c\u308b<br \/>\n\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9JavaScript\u3067\u306f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f\u57fa\u672c\u7684\u306b\u516c\u958b\u3055\u308c\u305f\u72b6\u614b\u3067\u914d\u5e03\u3055\u308c\u308b\u305f\u3081\u3001\u6bd4\u8f03\u7684\u81ea\u7531\u5ea6\u306e\u9ad8\u3044\u30e9\u30a4\u30bb\u30f3\u30b9\u3067\u3042\u3063\u3066\u3082\u6a29\u5229\u4e0a\u554f\u984c\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<h1>\u30e9\u30a4\u30bb\u30f3\u30b9\u7ba1\u7406\u306e\u554f\u984c\u70b9\u306b\u5bfe\u3059\u308b\u5bfe\u5fdc<\/h1>\n<p>\u3053\u308c\u3089\u306e\u554f\u984c\u306b\u5bfe\u3057\u3066\u306f\u4e00\u822c\u7684\u306b\u4ee5\u4e0b\u306e\u69d8\u306a\u5bfe\u5fdc\u304c\u53d6\u3089\u308c\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u5727\u7e2e\u524d\u306b\u30e9\u30a4\u30bb\u30f3\u30b9\u6587\u3092\u9000\u907f\u3057\u3001\u5727\u7e2e\u5f8c\u306b\u9000\u907f\u3057\u3066\u304a\u3044\u305f\u30e9\u30a4\u30bb\u30f3\u30b9\u6587\u3092\u8ffd\u52a0\u3059\u308b<\/li>\n<li>\u4f7f\u7528\u3057\u3066\u3044\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u6587\u3060\u3051\u3092\u5225\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u51fa\u3057\u3001html\u3084JavaScript\u306e\u30bd\u30fc\u30b9\u5185\u306b\u30b3\u30e1\u30f3\u30c8\u3067\u30e9\u30a4\u30bb\u30f3\u30b9\u304c\u66f8\u304b\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3078\u306eURL\u3092\u8a18\u8f09\u3059\u308b<\/li>\n<li>\u672a\u5727\u7e2e\u7248\u306e\u30bd\u30fc\u30b9\u3078\u306eURL\u3092\u30b3\u30e1\u30f3\u30c8\u3067\u57cb\u3081\u8fbc\u3080<\/li>\n<li>SourceMap\u3067\u672a\u5727\u7e2e\u7248\u3092\u914d\u5e03\u3059\u308b<\/li>\n<\/ol>\n<p>\u305f\u3060\u30011, 2\u306e\u65b9\u6cd5\u306f\u624b\u52d5\u3067\u306e\u5bfe\u5fdc\u304c\u5fc5\u8981\u306b\u306a\u308b\u305f\u3081\u81ea\u52d5\u5316\u304c\u96e3\u3057\u3044\u3068\u3044\u3046\u554f\u984c\u304c\u3042\u308a\u30013, 4\u306e\u65b9\u6cd5\u306f\u672c\u6765\u4e0d\u8981\u306a\u672a\u5727\u7e2e\u30b3\u30fc\u30c9\u3092\u516c\u958b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u3044\u3046\u554f\u984c\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h1>\u5727\u7e2e\u30e9\u30a4\u30d6\u30e9\u30ea\u5074\u306e\u5bfe\u5fdc<\/h1>\n<p>\u3053\u306e\u70b9\u306b\u95a2\u3057\u3066\u306f\u5727\u7e2e\u30e9\u30a4\u30d6\u30e9\u30ea\u5074\u3067\u306e\u5bfe\u5fdc\u3082\u884c\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u304b\u3089\u306f\u5404\u5727\u7e2e\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30e9\u30a4\u30bb\u30f3\u30b9\u6587\u3092\u6b8b\u3059\u305f\u3081\u306b\u884c\u3063\u3066\u3044\u308b\u5bfe\u5fdc\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/closure-compiler.appspot.com\/home\">Closure Compiler<\/a><br \/>\n\u30d6\u30ed\u30c3\u30af\u30b3\u30e1\u30f3\u30c8\u306e\u5148\u982d\u3092\/**\u3067\u958b\u59cb\u3057\u3066\u3001\u30b3\u30e1\u30f3\u30c8\u5185\u306b@license\u3092\u8a18\u8ff0\u3059\u308b<\/li>\n<\/ul>\n<pre>  \/**\n  @license some license information here\n   *\/<\/pre>\n<ul>\n<li><a href=\"http:\/\/yui.github.io\/yuicompressor\/\">YUI Compressor<\/a><br \/>\n\u30d6\u30ed\u30c3\u30af\u30b3\u30e1\u30f3\u30c8\u306e\u5148\u982d\u3092\/*!\u958b\u59cb\u3059\u308b<\/li>\n<\/ul>\n<pre>\/*! some copyright information here *\/<\/pre>\n<ul>\n<li><a href=\"https:\/\/github.com\/mishoo\/UglifyJS2\">mishoo\/UglifyJS2<\/a>\n<ul>\n<li>comments\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6e21\u3057\u3066\u3001\u72ec\u7acb\u3057\u305f\u30d6\u30ed\u30c3\u30af\u30b3\u30e1\u30f3\u30c8\u5185\u306b@license\u3092\u8a18\u8ff0\u3059\u308b\uff08--comments\u3067\u6b8b\u3057\u305f\u3044\u30b3\u30e1\u30f3\u30c8\u306e\u6b63\u898f\u8868\u73fe\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\uff09<\/li>\n<\/li>\n<\/ul>\n<\/ul>\n<pre>\/* @license some license information here *\/<\/pre>\n<p>\u3053\u306e\u4e2d\u3067Closure Compiler\u306f\u300c\u4e00\u5ea6\u5727\u7e2e\u3059\u308b\u3068\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u304c\u5909\u308f\u308b\u300d\u3068\u3044\u3046\u554f\u984c\u304c\u3042\u308a\u3001\u305d\u306e\u305f\u30812\u56de\u5727\u7e2e\u3059\u308b\u3068\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u304c\u6d88\u3048\u3066\u3057\u307e\u3046\u70b9\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u4e0a\u8a18\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u3092Closure Compiler\u3067\u5727\u7e2e\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u5f62\u5f0f\u3067\u51fa\u529b\u3055\u308c\u307e\u3059\uff08\u3053\u306e\u307e\u307e\u518d\u5ea6\u5727\u7e2e\u3059\u308b\u3068\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u304c\u6d88\u3048\u3066\u3057\u307e\u3044\u307e\u3059\uff09<\/p>\n<pre>\/*\n some license information here\n<h3 id=\"hs_b7a5e508822d051164ca69465860e8f6_header_0\">\/<\/h3>\n<\/pre>\n<h1>\u5404\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u8a18\u8ff0\u65b9\u5f0f<\/h1>\n<p>\u6b21\u306f\u6bd4\u8f03\u7684\u30e1\u30b8\u30e3\u30fc\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5143\u306b\u3001\u30e9\u30a4\u30bb\u30f3\u30b9\u6587\u306e\u8a18\u8ff0\u65b9\u5f0f\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2><a href=\"https:\/\/github.com\/jquery\/jquery\">jQuery<\/a><\/h2>\n<p>\u307e\u305a\u306f\u672a\u5727\u7e2e\u7248jQuery\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u3067\u3059\u3002<\/p>\n<p>jQuery\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u306f\u5272\u3068\u4e00\u822c\u7684\u306a\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001\u3053\u306e\u5f62\u5f0f\u3067\u3082YUI Compressor\u3067\u306f\u6b63\u3057\u304f\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u304c\u6b8b\u308a\u307e\u3059\u304c\u3001Closure Compiler\u3001UglifyJS2\u3067\u5727\u7e2e\u3057\u305f\u5834\u5408\u306b\u306f\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u304c\u6d88\u3048\u3066\u3057\u307e\u3044\u307e\u3059\uff08UglifyJS2\u306f\u6b63\u898f\u8868\u73fe\u3067\u5bfe\u5fdc\u53ef\u80fd\uff09<\/p>\n<pre>\/*!\n * jQuery JavaScript Library v2.0.3\n * http:\/\/jquery.com\/\n *\n * Includes Sizzle.js\n * http:\/\/sizzlejs.com\/\n *\n * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors\n * Released under the MIT license\n * http:\/\/jquery.org\/license\n *\n * Date: 2013-07-03T13:30Z\n *\/\n<\/pre>\n<p>\u3061\u306a\u307f\u306b\u3001\u5727\u7e2e\u7248\u306f\u4ee5\u4e0b\u306e\u5f62\u5f0f\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre>\/*! jQuery v2.0.3 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org\/license\n\/\/@ sourceMappingURL=jquery-2.0.3.min.map\n<h3 id=\"hs_b7a5e508822d051164ca69465860e8f6_header_1\">\/<\/pre>\n<\/h3>\n<h2><a href=\"https:\/\/github.com\/angular\/angular.js\">AngularJS<\/a><\/h2>\n<p>\u6b21\u306f\u672a\u5727\u7e2e\u7248AngularJS\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u3067\u3059\u3002<\/p>\n<p>\u3053\u3061\u3089\u306fClosure Compiler\u3001UglifyJS2\u3067\u306f\u6b63\u3057\u304f\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u304c\u6b8b\u308a\u307e\u3059\u304c\u3001YUI Compressor\u3067\u5727\u7e2e\u3057\u305f\u5834\u5408\u306b\u306f\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u304c\u6d88\u3048\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<pre>\/**\n * @license AngularJS v1.2.4\n * (c) 2010-2014 Google, Inc. http:\/\/angularjs.org\n * License: MIT\n *\/\n<\/pre>\n<p>\u3061\u306a\u307f\u306b\u3001\u5727\u7e2e\u7248\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u3069\u306e\u5727\u7e2e\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u5727\u7e2e\u3057\u3066\u3082\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u306f\u6d88\u3048\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<pre>\/*\n AngularJS v1.2.4\n (c) 2010-2014 Google, Inc. http:\/\/angularjs.org\n License: MIT\n<h3 id=\"hs_b7a5e508822d051164ca69465860e8f6_header_2\">\/<\/pre>\n<\/h3>\n<h2><a href=\"https:\/\/github.com\/jashkenas\/underscore\">Underscore.js<\/a><\/h2>\n<p>Underscore.js\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u306f\u30e9\u30a4\u30f3\u30b3\u30e1\u30f3\u30c8\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u51fa\u6765\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u5f62\u5f0f\u306f\u3069\u306e\u5727\u7e2e\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3082\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u304a\u3089\u305a\u3001\u57fa\u672c\u7684\u306b\u624b\u52d5\u3067\u5bfe\u5fdc\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre>\/\/     Underscore.js 1.5.2\n\/\/     http:\/\/underscorejs.org\n\/\/     (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\/\/     Underscore may be freely distributed under the MIT license.\n<\/pre>\n<p>\u3053\u308c\u306b\u95a2\u3057\u3066\u306f\u3001\u672c\u5bb6Issue\u306b\u3082\u300c\/*!\u3067\u59cb\u307e\u308b\u5f62\u5f0f\u306b\u5909\u66f4\u3057\u3066\u307b\u3057\u3044\u300d\u3068\u3044\u3046\u8981\u671b\u304c\u6319\u3052\u3089\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u4f5c\u8005\u304b\u3089\u5374\u4e0b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/jashkenas\/underscore\/issues\/1280\">Use bang comment to preserve license \u00b7 Issue #1280 \u00b7 jashkenas\/underscore<\/a><\/p>\n<p>Underscore.js\u306f\u5727\u7e2e\u7248\u3001\u672a\u5727\u7e2e\u7248\u3067\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u306b\u9055\u3044\u306f\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<h2><a href=\"https:\/\/github.com\/jashkenas\/backbone\">Backbone.js<\/a><\/h2>\n<p>Backbone.js\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u3082Underscore.js\u3068\u540c\u3058\u3088\u3046\u306b\u30e9\u30a4\u30f3\u30b3\u30e1\u30f3\u30c8\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u51fa\u6765\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre>\/\/     Backbone.js 1.1.0\n\n\/\/     (c) 2010-2011 Jeremy Ashkenas, DocumentCloud Inc.\n\/\/     (c) 2011-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\/\/     Backbone may be freely distributed under the MIT license.\n\/\/     For all details and documentation:\n\/\/     http:\/\/backbonejs.org\n<\/pre>\n<p>\u3057\u304b\u3082\u6700\u521d\u306e\u30b3\u30e1\u30f3\u30c8\u306e\u5f8c\u306b\u6539\u884c\u304c\u5165\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u3055\u3089\u306b\u5727\u7e2e\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u306e\u51e6\u7406\u304c\u96e3\u3057\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Backbone.js\u306e\u5727\u7e2e\u7248\u306b\u306f\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u306f\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u304c\u3001SourceMap\u3078\u306e\u53c2\u7167\u304c\u5165\u3063\u3066\u3044\u307e\u3059\uff08\u30d5\u30a1\u30a4\u30eb\u672b\u5c3e\uff09<\/p>\n<pre>\/\/# sourceMappingURL=backbone-min.map<\/pre>\n<h2><a href=\"https:\/\/github.com\/madrobby\/zepto\">Zepto.js<\/a><\/h2>\n<p>Zepto.js\u306e\u5834\u5408\u3001\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u300c\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u3078\u306eURL\u3092\u8a18\u8ff0\u3059\u308b\u300d\u5f62\u5f0f\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre>\/* Zepto v1.1 - zepto event ajax form ie - zeptojs.com\/license *\/<\/pre>\n<p>Underscore.js\u306f\u5727\u7e2e\u7248\u3001\u672a\u5727\u7e2e\u7248\u3067\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u306b\u9055\u3044\u306f\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<h2><a href=\"https:\/\/github.com\/ariya\/esprima\">Esprima<\/a><\/h2>\n<p>Esprima\u306e\u5834\u5408\u3001\u30e9\u30a4\u30bb\u30f3\u30b9\u6587\u306f\u8a18\u8ff0\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u300cLicense\u300d\u3068\u8a00\u3063\u305f\u6587\u5b57\u306f\u8a18\u8f09\u3055\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u5727\u7e2e\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u306e\u51e6\u7406\u306f\u56f0\u96e3\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre>\/*\n  Copyright (C) 2013 Ariya Hidayat <ariya.hidayat@gmail.com>\n  Copyright (C) 2013 Thaddee Tyl <thaddee.tyl@gmail.com>\n  Copyright (C) 2013 Mathias Bynens <mathias@qiwi.be>\n  Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>\n  Copyright (C) 2012 Mathias Bynens <mathias@qiwi.be>\n  Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>\n  Copyright (C) 2012 Kris Kowal <kris.kowal@cixar.com>\n  Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>\n  Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com>\n  Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>\n\n  Redistribution and use in source and binary forms, with or without\n  modification, are permitted provided that the following conditions are met:\n\n    * Redistributions of source code must retain the above copyright\n      notice, this list of conditions and the following disclaimer.\n    * Redistributions in binary form must reproduce the above copyright\n      notice, this list of conditions and the following disclaimer in the\n      documentation and\/or other materials provided with the distribution.\n\n  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n  ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n<h3 id=\"hs_b7a5e508822d051164ca69465860e8f6_header_3\">\/<\/h3>\n<\/pre>\n<h1>\u89e3\u6c7a\u6848<\/h1>\n<p>\u3053\u3053\u307e\u3067\u7d39\u4ecb\u3057\u3066\u304d\u305f\u3088\u3046\u306b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9JavaScript\u3067\u306f\u30e9\u30a4\u30bb\u30f3\u30b9\u7ba1\u7406\u304c\u975e\u5e38\u306b\u7169\u96d1\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u554f\u984c\u306b\u95a2\u3057\u3066\u3001\u672c\u6765\u3067\u3042\u308c\u3070\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u4f5c\u8005\u3001\u5727\u7e2e\u30e9\u30a4\u30d6\u30e9\u30ea\u53cc\u65b9\u306e\u5bfe\u5fdc\u3067\u89e3\u6c7a\u3059\u308b\u3053\u3068\u304c\u30d9\u30b9\u30c8\u3060\u3068\u306f\u601d\u3044\u307e\u3059\u304c\u3001\u3068\u308a\u3042\u3048\u305a\u4f55\u3068\u304b\u3057\u305f\u3044\u306e\u3067\u3044\u3044\u611f\u3058\u306b\u53d6\u5f97\u3067\u304d\u308bgrunt task\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>grunt-license-saver\u306e\u7d39\u4ecb<\/h2>\n<p>\u3053\u306egrunt task\u306f\u3053\u3053\u307e\u3067\u7d39\u4ecb\u3057\u305f\u3059\u3079\u3066\u306e\u5f62\u5f0f\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u6587\u3092\u89e3\u6790\u3067\u304d\u3001text, Markdown, JavaScript, JSON\u306e\u3044\u305a\u308c\u304b\u306e\u5f62\u5f0f\u3067\u66f8\u304d\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/kyo-ago\/grunt-license-saver\">kyo-ago\/grunt-license-saver<\/a><\/p>\n<h2>\u4f7f\u3044\u65b9<\/h2>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067install\u3057\u307e\u3059\u3002<\/p>\n<pre>$ npm install grunt-license-saver --save-dev<\/pre>\n<p>Gruntfile.js\u306b\u4ee5\u4e0b\u306e\u5185\u5bb9\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre>grunt.initConfig({\n  'save_license' : {\n    'libs' : {\n      'src' : ['js\/lib.js'], \/\/ \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u3059\u3079\u3066\u306eJS\u30d5\u30a1\u30a4\u30eb\u304c\u5bfe\u8c61\u306e\u5834\u5408\u3001['js\/**\/*.js']\u3068\u3059\u308b\n      \/\/ 'format' : '', \/\/ format\u306f'text', 'JavaScript', 'Markdown', 'JSON'\u306e\u3044\u305a\u308c\u304b\u306e\u6307\u5b9a\u304c\u53ef\u80fd\u3002\u6307\u5b9a\u304c\u306a\u3044\u5834\u5408\u3001dest\u306b\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u62e1\u5f35\u5b50\u304b\u3089\u63a8\u6e2c\n      'dest' : 'license.text' \/\/ ['license.text', 'license.js']\u5f62\u5f0f\u3067\u8907\u6570\u6307\u5b9a\u3082\u53ef\u80fd\n    }\n  }\n});\ngrunt.loadNpmTasks('grunt-license-saver');\n<\/pre>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>grunt save_license<\/pre>\n<p>\u3053\u308c\u3067\u4ee5\u4e0b\u306e\u69d8\u306aJS\u3092\u5143\u306b\u3057\u3066<\/p>\n<pre>\/*!\n * jQuery JavaScript Library v2.0.3\n * http:\/\/jquery.com\/\n *\n * Includes Sizzle.js\n * http:\/\/sizzlejs.com\/\n *\n * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors\n * Released under the MIT license\n * http:\/\/jquery.org\/license\n *\n * Date: 2013-07-03T13:30Z\n *\/\nalert(1);\n\/\/     Backbone.js 1.1.0\n\n\/\/     (c) 2010-2011 Jeremy Ashkenas, DocumentCloud Inc.\n\/\/     (c) 2011-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\/\/     Backbone may be freely distributed under the MIT license.\n\/\/     For all details and documentation:\n\/\/     http:\/\/backbonejs.org\nalert(2);\n<\/pre>\n<p>\u4ee5\u4e0b\u306e\u69d8\u306a\u5185\u5bb9\u306elicense.text\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre>!\n * jQuery JavaScript Library v2.0.3\n * http:\/\/jquery.com\/\n *\n * Includes Sizzle.js\n * http:\/\/sizzlejs.com\/\n *\n * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors\n * Released under the MIT license\n * http:\/\/jquery.org\/license\n *\n * Date: 2013-07-03T13:30Z\n<br \/>\n\n     Backbone.js 1.1.0\n     (c) 2010-2011 Jeremy Ashkenas, DocumentCloud Inc.\n     (c) 2011-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n     Backbone may be freely distributed under the MIT license.\n     For all details and documentation:\n     \t\t\t<div class=\"blog-card\">\n\t\t\t\t<div class=\"blog-card-body-outer\">\n\t\t\t\t\t<div class=\"blog-card-body\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"blog-card-title\">\n\t\t\t\t\t\t\t\t<a href=\"http:\/\/backbonejs.org\">Backbone.js<\/a>\n\t\t\t\t\t\t\t<\/h5>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"blog-card-site-title\">\n\t\t\t\t\t\t\t<a href=\"http:\/\/backbonejs.org\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\thttp:\/\/backbonejs.org\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\n\t\t\t\n<\/pre>\n<p>\u57fa\u672c\u7684\u306b\u306fMarkdown\u3084text\u5f62\u5f0f\u3067\u66f8\u304d\u51fa\u3057\u3066\u3001\u5727\u7e2e\u5f8c\u306eJS\u5185\u306b\u30b3\u30e1\u30f3\u30c8\u3068\u3057\u3066\u57cb\u3081\u8fbc\u3080\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001\u305d\u306e\u5f8c\u8907\u6570\u56de\u5727\u7e2e\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u5834\u5408\u3001JavaScript\u5f62\u5f0f\u3067\u66f8\u304d\u51fa\u3057\u3066\u30b3\u30fc\u30c9\u5185\u306b\u57cb\u3081\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002\uff08\u6539\u884c\u7b49\u304c\u30a8\u30b9\u30b1\u30fc\u30d7\u6587\u5b57\u5217\u306b\u7f6e\u304d\u63db\u3048\u3089\u308c\u308b\u305f\u3081\u30e9\u30a4\u30bb\u30f3\u30b9\u8868\u8a18\u306e\u898b\u305f\u76ee\u306f\u5909\u308f\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u304c\u3001JavaScript\u306e\u5909\u6570\u3078\u4fdd\u5b58\u3059\u308b\u5f62\u5f0f\u3067\u66f8\u304d\u51fa\u3059\u305f\u3081\u518d\u5727\u7e2e\u3055\u308c\u3066\u3082\u30e9\u30a4\u30bb\u30f3\u30b9\u6587\u304c\u6b8b\u308a\u307e\u3059\uff09<\/p>\n<p>\u660e\u65e5\u306f\u5148\u65e5\u793e\u5185\u3067\u958b\u50ac\u3055\u308c\u305fJavaScript hackathon\u3067Haskell\u306e\u8b1b\u5e2b\u3092\u3057\u3066\u3044\u305f\u3060\u3044\u305f@beketa\u3055\u3093\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u30b7\u30ea\u30b3\u30f3\u30a6\u30a8\u30cf\u30fc\u3082\u3089\u3063\u3066\u5b09\u3057\u304b\u3063\u305fago\uff08@kyo_ago\uff09\u3067\u3059\u3002 \u3053\u306e\u30a8\u30f3\u30c8\u30ea\u306fGREE Advent Calendar 2013 11\u65e5\u76ee\u306e\u8a18\u4e8b\u3067\u3059\u3002 \u4eca\u56de\u306f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9JavaScript\u306b\u304a\u3051\u308b\u30e9\u30a4\u30bb\u30f3 [&hellip;]<\/p>\n","protected":false},"author":54,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[],"tags":[54,32],"class_list":["post-9652","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-advent-calendar","tag-javascript"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/posts\/9652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/users\/54"}],"replies":[{"embeddable":true,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/comments?post=9652"}],"version-history":[{"count":3,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/posts\/9652\/revisions"}],"predecessor-version":[{"id":9739,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/posts\/9652\/revisions\/9739"}],"wp:attachment":[{"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/media?parent=9652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/categories?post=9652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/tags?post=9652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}