Skip to content

Commit

Permalink
updated to version 0.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
orizens committed Dec 7, 2017
1 parent 7369dba commit e487d72
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v 0.7.2 (2017/12/07)
* [FIX] - fix for ie11 - fix #157

## v 0.7.1 (2017/11/27)
* [FIX] - use html container if passed in #217 - fix #216

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-infinite-scroll",
"version": "0.7.1",
"version": "0.7.2",
"description": "An infinite scroll directive for Angular compatible with AoT compilation and Tree shaking",
"main": "./bundles/ngx-infinite-scroll.umd.js",
"module": "./modules/ngx-infinite-scroll.es5.js",
Expand Down
2 changes: 1 addition & 1 deletion src/services/ngx-ins-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function resolveContainerElement(
defaultElement,
fromRoot: boolean
): any {
const hasWindow = window && !!window.document;
const hasWindow = window && !!window.document && window.document.documentElement;
let container = hasWindow && scrollWindow ? window : defaultElement;
if (selector) {
const containerIsString =
Expand Down
13 changes: 9 additions & 4 deletions tsconfig-build.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,24 @@
"moduleResolution": "node",
"outDir": "dist",
"rootDir": ".",
/* inlineSourceMap: true for development */
// "inlineSourceMap": true,
"sourceMap": true,
"inlineSources": true,
"target": "es2015",
"skipLibCheck": true,
"lib": ["es2015", "dom"]
"lib": [
"es2015",
"dom"
]
},
"files": ["public_api.ts"],
"files": [
"public_api.ts"
],
"angularCompilerOptions": {
"skipTemplateCodegen": true,
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "ngx-infinite-scroll.js",
"flatModuleId": "ngx-infinite-scroll"
}
}
}

0 comments on commit e487d72

Please sign in to comment.