Skip to content

Commit

Permalink
remove useAnchor, its unused
Browse files Browse the repository at this point in the history
  • Loading branch information
Swatinem committed Dec 7, 2016
1 parent ecf05ad commit 2df6ef0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion compiler/generate/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ export default function generate ( parsed, source, options, names ) {
}

generator.push({
useAnchor: false,
name: 'renderMainFragment',
namespace: null,
target: 'target',
Expand Down
1 change: 0 additions & 1 deletion compiler/generate/visitors/Component.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export default {

// {{YIELD STUFF}}
generator.push({
useAnchor: true,
name: yieldName,
target: 'target',
localElementDepth: 0,
Expand Down
2 changes: 0 additions & 2 deletions compiler/generate/visitors/EachBlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ export default {

if ( node.else ) {
generator.push({
useAnchor: false,
name: renderElse,
target: 'target',
localElementDepth: 0,
Expand Down Expand Up @@ -138,7 +137,6 @@ export default {
const blockParams = generator.current.params + `, ${listName}, ${node.context}, ${indexName}`;

generator.push({
useAnchor: false,
name: renderer,
target: 'target',
expression: node.expression,
Expand Down
1 change: 0 additions & 1 deletion compiler/generate/visitors/IfBlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import deindent from '../utils/deindent.js';
function generateBlock ( generator, node, name ) {
// walk the children here
generator.push({
useAnchor: true,
name,
target: 'target',
localElementDepth: 0,
Expand Down

0 comments on commit 2df6ef0

Please sign in to comment.