Permalink
Browse files

typo and whitespace changes

small typo fixed and whitespace according to http://contribute.jquery.org/style-guide/js/#spacing
  • Loading branch information...
1 parent 29dc6e2 commit 09f1bb36f744247d69783fac2e37299e91094548 @Volker-E Volker-E committed Dec 4, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 jquery.bgiframe.js
View
8 jquery.bgiframe.js
@@ -7,10 +7,10 @@
*/
(function (factory) {
- if (typeof define === 'function' && define.amd) {
+ if ( typeof define === 'function' && define.amd ) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
- } else if (typeof exports === 'object') {
+ } else if ( typeof exports === 'object' ) {
// Node/CommonJS style for Browserify
module.exports = factory;
} else {
@@ -26,11 +26,11 @@
height : 'auto', // auto == offsetHeight
opacity : true,
src : 'javascript:false;',
- conditional : /MSIE 6\.0/.test(navigator.userAgent) // expresion or function. return false to prevent iframe insertion
+ conditional : /MSIE 6\.0/.test(navigator.userAgent) // expression or function. return false to prevent iframe insertion
}, s);
// wrap conditional in a function if it isn't already
- if (!$.isFunction(s.conditional)) {
+ if ( !$.isFunction(s.conditional) ) {
var condition = s.conditional;
s.conditional = function() { return condition; };
}

0 comments on commit 09f1bb3

Please sign in to comment.