File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed
Expand file tree Collapse file tree 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 {
5555 async renderTurboStream ( ) {
5656 if ( this . isTurboStream ) {
5757 if ( window . Turbo ) {
58- Turbo . renderStreamMessage ( await this . text )
58+ window . Turbo . renderStreamMessage ( await this . text )
5959 } else {
6060 console . warn ( 'You must set `window.Turbo = Turbo` to automatically process Turbo Stream events with request.js' )
6161 }
Original file line number Diff line number Diff line change 11import { FetchRequest } from './fetch_request'
22import { FetchResponse } from './fetch_response'
33
4- export { FetchRequest , FetchResponse }
4+ export { FetchRequest , FetchResponse }
You can’t perform that action at this time.
0 commit comments