aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThe_Fly <richardassar@googlemail.com>2012-03-02 02:12:41 +0000
committerThe_Fly <richardassar@googlemail.com>2012-03-02 02:12:41 +0000
commit813091250ed60da609792fc2c277f4bee01cb52b (patch)
tree7a92c964f2ec47c66447d0b49fe325dd08794903
parentc2a43827ae0eb5c2f1084795acb315c02209524f (diff)
Tweak to deal with ===
-rw-r--r--tools/ie7_fix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ie7_fix.py b/tools/ie7_fix.py
index b7d2a766..3cdabb07 100644
--- a/tools/ie7_fix.py
+++ b/tools/ie7_fix.py
@@ -9,6 +9,6 @@ outputFilename = sys.argv[2];
inputFiledata = open(inputFilename).read()
outputFile = open(outputFilename, "w")
-outputFile.write(re.sub('type\[type.length - 1\] == "\*"', 'type.charAt(type.length - 1) == "*"', inputFiledata))
+outputFile.write(re.sub('type\[type.length - 1\] ===? "\*"', 'type.charAt(type.length - 1) == "*"', inputFiledata))
outputFile.close()