laces.local.js
function LacesLocalArray(key) {

    var data = localStorage.getItem(key);
    var elements = data && JSON.parse(data) || [];

    var array = Laces.Array.call(this);
    for (var i = 0, length = elements.length; i < length; i++) {
        array.push(elements[i]);
    }

    array.bind("change", function() { localStorage.setItem(key, JSON.stringify(this)); });

    return array;
}
function LacesLocalArray(key) {

    var data = localStorage.getItem(key);
    var elements = data && JSON.parse(data) || [];

    var array = Laces.Array.call(this);
    for (var i = 0, length = elements.length; i < length; i++) {
        array.push(elements[i]);
    }

    array.bind("change", function() { localStorage.setItem(key, JSON.stringify(this)); });

    return array;
}
function LacesLocalArray ( key ) { var data = localStorage . getItem ( key ) ; var elements = data && JSON . parse ( data ) || [ ] ; var array = Laces . Array . call ( this ) ; for ( var i = 0 , length = elements . length ; i < length ; i ++ ) { array . push ( elements [ i ] ) ; } array . bind ( "change" , function ( ) { localStorage . setItem ( key , JSON . stringify ( this ) ) ; } ) ; return array ; }
Laces Local Array constructor.  A Laces Local Array is a Laces Array that automatically syncs itself to LocalStorage.  key - The key to use for storing the LocalStorage data.
Laces Local Array constructor . A Laces Local Array is a Laces Array that automatically syncs itself to LocalStorage . key - The key to use for storing the LocalStorage data .