summaryrefslogtreecommitdiff
path: root/assets/viz/2/goog/reflect
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2018-11-13 00:24:09 -0500
committerBrian Picciano <mediocregopher@gmail.com>2018-11-13 00:24:09 -0500
commit2b4757367470d8e36bc00901dac567e375796ed4 (patch)
tree72368624006c21d28228a100ee88590c7bf95e58 /assets/viz/2/goog/reflect
parent5ed62d23b4bbbf7717de4adfa0eaf2af19365408 (diff)
update viz 2 to use the newest version, which has some performance improvements and is easier to read the code for. also update the description
Diffstat (limited to 'assets/viz/2/goog/reflect')
-rw-r--r--assets/viz/2/goog/reflect/reflect.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/viz/2/goog/reflect/reflect.js b/assets/viz/2/goog/reflect/reflect.js
index 5a88b45..a737324 100644
--- a/assets/viz/2/goog/reflect/reflect.js
+++ b/assets/viz/2/goog/reflect/reflect.js
@@ -89,7 +89,7 @@ goog.reflect.sinkValue[' '] = goog.nullFunction;
* if obj is null.
*/
goog.reflect.canAccessProperty = function(obj, prop) {
- /** @preserveTry */
+
try {
goog.reflect.sinkValue(obj[prop]);
return true;
@@ -110,13 +110,13 @@ goog.reflect.canAccessProperty = function(obj, prop) {
* the value was never used, it would still always be stored in the cache.
*
* Providing a side-effect free {@code valueFn} and {@code opt_keyFn}
- * allows unused calls to {@code goog.cache} to be pruned.
+ * allows unused calls to {@code goog.reflect.cache} to be pruned.
*
* @param {!Object<K, V>} cacheObj The object that contains the cached values.
* @param {?} key The key to lookup in the cache. If it is not string or number
* then a {@code opt_keyFn} should be provided. The key is also used as the
* parameter to the {@code valueFn}.
- * @param {!function(?):V} valueFn The value provider to use to calculate the
+ * @param {function(?):V} valueFn The value provider to use to calculate the
* value to store in the cache. This function should be side-effect free
* to take advantage of the optimization.
* @param {function(?):K=} opt_keyFn The key provider to determine the cache