- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
はじめに 毎日新しいJavaScriptライブラリが登場していると思いますが、それらがどういう実装になっているかを知ることはライブラリを使う以上に大事かもしれません。 ソースを全部読めば分かるかもしれませんが、それをやるには時間が足りません。 JavaScriptに限った話では無いですが、今回はJavaScriptを例に”特定の機能はどうやってるんだろ?”という事を調べる方法についてです。 探す前にドキュメントに載ってないかを見るのが手間がなくて一番よいですが、書いてない場合は実装を見ます。 Vue.js 今回はVue.jsというAngularJSやKnockoutのようなViewとModelのデータバインディグを行うライブラリを例に、データバインディグはどうやっているのかを2つの方法で調べてみたいと思います。 コードをステップで見ていく これはよく見る方法で皆さんもやったことがあると思い
The Progressive JavaScript Framework An approachable, performant and versatile framework for building web user interfaces. Why Vue Get Started Install Get Security Updates for Vue 2 Special Sponsor slot is now vacant - Inquire now Approachable Builds on top of standard HTML, CSS and JavaScript with intuitive API and world-class documentation.
A JavaScript library built to encourage a functional programming style & strategy. Functional First fn.js aims to support functional practices over performance or established conventions. In order to guide you on the right path, fn.js internals force avoidance of side effects, object mutation, and function state. Run Everywhere fn.js runs in the Node.js or in the browser using normal script tags o
var casual = require('casual'); // Generate random sentence // You don't need function call operator here // because most of generators use properties mechanism var sentence = casual.sentence; // Generate random city name var city = casual.city; // Define custom generator casual.define('point', function() { return { x: Math.random(), y: Math.random() }; }); // Generate random point var point = cas
Make your sharing widget! Sharrre is a jQuery plugin that allows you to create nice widgets sharing for Facebook, Twitter, Google Plus (with PHP script) and more. Create your own sharing buttons All sharing buttons are different, with Sharrre you can create uniform buttons to integrate with your designs. Improve your loading page With Sharrre, the API buttons are called on demand and once, regardl
これは、jsCafe18で話したSlideです。 概要 これから、「Ractive.js」という js上でReactiveなUIを とてもsimpleにbuildするためのlibraryの話をします 目次 reactive programming ractive.js 他のframeworkとの比較 Backboneに入れてみる そもそもReactive Programmingとは? 古くは、2003年頃から日本のblogでも幾つか言及されてる模様 去年、更に色々と動きが出てきた。 2013/7 ガートナーの2013年のreportで扱われてる 2013/9 リアクティブマニフェストが出た。これ訳されてる方がいた。 2013/9 infoQの記事見ると大体の流れや概要が分かる バズりと意味の広がり なんか徐々にバズり感がある 他のバズりワード(cloud等)と同じように意味が広義に、より抽
Phys is a Physics library built for Javascript and NodeJSGetting Started Phys is a library created for individuals who want to use simple or advanced physics functions in their day-to-day work. This library includes functions for: - Mechanics - Thermal Physics - Oscillations and Wave Theory - Electric Current and Electromagnetic Induction - Fields, Forces and Motions in Fields - Energy, power, and
Integers and decimals Simple API but full-featured Faster, smaller, and perhaps easier to use than JavaScript versions of Java's BigDecimal 8 KB minified and gzipped Replicates the toExponential, toFixed, toPrecision and toString methods of JavaScript's Number type Includes a toFraction and a correctly-rounded squareRoot method Supports cryptographically-secure pseudo-random number generation No d
いわゆるリリースノート(宣伝とも言う)です。 少し前にこのブログで書いた、JS向けオブザーバパターンライブラリのrev.2をリリースしました。 Release · saneyuki/observer-js · GitHub リリース概要 TypeScript用型定義ファイルを追加 ObserverSubject.destory()を追加 ObserverSubject.removeAll() -> ObserverSubject.removeTopic()に名前変更 Support IE6~8 First stable release 必要最低限のAPIセットが揃ったと考えたので、とりあえずstable releaseです。「とりあえずこれさえあればなんとかなるだろう」というAPIだけ載せました。将来的にIE6~8サポートは優先的に必ず削除する予定ですが、本バージョンのマイナーバージョンア
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く