Created
March 25, 2014 00:23
-
-
Save doctyper/9752355 to your computer and use it in GitHub Desktop.
Browserify + Ractify + Plugin Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
"use strict"; | |
// Ractive | |
var Ractive = require("ractive"); | |
require("ractive-transitions-slide"); | |
console.log(Ractive.transitions); | |
var Test = require("./test.ract"); | |
var test = new Test({ | |
el: document.body, | |
data: { | |
foo: "foo" | |
} | |
}); | |
}()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "foo", | |
"version": "0.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "", | |
"license": "ISC", | |
"dependencies": { | |
"ractify": "^0.3.3", | |
"ractive": "^0.4.0-pre2", | |
"browserify": "^3.33.0", | |
"ractive-transitions-slide": "https://github.com/RactiveJS/Ractive-transitions-slide/tarball/master" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<script src="bundle.js"></script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div intro-outro="slide">TEST {{foo}}</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Generated using the following command:
Output: