example/js/svg.js
function(k, v) {
    // remember every item in an object individually
    if (typeof arguments[0] == 'object')
      for (var v in k)
        this.remember(v, k[v])

    // retrieve memory
    else if (arguments.length == 1)
      return this.memory()[k]

    // store memory
    else
      this.memory()[k] = v

    return this
  }
function(k, v) {
    // remember every item in an object individually
    if (typeof arguments[0] == 'object')
      for (var v in k)
        this.remember(v, k[v])

    // retrieve memory
    else if (arguments.length == 1)
      return this.memory()[k]

    // store memory
    else
      this.memory()[k] = v

    return this
  }
function ( k , v ) { // remember every item in an object individually if ( typeof arguments [ 0 ] == 'object' ) for ( var v in k ) this . remember ( v , k [ v ] ) // retrieve memory else if ( arguments . length == 1 ) return this . memory ( ) [ k ] // store memory else this . memory ( ) [ k ] = v return this }
Remember arbitrary data
Remember arbitrary data