Compare commits

..

1 Commits

Author SHA1 Message Date
Romain Beauxis
a8a8d25f6d Add application/javascript content_type to jst compiler. 2012-12-12 15:25:58 -06:00
3 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,4 @@
_This project is dead. You should use [Karma](http://karma-runner.github.io/) instead. I do._
_I am looking for a new maintainer for this project. Please contact me via GitHub if you're interested._
# Jasmine Headless WebKit runner

View File

@ -23,10 +23,6 @@
#include "Runner.h"
#if QT_VERSION >= QT_VERSION_CHECK(4, 8, 0)
#include <getopt.h>
#endif
#if QT_VERSION < QT_VERSION_CHECK(4, 7, 0)
#error Use Qt 4.7 or later version
#endif

View File

@ -3,6 +3,9 @@ require 'sprockets/jst_processor'
module Jasmine::Headless
class JSTTemplate < Sprockets::JstProcessor
include Jasmine::Headless::FileChecker
self.default_mime_type = 'application/javascript'
def evaluate(*args)
if bad_format?(file)
alert_bad_format(file)