Using:
bootstrap (downloaded from getbootstrap.com/2.3.2)
jQuery 1.10.2
How does one go from this:
return ( $href
&& $href.length
&& [[ $href.position().top +
(!$.isWindow(self.$scrollElement.get(0)) &&
self.$scrollElement.scrollTop()), href ]] ) || null
})
to that:
return ( $href
&& $href.length
&&
/%24href.position%28%29.top%20%2B%20%28%21%24.isWindow%28self.%24scrollElement.get%280%29%29%20%26%26%20self.%24scrollElement.scrollTop%28%29%29%2C%20href
) || null
})
and the following error:
Uncaught SyntaxError: Invalid regular expression: missing /
bootstrap.js:1582
This code is from the refresh method of the ScrollSpy plugin. It looks as
if this is stopping bootstrap.js from loading. The clean code on top is
from the downloaded bootstrap.js file, the mangled code is what the browser
shows in Developer Tools. I have no clue what could cause that.
Thanks
Philippe
--
You received this message because you are subscribed to the Google Groups
"twitter-bootstrap" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.