Skip to main content

Home/ InfokeyDEV/ Group items tagged javascript

Rss Feed Group items tagged

Benx Shen

John Resig - JavaScript as a Language - 2 views

  • I think we"ve seen the JavaScript language move through many individual phases: The "We need scripting for web pages" phase. (Netscape) The "We should standardize this" phase. (ECMAScript) The "JavaScript isn"t a toy" phase. (Ajax) The "JavaScript as a programming language" phase.
    • Benx Shen
       
      John Resig 認為,Javascript 歷經了這些成長階段: 1. "網頁所需的腳本(script)語言" (網景 Netscape) 2. "標準化" (ECMAScript) 3. "不只是玩具" (Ajax) 4. "成為真正的程式語言" (!?)
Benx Shen

70+ JavaScript Resources for Every Web Developer - 0 views

  • gotAPI/HTML - Instant search in HTML and other developer documentation - gotapi.com
  • JavaScript Cheat Sheet/ - ilovejackdaniels.com
  • Firebug - Web Development Evolved - getfirebug.com
Benx Shen

JavaScript: The World's Most Misunderstood Programming Language - 3 views

  • Why is this language so misunderstood?
  • Is JavaScript object-oriented? It has objects which can contain data and methods that act upon that data. Objects can contain other objects. It does not have classes, but it does have constructors which do what classes do, including acting as containers for class variables and methods. It does not have class-oriented inheritance, but it does have prototype-oriented inheritance.
  •  
    Chinese new year animals horoscope2016 Happy Chinese new year 2016 messages & quotes Happy new year 2016 greetings for Chinese Chinese new year 2016 funny poems
Benx Shen

HOW-TO: Debug JavaScript in Internet Explorer - 0 views

  • HOW-TO: Debug JavaScript in Internet Explorer The best tool for debugging JavaScript on Internet Explorer is the Microsoft Script Editor, a free component of Microsoft Office XP/2003.
Benx Shen

Blackbird - Open Source JavaScript Logging Utility - 0 views

  •  
    another javascript debugging widget. Say goodbye to alter()
kooala lo

介紹好用工具:Paros ( 網站安全性掃瞄工具 ) - 0 views

  •  
    記載著 Will 在網路世界的學習心得與技術分享" />
Benx Shen

Ajaxian » QUnit - A JavaScript Unit Testing Framework - 1 views

  • QUnit – A JavaScript Unit Testing Framework
  •  
    Chinese new year animals horoscope2016 Happy Chinese new year 2016 messages & quotes Happy new year 2016 greetings for Chinese Chinese new year 2016 funny poems
Benx Shen

A re-introduction to JavaScript - MDC - 1 views

  • var name = o && o.getName();
  • var name = otherName || "default";
  • The first argument to apply() is the object that should be treated as 'this'.
  • ...9 more annotations...
  • apply() has a sister function named call, which again lets you set 'this' but takes an expanded argument list as opposed to an array.
  • Closures
  • A closure is the combination of a function and the scope object in which it was created. Closures let you save state - as such, they can often be used in place of objects.
  • An unfortunate side effect of closures is that they make it trivially easy to leak memory in Internet Explorer.
  • The above code sets up the element to turn red when it is clicked. It also creates a memory leak. Why? Because the reference to el is inadvertently caught in the closure created for the anonymous inner function. This creates a circular reference between a JavaScript object (the function) and a native object (el).
  • delete el;
  • var clickHandler = function() { this.style.backgroundColor = 'red'; } (function() { var el = document.getElementById('el'); el.onclick = clickHandler; })();
  • Surprisingly, one trick for breaking circular references introduced by a closure is to add another closure:
  • It's useful to start with an idea of the language's history. JavaScript was created in 1995 by Brendan Eich, an engineer at Netscape, and first released with Netscape 2 early in 1996. It was originally going to be called LiveScript, but was renamed in an ill-fated marketing decision to try to capitalise on the popularity of Sun Microsystem's Java language — despite the two having very little in common. This has been a source of confusion ever since.
  •  
    Chinese new year animals horoscope2016 Happy Chinese new year 2016 messages & quotes Happy new year 2016 greetings for Chinese Chinese new year 2016 funny poems
  •  
    Chinese new year animals horoscope2016
    Happy Chinese new year 2016 messages & quotes
    Happy new year 2016 greetings for Chinese
    Chinese new year 2016 funny poems
Benx Shen

無類語言的OOP(JavaScript描述)-FP-綜合技術 -JavaEye做最棒的軟件開發交流社區 - 0 views

  • 本文以 JavaScript 語言為例,介紹了無類面向對象語言中實現各種面向對象概念的方法。
  • 無類語言的OOP(JavaScript描述)
Benx Shen

DynaCloud - a dynamic JavaScript tag/keyword cloud with jQuery - 0 views

  •  
    jQuery 標籤雲函式庫!
Benx Shen

Jash: JavaScript Shell - 2 views

  • Jash is a DHTML-based window that gives you command-line JavaScript access to the current browser window
  •  
    Chinese new year animals horoscope2016 Happy Chinese new year 2016 messages & quotes Happy new year 2016 greetings for Chinese Chinese new year 2016 funny poems
  •  
    Chinese new year animals horoscope2016
    Happy Chinese new year 2016 messages & quotes
    Happy new year 2016 greetings for Chinese
    Chinese new year 2016 funny poems
1 - 20 of 78 Next › Last »
Showing 20 items per page