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
LightningTalk at Kanasan.JS, Japanese Javascript Users Group Meeting http://groups.google.co.jp/group/kanasanjs/web/kanasan-js-javascript52-lightning-talk
README.mdwrap.js version 0.2.1 A RequireJS plugin for wrapping regular scripts as AMD modules. This is useful for cases where regular scripts have dependencies, like jQuery plugins and Backbone. Inpired by Tim Branyen's use.js plugin. Depends on the text plugin Usage In your require.config use the wrapJS object to specify which scripts you want to wrap. Use the deps attribute to specify all the sc
Домен зарегистрирован в REG.RUyand.info Истёк срок регистрации доменаПродлить Подать заявку при освобождении
Major update to JsRender and JsViewsIn previous posts and elsewhere, I had set the goal of reaching beta for JsRender at the end of February. A major update has just been committed to GitHub for both JsRender and JsViews, which is effectively a beta candidate for JsRender. This update brings a large number of API changes, new features, and improvements, to both JsRender and JsViews. It follows qu
I'd like to use 2 spaces for my indents instead of 4. I can change the default behavior of C mode using: (setq c-basic-offset 2) How do I change this in javascript mode?
JS Advent Calendar, オレ標準コース 1日目, id:Constellation です. あれから1年ですか... 前半で, ES.nextに導入されたDeclarationについてさっと, そして後半でタイトルの説明をします. この文書は, 2011/12/01現在のES5 Engineの実装とES.next draftに基づいています. また, ES.nextの文法がvalidかどうかについては, parserを用意してあるので, 是非ご利用ください. http://constellation.github.com/iv/js/es.next.html Declaration ES.nextでは新たにDeclarationという区切りが入り, LetDeclaration, ConstDeclaration, FunctionDeclarationが導入されました.
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 }); }; のように、あるメソ
サーバサイド(特にNode.js)とクライアントサイド両方で動かしたいものは最近はこんな感じで書いている。 CommonJSのwiki見ててそこに紹介されてるソースコードで(どれだったか忘れたけど。。)やってたのを見ていいなーと思って真似っこした。 (function(define) { define([], function() { 'use strict'; /** * @constructor */ var SomeClass = function() { // initialize }; /** * @type {string} * @private */ SomeClass.prototype.hoge_ = 'hoge'; /** * @return {string} */ SomeClass.prototype.getHoge = function() { return th
OverviewWe've been finding ourselves building more and more JS heavy apps here at &yet. Until recently, we've pretty much invented a custom app architecture for each one.Not surprisingly, we're finding ourselves solving similar problems repeatedly.On the server side, we use django to give us an MVC structure to follow. But there's no obvious structure to your client-side code. There are some large
A little over a year ago, I got my first serious glimpse at SproutCore, the JavaScript framework Apple used to build MobileMe (now iCloud). At the time, I had worked extensively with jQuery and Rails on client-side projects, and I had never found the arguments for the "solutions for big apps" very compelling. At the time, most of the arguments (at least within the jQuery community) focused on brin
Writing Modular JavaScript With AMD, CommonJS & ES Harmony When we say an application is modular, we generally mean it's composed of a set of highly decoupled, distinct pieces of functionality stored in modules. As you probably know, loose coupling facilitates easier maintainability of apps by removing dependencies where possible. When this is implemented efficiently, its quite easy to see how cha
Motivation Regular expressions are used in every language, every programmer is familiar with them. Regex can be used to easily express complex strings. What better way to generate a random data than with a tool you can easily describe what string you want? Thanks to String-Random for giving me the idea to make this in the first place and randexp for the nifty little `.gen` syntax. Install For node
Luciano Costa, Agile Software Developer and Consultant at Monttez, 12 minutes ago ECMAScript 5 - Presentation Transcript ECMAScript 5 Damian Wielgosik varjs.comfront-trends.com @varjs Hey, what is that ECMAScript actually? let’s create a simplest object ever var obj = {}; let’s add a property to it var obj = { foo : 1}; let’s read that property var obj = { foo : 1};obj.foo; // 1 - this is how we
May 1, 2011 JavaScript developers wishing to add more structure to their code often look for simple ways to apply the popular MVC architecture pattern to their applications. Utilizing a client-side MVC framework can be useful for such code organization and today we'll be looking at Spine.js, a recently released solution that assists with this task. You may be familiar with some existing projects t
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く