Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 489 Bytes

Make-free-prototypes.md

File metadata and controls

15 lines (11 loc) · 489 Bytes

With the release of v0.3, ApplicationFrame will start to use Make free prototypes for all new prototypes. Make free prototypes are slightly different instantiated then the old Make prototypes.

Instantiation of Make Prototypes

import Prototype from '../lib/Prototype.js';

let instance = Make(Prototype)();

Instantiation of Make free Prototypes

import Prototype from '../lib/Prototype.js';

let instance = Object.create(Prototype).constructor();