O'Reilly logo

Test-Driven JavaScript Development by Christian Johansen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Index

A

acceptance test-driven development, 34

access tokens, 381–382, 385–386

embeds for, 385–386

updates for, 385

ActionScript, 159

activateTab method, 190–192

event delegation in, 190

implementation of, 192

tag name in, 190

testing for, 190–191

activation object, 82

Active X objects, 252

identificators for, 252

addEventHandler method, 206

custom event handlers, 212–213

addMessage, 361–363

as asynchronous, 365–366

callbacks with, 361–362

event emitters with, 374

promise refactoring with, 367–371

testing implementation for, 366

UIDs for, 362–363

updating of, 369

ad hoc scopes, 101–103

avoiding the global scope, 101–102

lightboxes and, 101–102

with nested closures, 103

simulation of, 102–103

AJAX. See Asynchronous JavaScript and XML

ajax.cometClient ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required