alanshaw / alanshaw/grunt-include-replace

Reference in multiple steps

Aperta
#80 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
199
Fork
43
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

It seems `grunt-include-replace` does not support deep reference.
The code below fails.
Does it have an update plan for this feature?

```html


  • @@a

  • @@b

  • @@c


```
```html

@@include('base.html', {
"a": @@a,
"b": @@b,
"c": "This is constant"})
```
```html

@@include('foo.html', {
"a": "This is constant",
"b": "This is constant"})
```

##### _P.S_
_Thanks for letting me enjoy replacing variables anyway :)_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.