From 76622cd99cf671531cfa21c5d6243f3e4e185116 Mon Sep 17 00:00:00 2001 From: Jez Ng Date: Mon, 29 Oct 2012 17:56:32 -0400 Subject: Convert strings to numbers when saving options page. This avoids the need to continually re-parse the strings each time we load the option value. --- tests/unit_tests/settings_test.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/unit_tests/settings_test.coffee b/tests/unit_tests/settings_test.coffee index f86d63dc..4599ff03 100644 --- a/tests/unit_tests/settings_test.coffee +++ b/tests/unit_tests/settings_test.coffee @@ -1,7 +1,7 @@ require "./test_helper.js" {Utils} = require "../../lib/utils.js" -Utils.getCurrentVersion = -> '1.39' +Utils.getCurrentVersion = -> '1.42' global.localStorage = {} {Settings} = require "../../background_scripts/settings.js" -- cgit v1.2.3