Skip to content

Commit 5744ba1

Browse files
authored
Merge pull request #125 from wmde/release090maybe
Release 0.9.0
2 parents 483edc4 + 8de1b4f commit 5744ba1

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ On [Packagist](https://packagist.org/packages/data-values/javascript):
1111

1212
## Release notes
1313

14-
### 0.9.0 (dev)
14+
### 0.9.0 (2017-09-06)
1515
* Removed `valueFormatters.ValueFormatterStore`.
16+
* Removed the `options` constructor parameter as well as the `getOptions` method from
17+
`valueFormatters.ValueFormatter`.
18+
* Removed `dataValues.DataValue.getSortKey` from the interface and all implementations.
1619
* Removed `dataValues.TimeValue.getYear`, `getMonth`, `getDay`, `getHour`, `getMinute`, and
1720
`getSecond`.
18-
* Removed `dataValues.DataValue.getSortKey` from the interface and all implementations.
1921
* Removed `globeCoordinate.GlobeCoordinate.iso6709`.
2022
* Declared `globeCoordinate.GlobeCoordinate.getDecimal` private.
2123

tests/lib/globeCoordinate/globeCoordinate.GlobeCoordinate.tests.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@ define( [
1717
assert.expect( 9 );
1818
var c;
1919

20-
assert['throws'](
20+
assert.throws(
2121
function() { c = new globeCoordinate.GlobeCoordinate( '' ); },
2222
'Trying to instantiate with an empty value throws an error.'
2323
);
2424

25-
assert['throws'](
25+
assert.throws(
2626
function() { c = new globeCoordinate.GlobeCoordinate( 'some string' ); },
2727
'Trying to instantiate with an invalid value (some string) throws an error.'
2828
);
2929

30-
assert['throws'](
30+
assert.throws(
3131
function() { c = new globeCoordinate.GlobeCoordinate( '190° 30" 1.123\'' ); },
3232
'Trying to instantiate with an invalid value (190° 30" 1.123\') throws an error.'
3333
);
3434

35-
assert['throws'](
35+
assert.throws(
3636
function() { c = new globeCoordinate.GlobeCoordinate( { latitude: 20 } ); },
3737
'Trying to instantiate with an invalid value ({ latitude: 20 }) throws an error.'
3838
);

tests/src/valueParsers/ValueParserStore.tests.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ define( [
6565
QUnit.test( 'registerDataTypeParser(): Error handling', function( assert ) {
6666
var parserStore = new vp.ValueParserStore();
6767

68-
assert['throws'](
68+
assert.throws(
6969
function() {
7070
parserStore.registerDataTypeParser( 'invalid', stringType.getId() );
7171
},
@@ -74,7 +74,7 @@ define( [
7474

7575
parserStore.registerDataTypeParser( StringParser, stringType.getId() );
7676

77-
assert['throws'](
77+
assert.throws(
7878
function() {
7979
parserStore.getParser( stringType );
8080
},
@@ -85,7 +85,7 @@ define( [
8585
QUnit.test( 'registerDataValueParser(): Error handling', function( assert ) {
8686
var parserStore = new vp.ValueParserStore();
8787

88-
assert['throws'](
88+
assert.throws(
8989
function() {
9090
parserStore.registerDataValueParser( 'invalid', StringValue.TYPE );
9191
},
@@ -94,7 +94,7 @@ define( [
9494

9595
parserStore.registerDataValueParser( StringParser, StringValue.TYPE );
9696

97-
assert['throws'](
97+
assert.throws(
9898
function() {
9999
parserStore.getParser( StringValue );
100100
},

tests/src/values/TimeValue.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ define( [
8989
for ( i = 0; i < invalidTimestamps.length; i++ ) {
9090
invalidTimestamp = invalidTimestamps[i];
9191

92-
assert['throws'](
92+
assert.throws(
9393
function() {
9494
dv.TimeValue( invalidTimestamp );
9595
},

0 commit comments

Comments
 (0)