SpiritThe ultimate tool to create high-quality animations directly in the browser. Important Notice: I want to extend my deepest gratitude to everyone who has supported Spirit over the years. After careful consideration, I have made the difficult decision to discontinue Spirit as a service. Read more ...
1å¹´åã®è¨äº JavaScript ãã¬ã¼ã ã¯ã¼ã¯ããã¼ã¿ãã¤ã³ãã£ã³ã°ãå®ç¾ããï¼éãã®ææ³ ã§ã¯ãObject.observe() ã«ã¤ãã¦æ¬¡ã®ããã«èª¬æããã JavaScript ãªãã¸ã§ã¯ããå¤æ´ãããã¨ãã«ã³ã¼ã«ããã¯ãå¼ãã§ããã API ãã¼ã¿ãã¤ã³ãã£ã³ã°ã®å®è£ ãç°¡åã«ãªã Google Chrome ã«ã¯å®è£ æ¸ã¿ ECMAScript 7 ã«ææ¡ä¸ ææ¡ãéãã° MV* ãã¬ã¼ã ã¯ã¼ã¯ã®å®è£ ãã·ã³ãã«ã«ãªã£ã¦ãããã¼ å°æ¥ãæå¾ ããã¦ãã Object.observe() ã§ãã£ããã2015 å¹´ 11 æé ãES Discuss ã¡ã¼ãªã³ã°ãªã¹ãã¸ã® An update on Object.observe ã¨ããæ稿ã§ãECMAScript ããã®ææ¡ãåãä¸ãããã¦ãV8 ã¨ã³ã¸ã³ãããå¹´å ã«åé¤ãããäºå®ã§ãããã¨ã表æãããã Object.observe()
Over three years ago, Rafael Weinstein, Erik Arvidsson, and I set out to design and implement what we believed to be the primitive underlying the data-binding system of MDV ("model-driven views"). We prototyped an implementation in a branch of V8, then got agreement from the V8 team to build a real version upstream, while pushing Object.observe ("O.o") as a part of the upcoming ES7 standard and wo
2015å¹´ã«ããªãã®ã«JavaScriptã§ã®DOMæä½ã®ããã©ã¼ãã³ã¹ã«ã¤ãã¦æ¸ããã¦ã§ããã¼ã¸ã«ã¤ã³ã¿ã©ã¯ã·ã§ã³ãæããããæã«ãJavaScriptã§DOMæä½ãè¡ããã¨ãããããããã®DOMæä½ã®ããã©ã¼ãã³ã¹ã«ã¤ãã¦ãããèãæè¦ã大å¥ããã¨æ¬¡ã®2ã¤ãããã JavaScriptã«ããDOMæä½ã¯éãã ã¬ã³ããªã³ã°ãéãã ãã§ãDOMæä½ãã®ãã®ã¯ããã»ã©éãããªã JavaScriptã§ãªãã¸ã§ã¯ãã®ããããã£ãæä½ãããããåä½ã®å¦çã¯é常1ããªç§ãããããªãããDOMæä½ãããã¨ã¬ã³ããªã³ã°ãå®äºããã¾ã§ã«æ°åããªç§ç¨åº¦ããã£ããããå ´åãããã1çªç®ã®DOMæä½ãéããã¨è¨ã£ã¦ãã人ã¯çµé¨åçã«ããè¨ã£ã¦ãããã¨ãå¤ãã ã¬ã³ããªã³ã°ã®ä»çµã¿ãç¥ã£ã¦ãã人ã¯2çªç®ã®æè¦ãè¨ãããéç®±ã®é ãã¤ã¤ããããªè©±ãããã¨ãããå¿ ãããæ£ããããã§ã¯ãªããDOMæä½ããã³ã¼ãã«ãã£
Atom Is Now Open Source | Atom Blogã«ããã¨ï¼Atoméçºã®ããã«Node-Webkitã試ãã¦ã¿ããå©ç¨ã¯ããï¼å¥éãã¬ã¼ã ã¯ã¼ã¯(Atom Shell)ãä½æããã¨ã®ãã¨ï¼ We experimented briefly with Node-Webkit, but decided instead to hire @zcbenz to build the exact framework we were imagining. Node-Webkitãæ¡ç¨ããªãã£ãçç±ãéçºè ã«è³ªåããã¨ãã以ä¸ã®åçãå¾ãããï¼ æè¡é¸å®ã®ã¿ã¤ãã³ã°ã§ã¯Node-Webkitã¯å®å®ãã¦ããªãã£ã&åé¢ãããã³ã³ããã¹ã(nodeã®ã³ã³ããã¹ãã¨webã®ã³ã³ããã¹ã)ããã£ã ä»ã®ããã¸ã§ã¯ãã«ä¾åããªãï¼å®å ¨ã«èªç±ãªç¶æ ã§zcbenz(Atom Shellã®ä¸å¿éçºè )ã«
ãããã Webæè¡ãè¤éã«ãªãä¸ã§ãJavaScriptã®ãããã¡ã¤ãªã³ã°ãã¨ãæ¹æ³ã¨ã¯ã ãããã¡ã¤ãªã³ã°ãåãããã®ã³ã¼ããæã§æ¸ãã¦ã¿ã¾ãããã ã¨ã¦ãã·ã³ãã«ã§ããã¤æé«ã®JavaScriptãããã¡ã¤ã© sjsp ãä½ãã¾ããã æ¬å½ã«ãã£ãæã話 ä¸å¸ ãã¨ã«ããJavaScriptã®ã³ã¼ããéããã¦ããã ç§ ãåããã¾ãããéããã¾ãã (次ã®æ¥) ç§ ããããããã¡ã¤ã©ããªããªãä½ãã°ãããããªãã åããã¼ã ã®äºº ããã£ï¼ã ç§ ãæé«ã®JavaScriptãããã¡ã¤ã©ä½ã£ããã åããã¼ã ã®äºº ãããã£ãã£ï¼ï¼ï¼ãã ç§ ãæ©é使ã£ã¦ã¿ããããã¨ãããé ãã£ã¦åãã£ããã åããã¼ã ã®äºº ããããã®åã¯ä¸ä½â¦ããã JavaScriptã®ãããã¡ã¤ãªã³ã°ã®é£ãã è¿å¹´ãWebãã©ã¦ã¶ã¼ã®å¦çé度ã¯èããåä¸ãããã®å¯ç¨æ§ã®é«ããããã¢ããªã±ã¼ã·ã§ã³ã®ãã©ãããã©ã¼ã
æ¦è¦ å¾ ã¡ç¦ããã人ãå¤ããã¨ã ãããES2015ã®ä¸çªã®ç®çæ©è½ã¨ãè¨ããã¯ã©ã¹æ§æããã¤ãã«V8ã§ãµãã¼ããããã Classæ§æã¯ããé¢æ°ï¼ã³ã³ã¹ãã©ã¯ã¿ï¼å®ç¾©ãï¼ã.prototypeã¸ã®ã¡ã½ããå®ç¾©ãã®ç³è¡£æ§æã§ããã JSã§ä»ã¾ã§æ§ã ã«å·¥å¤«ããã¦ããã¯ã©ã¹ã®æ¸ãæ¹ãã綺éºã«çµ±ä¸ãã¦ãããå¯è½æ§ãç§ãã¦ããã ã¯ã©ã¹ãä½ã å¾æ¥ãCatã¯ã©ã¹ãä½ããã¨ããå ´åãã®ããã«æ¸ãã¦ããã function Cat(name) { this.name = name } Cat.prototype.meow = function () { alert( this.name + 'ã¯ãã£ãªã¨é³´ãã¾ãã' ) } ããããã®æ¸ãæ¹ã ã¨ã©ããã¦ããã³ã³ã¹ãã©ã¯ã¿ã¨ã¡ã½ããã®å®ç¾©ãåé¢ããã¦ãããããã¯ã©ã¹ã¨ãã¦ã¾ã¨ã¾ãããªãåããã¥ããæããã ã¡ã½ãããå¢ãã¦ããæããCat.prototyp
Reactã®ç»å ´ä»¥æ¥æ°ã«ãªã£ã¦ãããVirtual DOMã¢ããã¼ãã®å ·ä½çãªå·®åæ½åºææ³ã«ã¤ãã¦ãvirtual-domãèªãã§ç¢ºèªãã¦ã¿ãã Reactããããªãèªãã®ã¯é¢åãããã£ãã»ãããã ãªå®è£ ããèªã¿ããã£ãã¨ããã®ãããã£ã¡ãé¸æããçç±ãReactã®ã¢ã«ã´ãªãºã ãåèã«ããã¦ãããã®ã®ãReactã«ã¯åå¨ããç¹å®ã®æé©åãå ¥ã£ã¦ãªããããããªãã®ã§ãããã¾ã§ãReactç³»ã®Virtual DOMãå®è£ ããã«ã¯æä½éä½ãå¿ è¦ããç¥ãç¨åº¦ã®ãã®ã¨å¤æãã¦ã»ããã virtual-domã«ã¤ã㦠Reactã®Virtual DOMé¨åã ããåãåºãã¦åå©ç¨å¯è½ãªå½¢ã§åå®è£ ããã©ã¤ãã©ãªãelm-htmlã¨ãMercuryã¨ãã£ãç®æã§vDOMã¤ã³ãã©ã¨ãã¦æ¢ã«ä½¿ããã¦ããã®ã§ãã¾ã£ããã®è¶£å³ãããã¯ãã¨ãã訳ã§ããªããªã£ã¦ããã README.mdä¸ã§ã®è§¦ãããã¦ããéããVir
æè¿ããã³ãã¨ã³ãã§facebook/reactããã£ã¨ä½¿ã£ã¦ãããä¸ççã«ã¯ä¸é¨ã®ã¨ã³ã¸ãã¢ã®éã§æµè¡ã£ã¦ããã®ã ããå½å ã ã¨qiitaã®ã¿ã°çãè¦ã¦ãã©ããå°ãªããã¿ããªãã£ã¨ä½¿ãã¹ãã ã¨æãã®ã§ã宣ä¼ããã¦æè¦ãã¾ã¨ãã¦ã¿ãã è¤éåãããã¼ã¿ãã¤ã³ãã«å¯¾ããæ¸å¿µ MVWã®Vã«å¯¾ãã¦æãã馳ããã¨ãã ããã次ã®ãã¨ã«è¡ãçããããªãã¡ããããæ§é ä½ã®å ¥åã«å¯¾ãã¦ãå¿ ãä¸æãªãã¥ã¼ãçæãããã {items: [1, 2, 3]} ãå ¥åã¨ããã¨ã 1, 2, 3ã®liè¦ç´ ã«ãªã£ã¦ã»ãããããã¯åç´ãªä¾ã ããåé¡ã«æãå¾ãªãããã«è¦ããããã¢ããªã±ã¼ã·ã§ã³å ¨ä½ã®ç¶æ ãä¸ã¤ã®jsonã¨ãã¦å®ç¾©ãã ãããã常ã«0ããçµã¿ç«ã¦ãã°ã¢ããªã±ã¼ã·ã§ã³ã®å¥å ¨æ§ã確ä¿ã§ããã¨èãããã¨ã¯ãªãã ãããï¼ ç¾å®ã®åé¡ UIã®ã ãããã®ç¶æ ã¯é·ç§»ã§è¡¨ç¾ããããé·ç§»ã®å·®åãããã°ã©ããè¨è¿°ãããjQue
ãã£ããã¯ãprototype 㨠constructor 㨠__proto__ ã®é¢ä¿ãå確èªãã¦ããã¨ãã§ãããJavaScriptã¯ããã ãã©ãããã£ã¦ãAltJSãªè¨èªã®ç¶æ¿ã¯ã©ããªã£ã¦ããã ããã¨æã£ã¦è©¦ããããªãã¾ããã ã¡ãã£ã¨æ°æã¡çã«ããªãã ãå®æã«å ¥ã£ãã¿ããã«ä¿ºã¯ JavaScript ãããã£ãã£ã¦å£°é«ã«è¨ã人ãã ãããã¿ããªããããã¿ã¤ããã§ã¼ã³ã«ãã移è²ãã¯ã©ã¹ãã¼ã¹ã®ç¶æ¿ã«æç¸ããã¦ããæèã®ãã¬ã¤ã¯ã¹ã«ã¼ãªãã ããã¿ããã«è¨ããã ãã©ããã£ãããããã©ãã»ã©ç´ æ´ããããã®ãªãã ããã¨èãã¦ãã¾ã... ãããããã¿ã¤ããã§ã¼ã³ããããªã«ç´ æ´ãããããªããnpm ã«ããã»ã¨ãã©ã®ã©ã¤ãã©ãªããã§ã¼ã³ãæ´»ããã¦ä½ããã¦ãªãçç±ã説æã§ããªãããããããããä»çµã¿ããããé¢ç½ãã¦ããå®éã®ã¡ã³ã¿ã«ã¢ãã«ã«ãã£ãããããå®ã¯ä½¿ãç©ã«ãªããªãããããªãã ----
æ¦è¦ ES2015ã象徴ããæ©è½ã§ãããã¢ãã¼é¢æ°æ§æã®å®è£ ãã¤ãã«V8ã§å§ã¾ã£ãã ç¡åé¢æ°ãçãæ¸ããããã[3.28.31] ã¢ãã¼é¢æ°ã¯ç¡åé¢æ°ã®çç¥è¨æ³ã§ããã ä»ã¾ã§ããæ¸ãã¦ããã®ãã var fn = function (a, b) { } ããã¹ãããªæ¸ããã var fn = (a, b) => { } ã=>ããç¢ã®ããã«è¦ãããã¨ãããã¢ãã¼ãé¢æ°ã¨è¨ãã æ´ã«çãã§ãã ãããã [1, 2, 3].map( function (v) { return v * v } ) // [1, 4, 9] ã¢ãã¼é¢æ°ã ã¨ãããªããã [1, 2, 3].map( (v) => { return v * v } ) // [1, 4, 9] å¼æ°ãä¸ã¤ã®æã«ã¯ã()ããçç¥ã§ããã®ã§ãããæ¸ããã [1, 2, 3].map( v => { return v * v } )
ä»æ¥ã®æ¦è¦ å®ã¯ä½¿ããã¦ãJavaScript AST JavaScript AST(Abstract Syntax Tree)ã¨ã¯? JavaScript ASTã使ã£ããã¼ã«ç´¹ä» 使ãã ããããªãã¦æ¸ãã¦ã¿ãã browserify Node.jsã§æ¸ããããã®ããã©ã¦ã¶åãã«å¤æãããã¼ã« Nodeç°å¢ã§éçº -> browserifyã§ãã«ã -> ãã©ã¦ã¶ã§åã JavaScriptã®ã³ã¼ãã å¤æ ãã â JavaScript ASTãè¦ã¦å¤æ ãã æ¬ä½ã®è²ã ãªé¨åãtransform pluginãªã©ã§ASTã使ã£ã¦ã
æ£å¸å³ä¸ã§ãã©ãã°ããã¨ãé¸æããç¯å²ã®é½éåºçã«è²ãä»ãã¾ãã d3.svg.brushã使ã£ã¦ãæ£å¸å³ã¨å°å³ãé£åããããµã³ãã«ãä½æãã¾ããã example ãã¼ã¿ã»ããã®ä½æ æå¹æ±äººåçã¨å 足çã®æ å ±ã¯ã社ä¼ç活統è¨ææ¨ãããã é½éåºçã®å°å³ãã¼ã¿ã¯ä»¥ä¸ããããã ãã¾ããã é½éåºçè²å¡ãç¨shapeãã¡ã¤ã«ï¼è±èªè¡¨è¨ï¼ 社ä¼ç活統è¨ææ¨ãããã¦ã³ãã¼ããããå´åãçµ±è¨è¡¨ãExcelä¸ã§ç·¨éãã¦csvã«ã ä½æããcsvã¨é½éåºçè²å¡ãç¨shapeãã¡ã¤ã«ãQuantum GISã«èªã¿è¾¼ã¿çµåã(çµåã®æ¹æ³ã¯ä»¥ä¸ã) å±æ§ãã¼ã¿ã«CSVã¾ãã¯DBFãã¡ã¤ã«ãçµåããã çµåãããã¼ã¿ãgeojsonã§åºåããããã«topojsonã«å¤æãã¾ãã topojsonã¸ã®å¤æã¯ãTopoJSONã使ãããåç §ãã¦ãã ããã åºæ¥ä¸ãã£ããã¼ã¿ã»ããã¯ä»¥ä¸ã todofuken.to
ã¹ãã¼ããã©ã³(iosãandroid)åãã®ã¦ã§ããµã¤ãã»ã¦ã§ãã¢ããªãä½ãéã«å人çã«ãã使ãhtmlãcssãjavascriptã®åå¿é²ã htmlé¢é£ headã¿ã°å ã§ã®è¨å®<!-- //ããã¤ã¹ãµã¤ãºã«ãããã¦è¡¨ç¤ºé åãå¤æ´ãã --> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- //é»è©±çªå·ã®ãªã³ã¯ãç¡å¹å --> <meta name="format-detection" content="telephone=no"> <!-- //ãã¼ã ç»é¢ç¨ã¢ã¤ã³ã³ --> <link rel="apple-touch-icon" href="icon.png"> <!-- //ãã¼ã ç»é¢ç¨ã¢ã¤ã³ã³ã®å æ²¢ãç¡å¹åãã --> <link rel="apple-touch-icon
jQuery 1.6 ãæ¢ã«ãªãªã¼ã¹ ããã¦ãã¾ããã1.5 ã§è¿½å ããã Deferred ãåå¼·ããæå³ã§ãScript Junkie ãã Creating Responsive Applications Using jQuery Deferred and Promises ã翻訳ãã¦ã¿ã¾ããã®ã§ãå ±æãããã¨æãã¾ããèè ã® Julian Aubourg ã¯ãjQuery ã®ã³ã¢ãã¼ã ã»ã¡ã³ãã¼ã¨ãã¦ãAjax ã¢ã¸ã¥ã¼ã«ã®æ¸ãæã㨠Deferred å°å ¥ãææ®ããæ¹ã ããã§ãã è¨äºã®éä¸ãåã¡ã½ããã®èª¬æé¨åã¯ãjQuery ããã¥ã¡ã³ãã®ç¿»è¨³ã«å·®ãæ¿ãã¦ãã¾ãã®ã§ããªãã¡ã¬ã³ã¹ã¨ãã¦ä½¿ã£ã¦ãããã®ãè¯ããã¨æãã¾ãã Deferred ã Promise ã¯ãæ¦å¿µãç¨èªãå°ã åããã«ããã¨ããããããã¨æãã¾ãã®ã§ãèªãã§ãã ãã£ãæ¹ã®ãå°ãã§ãç解ã®å©ãã«ãªãã°å¹¸ãã§ã
A quick port of Minecraft4k to test what's possible in JS and HTML5. Because of the nature of this project (it was originally meant as an entry for the Java4k competition, which focuses on executable size), the code is HORRIBLE, but fairly small. You may use the code in here for any purpose in any way you want, at your own risk. var ctx; var pixels; var w = 200; var h = 200; var map = new Array(64
This is a logic puzzle game in which the player must correct a series of programs to print the desired numbers on a Turing Machine tape. This game appeared on the Google homepage on 23 June 2012 to celebrate Alan Turing's 100th birthday, and is archived permanently at: http://www.google.com/doodles/alan-turings-100th-birthday Please feel welcome to extend and enjoy! License notes We are sharing th
ã°ã¼ã°ã«ã¯ãJavaScriptã§MVCã¢ã¼ããã¯ãã£ã®ã¢ããªã±ã¼ã·ã§ã³éçºãããéã«ä¾¿å©ãªæ©è½ãåããã©ã¤ãã©ãªãAngularJS 1.0ãã®ãªãªã¼ã¹ãããã°ã§çºè¡¨ãã¾ããã MVCã¢ã¼ããã¯ãã£ã¨ã¯ãã½ããã¦ã§ã¢ããã¼ã¿ã¢ãã«ï¼Modelï¼ã®é¨åã¨ã¦ã¼ã¶ã¼ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®é¨åï¼Viewï¼ãããã¦ãã¥ã¼ã¨ã¢ãã«ã®ããã ã§å¶å¾¡ããé¨åï¼Controllerï¼ã«åé¢ãããæ§é ã®ãã¨ãæãã¾ãã ããããåé¢ããã¦ããã¨ããã°ã©ã ã®è¦éãããããªãå¤æ´ã«ã対å¿ããããããã¹ãã容æã«ãªããããä½ç¨®é¡ãã®ã¦ã¼ã¶ã¼ã¤ã³ã¿ã¼ãã§ã¤ã¹ã¨è¤éãªãã¸ãã¯ãªã©ããæ§æããã大è¦æ¨¡ãªã¢ããªã±ã¼ã·ã§ã³ã§ã¯MVCã¢ã¼ããã¯ãã£ã®æ¡ç¨ãæã¾ãããã®ã¨èãããã¦ãã¾ãã ãããWebã¢ããªã±ã¼ã·ã§ã³ãMVCã¢ã¼ããã¯ãã£ã§å®ç¾ãããã¨ããã¨ããã¥ã¼ã®å½¹å²ãæããHTMLã®ã³ã¼ãã®ä¸ã«ãã©ããã¦ãè¤éãªJavaSc
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}