File tree 3 files changed +21
-2
lines changed
3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ qa :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ - uses : actions/setup-node@v2
11
+ with :
12
+ node-version : ' 12'
13
+ - uses : actions/cache@v2
14
+ with :
15
+ path : node_modules
16
+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
17
+ - run : yarn install
18
+ - name : Lint
19
+ run : yarn lint
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export class FetchResponse {
55
55
async renderTurboStream ( ) {
56
56
if ( this . isTurboStream ) {
57
57
if ( window . Turbo ) {
58
- Turbo . renderStreamMessage ( await this . text )
58
+ window . Turbo . renderStreamMessage ( await this . text )
59
59
} else {
60
60
console . warn ( 'You must set `window.Turbo = Turbo` to automatically process Turbo Stream events with request.js' )
61
61
}
Original file line number Diff line number Diff line change 1
1
import { FetchRequest } from './fetch_request'
2
2
import { FetchResponse } from './fetch_response'
3
3
4
- export { FetchRequest , FetchResponse }
4
+ export { FetchRequest , FetchResponse }
You can’t perform that action at this time.
0 commit comments