Skip to content

Commit

Permalink
Fixed broken template literal syntax in getResolveValue. (#2951)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlie-s authored and christopherthielen committed Sep 5, 2016
1 parent b8c6146 commit faf7bc5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/transition/transition.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/** @module transition */ /** for typedoc */
import {stringify} from "../common/strings";
import {trace} from "../common/trace";
import {services} from "../common/coreservices";
import {
Expand Down Expand Up @@ -257,7 +258,7 @@ export class Transition implements IHookRegistry {
const getData = (token: any) => {
var resolvable = resolveContext.getResolvable(token);
if (resolvable === undefined) {
throw new Error("Dependency Injection token not found: ${stringify(token)}");
throw new Error(`Dependency Injection token not found: ${stringify(token)}`);
}
return resolvable.data;
};
Expand Down Expand Up @@ -580,4 +581,4 @@ export class Transition implements IHookRegistry {

return `Transition#${id}( '${from}'${fromParams} -> ${toValid}'${to}'${toParams} )`;
}
}
}

0 comments on commit faf7bc5

Please sign in to comment.