Skip to content

Commit

Permalink
Merge pull request #16 from e-jigsaw/update-riot
Browse files Browse the repository at this point in the history
Update riot
  • Loading branch information
e-jigsaw committed Jan 30, 2015
2 parents f4bdc09 + 86a0ce9 commit f5067a4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ gulp.task 'riot', ->
* Run expressions trough parser defined with `--type`
* type: `String, coffeescript | cs | es6 | none`
* JavaScript parser
* template: `String, jade`
* Template parser
* See more: https://muut.com/riotjs/compiler.html

# Installation
Expand Down
2 changes: 1 addition & 1 deletion build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

through = require('through2');

compile = require('riot/compiler/compiler').compile;
compile = require('riot').compile;

module.exports = function(opts) {
var transform;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"license": "MIT",
"dependencies": {
"gulp-util": "3.0.2",
"riot": "2.0.5",
"riot": "2.0.7",
"through2": "0.6.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.coffee
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gutil = require 'gulp-util'
through = require 'through2'
{compile} = require 'riot/compiler/compiler'
{compile} = require 'riot'

module.exports = (opts)->
transform = (file, encoding, callback)->
Expand Down

0 comments on commit f5067a4

Please sign in to comment.