r112674 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112673‎ | r112674 | r112675 >
Date:09:36, 29 February 2012
Author:jdlrobson
Status:ok
Tags:
Comment:
follow up to r112529 c31595
Modified paths:
  • /trunk/extensions/MobileFrontend/javascripts/application.js (modified) (history)
  • /trunk/extensions/MobileFrontend/javascripts/beta_application.js (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/javascripts/beta_application.js
@@ -98,7 +98,7 @@
9999 }
100100 }
101101
102 - utilities = typeof(jQuery) !== "undefined" ? jQuery : function( el ) {
 102+ utilities = typeof jQuery !== 'undefined' ? jQuery : function( el ) {
103103 if( typeof(el) === 'string' ) {
104104 if( document.querySelectorAll ) {
105105 return document.querySelectorAll( el );
Index: trunk/extensions/MobileFrontend/javascripts/application.js
@@ -94,7 +94,7 @@
9595 }
9696 }
9797
98 - utilities = typeof(jQuery) !== "undefined" ? jQuery : function( el ) {
 98+ utilities = typeof jQuery !== 'undefined' ? jQuery : function( el ) {
9999 if( typeof(el) === 'string' ) {
100100 if( document.querySelectorAll ) {
101101 return document.querySelectorAll( el );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112529use jquery where available instead of native javascript libraryjdlrobson21:58, 27 February 2012

Status & tagging log