// require
sightglass = require('sightglass')
// global usage
sightglass.root = '.'
sightglass(obj, 'user.address:city', function() {})
// scoped usage
sightglass2 = sightglass.extend({root: '.'})
sightglass2(obj, 'user.address:city', function() {})
// require
sightglass = require('sightglass')
// global usage
sightglass.root = '.'
sightglass.observe(obj, 'user.address:city', function() {})
// scoped usage
sightglass2 = sightglass({root: '.'})
sightglass2.observe(obj, 'user.address:city', function() {})
// require
sightglass = require('sightglass')
// global usage
sightglass.root = '.'
sightglass.observe(obj, 'user.address:city', function() {})
// scoped usage
sightglass2 = new sightglass({root: '.'})
sightglass2.observe(obj, 'user.address:city', function() {})
// require
Sightglass = require('sightglass')
// there is no global usage :(
// scoped usage
sightglass = new Sightglass({root: '.'})
sightglass(obj, 'user.address:city', function() {})