summaryrefslogtreecommitdiff
path: root/assets/viz/2/goog/reflect/reflect.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/viz/2/goog/reflect/reflect.js')
-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