diff --git a/index.html b/index.html index fed9c74..24b8781 100644 --- a/index.html +++ b/index.html @@ -42,8 +42,12 @@
- Classes can be anonymous or named, the latter being more useful for debugging. - Since classes may be anonymous, constructors are styled after PHP: + Classes can be + anonymous or + named, the latter being more useful for debugging. Since classes may be + anonymous, constructors are styled after + PHP.
@@ -51,13 +55,14 @@Classes can be instantiated with or without the new keyword. Omission - aids in concise method chaining and the use of temporary classes. + aids in concise method chaining and the use of + temporary instances.
var inst = Foo( "John Doe" ); var inst = new Foo( "John Doe" ); - // temporary class + // temporary instance Foo( "John Doe" ).sayHello();→ Read more in manual @@ -152,8 +157,8 @@All three common access modifiers — public, protected and private - — are supported, but enforced only in ECMAScript 5 and later - environments. + — are supported, but enforced only in ECMAScript 5 and later environments.
@@ -178,7 +183,8 @@ Static members are bound to the class itself, rather than a particular instance. Constants are immutable static members (unlike languages like PHP, they may use any access modifier). In order to support both - pre- and post-ECMAScript 5 environments, the syntax requires use of a static + pre- and + post-ECMAScript 5 environments, the syntax requires use of a static accessor method — $().diff --git a/style.css b/style.css index 57b93d9..5e04868 100644 --- a/style.css +++ b/style.css @@ -248,6 +248,11 @@ span.shell-start { clear: both; } +a.man:before { + /* → */ + content: '\2192\00a0'; +} + /** download **/ span.release-current {