mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-02-08 00:21:11 +01:00
Updated Style Guide (markdown)
parent
02955c0165
commit
62c19c413a
@ -2,7 +2,7 @@
|
||||
## 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.
|
||||
<pre>
|
||||
var Name = (function NameConstructor() {
|
||||
var Name = (function NameClosure() {
|
||||
function Name(name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user