Skip to content

Commit

Permalink
Store: Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed May 25, 2012
1 parent 979257f commit 36adbca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions store/amplify.store.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/*!
* Amplify Store - Persistent Client-Side Storage @VERSION
*
*
* Copyright 2011 appendTo LLC. (http://appendto.com/team)
* Dual licensed under the MIT or GPL licenses.
* http://appendto.com/open-source-licenses
*
*
* http://amplifyjs.com
*/
(function( amplify, undefined ) {

var store = amplify.store = function( key, value, options, type ) {
var store = amplify.store = function( key, value, options ) {
var type = store.type;
if ( options && options.type && options.type in store.types ) {
type = options.type;
Expand All @@ -30,9 +30,9 @@ store.addType = function( type, storage ) {
options.type = type;
return store( key, value, options );
};
}
};
store.error = function() {
return "amplify.store quota exceeded";
return "amplify.store quota exceeded";
};

var rprefix = /^__amplify__/;
Expand Down

0 comments on commit 36adbca

Please sign in to comment.