more consistent comment style for URL references

This commit is contained in:
mappu 2017-02-08 18:20:35 +13:00
parent 59c118dc34
commit d862a3f703
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ var b64 = function(str) {
})).replace(/=/g, ''); })).replace(/=/g, '');
} }
// https://gist.github.com/eligrey/1276030 // @ref https://gist.github.com/eligrey/1276030
var appendInnerHTML = function($el, html) { var appendInnerHTML = function($el, html) {
var child = document.createElement("span"); var child = document.createElement("span");
child.innerHTML = html; child.innerHTML = html;
@ -106,7 +106,7 @@ var appendInnerHTML = function($el, html) {
} }
}; };
// http://stackoverflow.com/a/5598797 // @ref http://stackoverflow.com/a/5598797
function getOffsetLeft( elem ) { function getOffsetLeft( elem ) {
var offsetLeft = 0; var offsetLeft = 0;
do { do {