mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
comments about other registerSourceHandler calls
This commit is contained in:
@@ -4,6 +4,9 @@ var nib = Npm.require('nib');
|
||||
var path = Npm.require('path');
|
||||
var Future = Npm.require('fibers/future');
|
||||
|
||||
// XXX BBP probably rewrite to registerCompiler even if we can't implement
|
||||
// good @imports because stylus doesn't let you override @import processing.
|
||||
// (maybe deprecate this package? put out a call for PRs?)
|
||||
Plugin.registerSourceHandler("styl", {archMatching: 'web'}, function (compileStep) {
|
||||
var f = new Future;
|
||||
stylus(compileStep.read().toString('utf8'))
|
||||
|
||||
@@ -43,6 +43,7 @@ var doHTMLScanning = function (compileStep, htmlScanner) {
|
||||
}
|
||||
};
|
||||
|
||||
// XXX BBP rewrite to registerCompiler
|
||||
Plugin.registerSourceHandler(
|
||||
"html", {isTemplate: true, archMatching: 'web'},
|
||||
function (compileStep) {
|
||||
|
||||
Reference in New Issue
Block a user