Add hashCode to externs.

This commit is contained in:
Ian Gulliver
2014-06-16 21:34:41 -07:00
parent a51359068f
commit cb862d787d
2 changed files with 11 additions and 0 deletions

View File

@@ -69,6 +69,8 @@ handlers:
Strict-Transport-Security: max-age=31536000; includeSubDomains
pagespeed:
url_blacklist:
- https://www.cosmopolite.org/externs/*
enabled_rewriters:
- InlineImages
- CollapseWhitespace

View File

@@ -6,6 +6,15 @@
* @author ian@cosmopolite.org (Ian Gulliver)
*/
/**
* @return {number}
*/
String.prototype.hashCode = function() {};
/**
* @see https://www.cosmopolite.org/reference#callbacks
* @typedef {{onConnect: (function()|undefined),