Comments (4)
according to #115 the jade dependency has been upgraded to jade v1.11.0, which supports block unbuffered code, however I am still getting errors with such code in my projects. I am using harp v0.20.1. any news on this?
from terraform.
This may have been merged in terraform but I'm not sure the terraform bump is merged in harp yet. You'd have to look at the current release of harp and check which terraform release the package is pointing to.
OTOH if it's in and you're still having trouble it could be because the syntax is quite strict. You have to put a single -
followed by a \n
, and then indent your block, and make sure something is written on the first line of the indented block. If there's a space or anything else after your -
character it won't work, and if the first line of your code block is empty it will also fail
-
// js code will work here only if previous line has no space after the '-' character
// ... and only if there's no empty line after the '-' character
function hello() { return 'hello world'; }
from terraform.
The syntax is exactly correct; it's not an issue with that.
It looks like #115 has been merged into master (see b7072dd) before v1.0.0 so no work needs to be done on terraform. But harp still needs to upgrade to terraform v1.0.0 which is covered here: sintaxi/harp#526
from terraform.
Yeah that's what I figured, I just mentioned the possible syntax issue cause it's bitten me a few times. That PR re upgrading harp to terraform v1.0.0 has been in the queue for a while. I have the impression the maintainers are intending a major release of harp that will bundle a bunch of new features at once. In the meantime I've been using my forked version of harp with good success for a while. It merges some of the recent PRs must mainly just points to my fork of terraform, where I've merged a lot of the PRs that are currently in the queue over there, as well as my own features. I just npm link
them on my own systems so I can tweak them both as I go.
from terraform.
Related Issues (20)
- Foundation cannot be processed with harp HOT 1
- Sass Library Support HOT 1
- helpers.dataTree *very* slow
- Can write plugins? HOT 1
- Enable PR webhook for Windows tests
- Duplicate minification of Browserified files, prevents JSX, other Browserify transforms
- Proposal Add: PUG Support because jade is depricated
- FYI: Name conflict with devops tool HOT 1
- query `@supports` not supported
- Bump node-sass to latest version. HOT 5
- Upgrading coffeescript? HOT 2
- Inlining Javascript/Stylesheets HOT 4
- Bump autoprefixer dependency. Also, an option to configure and/or disable it? HOT 4
- Unable to install it on windows 8 HOT 10
- Allow customization of processor HOT 1
- Remove dependency on node-sass HOT 4
- Update node-sass dep to 3.0.0-beta HOT 3
- support typescript
- Optional minification & uglification HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform.