Skip to content

Commit

Permalink
refactor: finalize @debugger tag
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Mar 26, 2020
1 parent 6879174 commit 95df053
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Tags/Debugger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,14 @@ import { TagContract } from '../Contracts'

/**
* Add debugger break point to the compiled template
*
* ```edge
* @debugger
* ```
*/
export const debuggerTag: TagContract = {
block: false,
seekable: false,
tagName: 'debugger',

/**
* Compiles else block node to Javascript else statement
* Compiles `@debugger` tags
*/
compile (_, buffer, token) {
buffer.writeExpression('debugger', token.filename, token.loc.start.line)
Expand Down

0 comments on commit 95df053

Please sign in to comment.