lw-bobbimartin / simplemodal

Automatically exported from code.google.com/p/simplemodal
0 stars 0 forks source link

JavaScript error calling $.modal in IE 9 when using double-minified plugin #90

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
SimpleModal 1.4.3, Official GitHub release
jQuery 1.8.0 minified, Google CDN version
IE 9 (no compatibility mode), Windows 7 x64

- I have an ASP.NET MVC 4 Release Candidate application that contains the 
pre-minified simplemodal release from 
http://cloud.github.com/downloads/ericmmartin/simplemodal/jquery.simplemodal.1.4
.3.min.js
- The plugin is being included directly; i.e., no ASP.NET MVC 4 bundle is being 
used
- When I attempt to call $.modal from a jQuery click handler, I receive the 
following JavaScript error (only in IE 9 with no compatibility mode):

Error: Object doesn't support property or method 'removeExpression'

It looks like this error is occurring on what is line 448 of the non-minified 
script. If I change the contents of the plugin file to the non-minified 
version, it works. If I set up an ASP.NET MVC 4 bundle and include the 
non-minified version of the plugin with the JsMinify bundle transformer, it 
works.

Original issue reported on code.google.com by nathan.a...@gmail.com on 15 Sep 2012 at 2:25

Attachments:

GoogleCodeExporter commented 9 years ago
Oops, I just noticed the title of this issue is wrong. It should read: 
"JavaScript error calling $.modal in IE 9 with minified plugin"

Original comment by nathan.a...@gmail.com on 15 Sep 2012 at 2:27