build/shelf.js
function (fileName, key, value) {
            var file = fileName || store.filename;
            if (!file) {
                store.log('You must specify a valid file.', 'ERR');
                return false;
            }
            if (!key) return;

            var item = store.stringify(key) + ": " +
                store.stringify(value) + ",\n";

            return fs.appendFileSync(file, item, 'utf-8');
        }
function (fileName, key, value) {
            var file = fileName || store.filename;
            if (!file) {
                store.log('You must specify a valid file.', 'ERR');
                return false;
            }
            if (!key) return;

            var item = store.stringify(key) + ": " +
                store.stringify(value) + ",\n";

            return fs.appendFileSync(file, item, 'utf-8');
        }
function ( fileName , key , value ) { var file = fileName || store . filename ; if ( ! file ) { store . log ( 'You must specify a valid file.' , 'ERR' ) ; return false ; } if ( ! key ) return ; var item = store . stringify ( key ) + ": " + store . stringify ( value ) + ",\n" ; return fs . appendFileSync ( file , item , 'utf-8' ) ; }
node 0.8
node 0 . 8