Getting started with lawnchair
is super easy:
lawnchair
js file in your html document.lawnchair
(you can have as many as you want).Figure 1: index.html
<!DOCTYPE html>
<html>
<head>
<title>my osim app</theitle>
</head>
<body>
<script src="lawnchair.js"></script>
<script src="app.js"></script>
</body>
</html>
Figure 2: app.js
Lawnchair(function(){
this.save({msg:'hooray!'})
})