Hi,

already fixed in jquery (http://bugs.jquery.com/ticket/14282) 1.11 or 2.1


Alex

Am 04.03.2014 um 23:38 schrieb Robert Hanson:

> We're not really at liberty to modify the jQuery code (unless it's a critical 
> failure, of course). You could register a bug with jQuery about this, though.
> 
> 
> On Tue, Mar 4, 2014 at 3:20 PM, Charles Harrison Shubert <[email protected]> 
> wrote:
> I think I tripped across the cause of a minor warning in the chrome developer 
> tools console when running JSmol.
> 
> The warning is:
> 
> event.returnValue is deprecated. Please use the standard 
> event.preventDefault() instead.
> 
> In JSmol.full.js and JSmol.full.iite.js the following function seems to be 
> referencing this deprecated method:
> 
> jQuery.Event = function( src, props ) {
> // Allow instantiation without the 'new' keyword
> if ( !(this instanceof jQuery.Event) ) {
> return new jQuery.Event( src, props );
> }
> 
> // Event object
> if ( src && src.type ) {
> this.originalEvent = src;
> this.type = src.type;
> 
> // Events bubbling up the document may have been marked as prevented
> // by a handler lower down the tree; reflect the correct value.
> this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false 
> ||
> src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse;
> 
> // Event type
> } else {
> this.type = src;
> }
> 
> 
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works.
> Faster operations. Version large binaries.  Built-in WAN optimization and the
> freedom to use Git, Perforce or both. Make the move to Perforce.
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
> 
> 
> 
> 
> -- 
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
> 
> 
> If nature does not answer first what we want,
> it is better to take what answer we get. 
> 
> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
> 
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works. 
> Faster operations. Version large binaries.  Built-in WAN optimization and the
> freedom to use Git, Perforce or both. Make the move to Perforce.
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk_______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to