Permalink
Browse files

Merge pull request #18 from Volker-E/master

typo and whitespace changes
  • Loading branch information...
brandonaaron committed Dec 4, 2013
2 parents 29dc6e2 + 09f1bb3 commit 3e8a04d60c5a0ec3fccf761ec3e9eabca0589ea9
Showing with 4 additions and 4 deletions.
  1. +4 −4 jquery.bgiframe.js
View
@@ -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 3e8a04d

Please sign in to comment.