jsduck: Add @inheritable to static methods from jQuery plugins
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 30 Apr 2014 22:32:57 +0000 (00:32 +0200)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 30 Apr 2014 22:33:16 +0000 (00:33 +0200)
Follows-up aa34a7128ae883. Forgot to add @inheritable in a few,
which is necessary for static methods as they aren't inherited by
default and thus wouldn't be mixed into jQuery (from jQuery.plugin).

Change-Id: I893103e90ac9becca721333a931a0bd53f193f6e

resources/src/jquery/jquery.byteLength.js
resources/src/jquery/jquery.hidpi.js

index 0b8f9da..7fe25ee 100644 (file)
@@ -9,6 +9,9 @@
  * Calculate the byte length of a string (accounting for UTF-8).
  *
  * @static
+ * @inheritable
+ * @param {string} str
+ * @return {string}
  */
 jQuery.byteLength = function ( str ) {
        // This basically figures out how many bytes a UTF-16 string (which is what js sees)
index 99889f1..71b083b 100644 (file)
@@ -21,6 +21,7 @@
  * Uses `window.devicePixelRatio` if available, or CSS media queries on IE.
  *
  * @static
+ * @inheritable
  * @return {number} Device pixel ratio
  */
 $.devicePixelRatio = function () {