04.11.2015 Views

javascript

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Contents<br />

Performance 647<br />

Be Scope-Aware 648<br />

Choose the Right Approach 650<br />

Minimize Statement Count 655<br />

Optimize DOM Interactions 657<br />

Deployment 660<br />

Build Process 660<br />

Validation 662<br />

Compression 663<br />

Summary 666<br />

Chapter 21: Upcoming APIs 669<br />

The Selectors API 669<br />

The querySelector() Method 670<br />

The querySelectorAll() Method 671<br />

Support and the Future 672<br />

HTML 5 672<br />

Character Set Properties 672<br />

Class-Related Additions 673<br />

Custom Data Attributes 675<br />

Cross-Document Messaging 676<br />

Media Elements 677<br />

The Element 682<br />

Offline Support 692<br />

Changes to History 693<br />

Database Storage 694<br />

Drag-and-Drop 696<br />

The WebSocket Type 700<br />

The Future of HTML 5 701<br />

Summary 702<br />

Chapter 22: The Evolution of JavaScript 703<br />

ECMAScript 4/JavaScript 2 703<br />

JavaScript 1.5 704<br />

JavaScript 1.6 706<br />

JavaScript 1.7 709<br />

JavaScript 1.8 714<br />

JavaScript 1.9 717<br />

ECMAScript 4 Proposals 717<br />

Variable Typing 717<br />

xxv

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!