Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Commit

Permalink
feat(to-string): Use better toString() implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Mar 16, 2017
1 parent 6ede515 commit 34a151f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"version": "0.2.0",
"description": "Register custom URLs for your NativeScript app",
"scripts": {
"clean": "npm i rimraf && rimraf node_modules lib hooks platforms target '*.js' '*.js.map' 'app/**/*.js' 'app/**/*.js.map' && npm i",
"preclean": "npm i rimraf",
"clean": "rimraf node_modules lib hooks platforms target '*.js' '*.js.map' 'app/**/*.js' 'app/**/*.js.map' && npm i",
"postclean": "npm i",
"prebuild": "npm run tslint",
"build": "npm run tsc",
"tsc": "tsc",
Expand Down
3 changes: 2 additions & 1 deletion urlhandler.common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ export function extractAppURL(urlParam: any): AppURL {
}
return {
params: params,
path: path
path: path,
toString: () => url
};
} else {
return null;
Expand Down

0 comments on commit 34a151f

Please sign in to comment.