Commit graph

4 commits

Author SHA1 Message Date
Brian Wolff 185bce5859 Fixup qrcode-generating js, to stop race condition.
Previously there was a race condition where the qrcode would
not show if the startup module finished loading prior to the
div that should contain the qrcode being loaded. This quite
commonly happened on wikipedia during a hit where js is cached
(But does not happen locally, my theory is that that is due to
how packets get split over the network but not from localhost).

Change it to use a normal RL module, as that seems best practise.
Also do not load the qrcode js on special pages that do not use it.
Finially, remove position:top as its not needed.

Bug: T136988
Change-Id: I5139f222207203d834bdc979b21c1fc94f242ac2
2016-06-20 03:42:28 -04:00
Paladox 41b9f5d2e7 Add grunt-contrib-jshint to npm
Change-Id: I6bcf5c2b98e918f675181c2fe283416f07cce982
2016-03-24 16:47:31 +00:00
Antoine Musso 71eb378707 Pass jshint
Ignore third party file modules/qrcode.js

Fix the few other errors:

modules/jquery.qrcode.js: line 47, col 10, Missing semicolon.
modules/jquery.qrcode.js: line 63, col 2, Mixed spaces and tabs.
modules/jquery.qrcode.js: line 81, col 10, Missing semicolon.

And clean trailing whitespaces while at it.

Bug: 61617
Change-Id: Ic462b567f1795c1fd5c4db7f7ed89b9b2d4c619e
2014-07-21 14:33:33 +02:00
Ryan Lane ac7f7b5a78 Initial check-in of OATHAuth
OATHAuth is an HMAC HOTP two factor authentication plugin.

Change-Id: Icc75edda755f0a86402524a1a2aa8899351adcc4
2012-05-09 10:16:41 -07:00