Skip to content

Commit

Permalink
Fix preload the Response classes
Browse files Browse the repository at this point in the history
  • Loading branch information
nhat-phan committed Oct 24, 2018
1 parent 0774015 commit f19d530
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dist/lib/http/response/ResponseFactory.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
/// <reference path="../../contracts/Response.d.ts" />
/// <reference path="../../contracts/ViewResponse.d.ts" />
/// <reference path="../../contracts/ResponseFactory.d.ts" />
import './BackResponse';
import './JsonpResponse';
import './JsonResponse';
import './RedirectResponse';
import './ViewResponse';
import { Facade } from 'najs-facade';
export declare class ResponseFactory extends Facade implements Najs.Contracts.ResponseFactory {
static className: string;
Expand Down
5 changes: 5 additions & 0 deletions dist/lib/http/response/ResponseFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
/// <reference path="../../contracts/ViewResponse.ts" />
/// <reference path="../../contracts/ResponseFactory.ts" />
Object.defineProperty(exports, "__esModule", { value: true });
require("./BackResponse");
require("./JsonpResponse");
require("./JsonResponse");
require("./RedirectResponse");
require("./ViewResponse");
const najs_binding_1 = require("najs-binding");
const najs_facade_1 = require("najs-facade");
const constants_1 = require("../../constants");
Expand Down
5 changes: 5 additions & 0 deletions lib/http/response/ResponseFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
/// <reference path="../../contracts/ViewResponse.ts" />
/// <reference path="../../contracts/ResponseFactory.ts" />

import './BackResponse'
import './JsonpResponse'
import './JsonResponse'
import './RedirectResponse'
import './ViewResponse'
import { make, register } from 'najs-binding'
import { Facade } from 'najs-facade'
import { Najs } from '../../constants'
Expand Down

0 comments on commit f19d530

Please sign in to comment.