()
| 3716 | }, |
| 3717 | |
| 3718 | createCache = function() { |
| 3719 | var cache = {}, |
| 3720 | keys = []; |
| 3721 | |
| 3722 | return markFunction(function( key, value ) { |
| 3723 | // Only keep the most recent entries |
| 3724 | if ( keys.push( key ) > Expr.cacheLength ) { |
| 3725 | delete cache[ keys.shift() ]; |
| 3726 | } |
| 3727 | |
| 3728 | return (cache[ key ] = value); |
| 3729 | }, cache ); |
| 3730 | }, |
| 3731 | |
| 3732 | classCache = createCache(), |
| 3733 | tokenCache = createCache(), |