JavaScript Lawnchair library.. stored as same "table"?
I am using Lawnchair JavaScript library. Reference here
http://westcoastlogic.com/lawnchair/

In below code, because i passed different id, TABLE1 and TABLE2.. I expect dao1 and dao2 are completely be stored as 2 different objects / storage. But the fact is they're referring to the same thing.. and any "save" action from dao1 or dao2, will be stored at the same "Lawnchair".

Appreciate for your  big/small idea / suggestion.. Thanks!! 

        <script src="javascripts/lib/Lawnchair.js" type="text/javascript"></script>
        <script src="javascripts/lib/adaptors/WebkitSQLiteAdaptor.js" type="text/javascript"></script>
        <script src="javascripts/lib/adaptors/DOMStorageAdaptor.js" type="text/javascript"></script>
        <script src="javascripts/lib/adaptors/LawnchairAdaptorHelpers.js" type="text/javascript"></script>
        
    dao1 = new Lawnchair('TABLE1');
        dao1.save({111: '222'});
        
        dao2 = new Lawnchair('TABLE2');
        dao2.save({111: '222'});
JavaScript Lawnchair library.. stored as same "table"?
===

I am using Lawnchair JavaScript library. Reference here
http://westcoastlogic.com/lawnchair/

In below code, because i passed different id, TABLE1 and TABLE2.. I expect dao1 and dao2 are completely be stored as 2 different objects / storage. But the fact is they're referring to the same thing.. and any "save" action from dao1 or dao2, will be stored at the same "Lawnchair".

Appreciate for your  big/small idea / suggestion.. Thanks!! 

        <script src="javascripts/lib/Lawnchair.js" type="text/javascript"></script>
        <script src="javascripts/lib/adaptors/WebkitSQLiteAdaptor.js" type="text/javascript"></script>
        <script src="javascripts/lib/adaptors/DOMStorageAdaptor.js" type="text/javascript"></script>
        <script src="javascripts/lib/adaptors/LawnchairAdaptorHelpers.js" type="text/javascript"></script>
        
    dao1 = new Lawnchair('TABLE1');
        dao1.save({111: '222'});
        
        dao2 = new Lawnchair('TABLE2');
        dao2.save({111: '222'});