Updated Style Guide (markdown)
parent
02955c0165
commit
62c19c413a
@ -2,7 +2,7 @@
|
|||||||
## Classes
|
## Classes
|
||||||
The standard way of creating classes in pdf.js is the following. Please note that by class we mean an object that is class-like.
|
The standard way of creating classes in pdf.js is the following. Please note that by class we mean an object that is class-like.
|
||||||
<pre>
|
<pre>
|
||||||
var Name = (function NameConstructor() {
|
var Name = (function NameClosure() {
|
||||||
function Name(name) {
|
function Name(name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user