alanshaw / alanshaw/grunt-include-replace

Reference in multiple steps

Đang mở
#80 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
199
Fork
43
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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 :)_

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.