From: Kevin Ball Date: Thu, 25 May 2017 04:30:58 +0000 (-0700) Subject: Add deprecation notice to GetOffsets X-Git-Tag: v6.4.0-rc1~19^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0753f64152899ef2b36baf61632d89c66f7a773e;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Add deprecation notice to GetOffsets --- diff --git a/js/foundation.util.box.js b/js/foundation.util.box.js index 7e989e75c..ba960eafd 100644 --- a/js/foundation.util.box.js +++ b/js/foundation.util.box.js @@ -120,6 +120,7 @@ function GetDimensions(elem, test){ * TODO alter/rewrite to work with `em` values as well/instead of pixels */ function GetOffsets(element, anchor, position, vOffset, hOffset, isOverflow) { + console.log("NOTE: GetOffsets is deprecated in favor of GetExplicitOffsets and will be removed in 6.5"); switch (position) { case 'top': return Rtl() ?