An open API service indexing awesome lists of open source software.

https://github.com/scriptype/person

Mother of all person classes.
https://github.com/scriptype/person

Last synced: 9 months ago
JSON representation

Mother of all person classes.

Awesome Lists containing this project

README

          

Person
======

Mother of all person classes.

Create a new instance of Person with console like:

```javascript
var x = new Person("scriptyper",20,"m","istanbul");
```

Your instance must now appear in DOM. This is provided with using localStorage as a temporary database. When an instance created, it's passed to localStorage and after generation of it, view function is triggered. View function checks for any new data in localStorage, turns any new data into DOM contents.

You can edit/add informations about your person and as soon as data added DOM will immediately update itself.

To see what methods and properties your instance has, simply console:

```javascript
x;
```

Once created, instance objects will always be in DOM as their data is stored in localStorage.

Currently, editing instances belongs to older sessions is a challange. This feature may or may not be included in later versions.