title: Bootstrap.js Object Expected IE
body: <p>I have been working with adding bootstrap to my website to utilize its versatility so i downloaded the files from <a href="http://www.getbootstrap.com" rel="nofollow noreferrer">www.getbootstrap.com</a>, however, when using Internet Explorer in debug mode, I consistently get the error 'Object Expected' (see images below). I have not changed anything in the bootstrap code.</p>
  
  <p>The files work and its awesome to be able to utilize the preset capabilities, but I get the error every time I have a post-back or load the page. I have tested this in Chrome and Firefox and it works without a hitch but when using IE it says there is an error every page load and post-back, but once past that error the page works fine. I'm no expert by any stretch of the imagination in Javascript (hence why i downloaded the preset capabilities of bootstrap!)</p>
  
  <p>Please let me know if you need me to post a revision to the question or if there is a better way of doing things.</p>
  
  <p>Thanks in Advance!</p>
  
  <pre><code>$(function () {
  
      $.support.transition = (function () {
  
        var transitionEnd = (function () {
  
          var el = document.createElement('bootstrap')
            , transEndEventNames = {
                 'WebkitTransition' : 'webkitTransitionEnd'
              ,  'MozTransition'    : 'transitionend'
              ,  'OTransition'      : 'oTransitionEnd otransitionend'
              ,  'transition'       : 'transitionend'
              }
            , name
  
          for (name in transEndEventNames){
            if (el.style[name] !== undefined) {
              return transEndEventNames[name]
            }
          }
  
        }())
  
        return transitionEnd &amp;&amp; {
          end: transitionEnd
        }
  
      })()
  
  })
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/31Fac.png" rel="nofollow noreferrer">Code Error In IE Console</a></p>
  
  <p><a href="https://i.stack.imgur.com/0fYGs.png" rel="nofollow noreferrer">Proof of Error</a></p>