summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorStephen Vance <steve@vance.com>2013-07-28 21:40:30 -0400
committerStephen Vance <steve@vance.com>2013-07-28 21:40:30 -0400
commit0188d4eda7d7d08309b6c73ffacfc9f2e08d1986 (patch)
treeac5b90456e06c8babff198bb749da54bf0b1d1fe /test
parent52028858d859ed5bebf20ca6dd6209571502c44c (diff)
downloadjQuery-Timepicker-Addon-0188d4eda7d7d08309b6c73ffacfc9f2e08d1986.zip
jQuery-Timepicker-Addon-0188d4eda7d7d08309b6c73ffacfc9f2e08d1986.tar.gz
jQuery-Timepicker-Addon-0188d4eda7d7d08309b6c73ffacfc9f2e08d1986.tar.bz2
Jshint motivated cleanups in the spec.
Diffstat (limited to 'test')
-rw-r--r--test/jquery-ui-timepicker-addon_spec.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/jquery-ui-timepicker-addon_spec.js b/test/jquery-ui-timepicker-addon_spec.js
index 1539475..c0cdc7b 100644
--- a/test/jquery-ui-timepicker-addon_spec.js
+++ b/test/jquery-ui-timepicker-addon_spec.js
@@ -59,11 +59,11 @@ describe('datetimepicker', function() {
});
it('should say object with a supplemental prototype property is empty', function() {
- var testObject = new Function();
+ var testObject = function () {};
testObject.prototype["prop"] = "something";
expect(util._isEmptyObject(testObject)).toBe(true);
- })
+ });
});
describe('convert24to12', function() {
@@ -288,11 +288,11 @@ describe('datetimepicker', function() {
millisec: 678,
microsec: 0
},
- inputDateTimeString = expectedDateString + ' '
- + expectedParsedTime.hour + ':'
- + expectedParsedTime.minute + ':'
- + expectedParsedTime.second + '.'
- + expectedParsedTime.millisec,
+ inputDateTimeString = expectedDateString + ' ' +
+ expectedParsedTime.hour + ':' +
+ expectedParsedTime.minute + ':' +
+ expectedParsedTime.second + '.' +
+ expectedParsedTime.millisec,
expectedDate = new Date(expectedDateString),
result;