Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1201 closed task (fixed)

[PATCH] Replace isUnit, isAnimal, ... with calls to hasClass

Reported by: leper Owned by: Jonathan Waller
Priority: If Time Permits Milestone: Alpha 10
Component: Core engine Keywords:
Cc: Patch:

Description

input.js, unit_commands.js and utility_functions.js use functions like isUnit that duplicate the functionality of hasClass introduced by [11279].

Attachments (1)

hasClass.patch (4.4 KB ) - added by leper 12 years ago.

Download all attachments as: .zip

Change History (4)

by leper, 12 years ago

Attachment: hasClass.patch added

comment:1 by leper, 12 years ago

Keywords: review added

comment:2 by Jonathan Waller, 12 years ago

Owner: set to Jonathan Waller
Resolution: fixed
Status: newclosed

In 11365:

Replace isUnit, isAnimal, ... with calls to hasClass using patch from leper. Fixes #1201.

comment:3 by Jonathan Waller, 12 years ago

Keywords: review removed

Thanks for the patch.

Note: See TracTickets for help on using tickets.