Skip to content

Commit ff4a760

Browse files
- Updating imports;
- Not using Travis CI anymore.
1 parent 7835cc5 commit ff4a760

File tree

4 files changed

+16
-20
lines changed

4 files changed

+16
-20
lines changed

.travis.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ If you write pre-2015 JS code, make adjustments as needed.
4444

4545
### Breaking Changes
4646

47-
Until version 0.17, use like the example below:
47+
Until version 0.11.7, use like the example below:
4848

4949
```js
5050
import { xsltProcess, xmlParse } from 'xslt-processor'

src/xpathdebug.ts

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,30 @@
77
import { XNode } from './dom';
88
import {
99
ExprContext,
10-
StringValue,
11-
BooleanValue,
12-
NumberValue,
13-
NodeSetValue,
14-
TokenExpr,
15-
LocationExpr,
16-
StepExpr,
1710
NodeTestName,
1811
NodeTestNC,
1912
NodeTestComment,
2013
NodeTestPI,
2114
NodeTestText,
2215
NodeTestElementOrAttribute,
23-
NodeTestAny,
24-
PredicateExpr,
25-
FunctionCallExpr,
26-
UnionExpr,
27-
PathExpr,
28-
FilterExpr,
29-
UnaryMinusExpr,
16+
NodeTestAny
17+
} from './xpath';
18+
import {
3019
BinaryExpr,
20+
FilterExpr,
21+
FunctionCallExpr,
3122
LiteralExpr,
23+
LocationExpr,
3224
NumberExpr,
25+
PathExpr,
26+
PredicateExpr,
27+
StepExpr,
28+
TokenExpr,
29+
UnaryMinusExpr,
30+
UnionExpr,
3331
VariableExpr
34-
} from './xpath';
32+
} from './xpath/expressions';
33+
import { StringValue, NumberValue, BooleanValue, NodeSetValue } from './xpath/values';
3534

3635
export let parseTree = function (expr, indent) {
3736
let ret;

tests/template-precedence.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import assert from 'assert';
44
import { dom } from 'isomorphic-jsx';
55
import React from 'react';
66

7-
import { xmlParse } from '..'
87
import { Xslt } from '../src/xslt';
8+
import { xmlParse } from '../src/dom/functions';
99

1010
// Just touching the `dom`, otherwise Babel prunes the import.
1111
console.log(dom);

0 commit comments

Comments
 (0)