You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
JavaScriptのコードの中にアプリの設定を定数として埋め込みたいことってありますよね。例えば、このFacebook Mobileのドキュメントにあるログインの例を借りると、 window.fbAsyncInit = function() { FB.init({ appId: FB_APP_ID, status: true, cookie: true, xfbml: true, oauth: true }); FB.Event.subscribe('auth.authResponseChange', function(response) { if (__DEBUG__) { console.log("Got auth.authResponseChange event"); console.log(response); } // Do something }); }; のように、あるメソ
esprimaに入りました. 次のversionからesprima.generateで利用可能です. Issue 89 - esprima - Code generator: convert AST to source code - ECMAScript parsing infrastructure for multipurpose analysis - Google Project Hosting JSのpretty printerを作りました. ECMAScriptのparserとしてesprimaを使っていて, 自作のcode generatorがASTから綺麗なJSをprintします. で, 現在はesprima code baseに持って行こうとしています. 将来的にesprimaで使えるようになる予定なので, 使いたい!! という方はお待ちください. operator prec
https://ginpen.com/lab/whatlang/ 仕組み 仕組みは、まあコードを見て頂ければお分かり頂けるかと思うんですが、こんな感じです。 入力文字のコードを得る。 (.charCodeAt()) WikipediaのUnicodeのページのコード順分類一覧を元に名前を取得。(力技で。) ついでに前後のコードの文字を表示。 (.fromCharCode()) 関連 Twitterで変な文字が出て来たら .charCodeAt()で文字コードを調べてみれ(JavaScript おれおれ Advent Calendar 2011 – 19日目)
PhantomJS + JSCoverage + QUnit или консольные JS юнит-тесты с подсчетом покрытия Поговорим о случае, когда нужно автоматизировать запуск тестов и сбор статистики покрытия, к примеру, для гипотетической клиентской JS библиотеки. Задача не совсем тривиальна, поскольку для нормальной работы библиотеки требуется полноценный браузер — библиотека является визуальной оберткой над стандартными компонентам
Introduction JvJsDoc is a program to extract documentation from JavaScript source code and to present the collected information in a set of HTML pages. It is meant to be used together with the Google Closure Library and the Google Closure Compiler. Features of JvJsDoc include the following: Generates one HTML page with documentation per class/namespace. A search box in the HTML output allows to qu
HTTP Archive Mobile a permanent repository for mobile performance data weinre weinre is Web Inspector Remote. Pronounced like the word "winery". Or maybe like the word "weiner". Who knows, really. Webkit Remote Debugging WebKit Developer Tools for remote debugging mobile webkit pages (like Android or iOS) Opera Dragonfly Wouldn't it be great if all debugging features could be used when debugging a
About JSCompressJSCompress is an online JavaScript compressor that allows you to compress and minify all of your JS files by up to 80% of their original size. Copy and paste your code or you can upload and combine multiple files and then compress. We use Terser for all JavaScript minification and compression. Why You Should Compress JavaScriptThere are a number of reasons why compressing your Java
Alon Zakai aka kripken | Compiling to the Web: Emscripten, Binaryen, asm.js, WebAssembly, etc. New posts at: https://kripken.github.io/blog/ A new compiler frontend for Emscripten, emcc, has landed recently. emcc can be used basically as a drop-in replacement for gcc, making it much easier to compile C and C++ into JavaScript. For example, emcc src.cpp will generate a.out.js, and emcc src.cpp -o s
Simply Refreshing 1 framework for all your services and web apps that's intuitive and Easy-to-use! Never read another text-book to learn another heavy .NET framework again! Super Fast Obscenely fast! Built with only fast, clean, code-first and light-weight parts. Start using .NET's fastest serializers, ORMs, redis and caching libraries! Thoughtfully architected Holistically constructed with remote
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く