Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: polymer_0.5.0/bower_components/marked/test/browser/index.js

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 var fs = require('fs'); 1 var fs = require('fs');
2 2
3 var test = require('../') 3 var test = require('../')
4 , runTests = test.runTests 4 , runTests = test.runTests
5 , load = test.load; 5 , load = test.load;
6 6
7 var express = require('express') 7 var express = require('express')
8 , app = express(); 8 , app = express();
9 9
10 app.use(function(req, res, next) { 10 app.use(function(req, res, next) {
(...skipping 21 matching lines...) Expand all
32 test = test.replace('__MAIN__', runTests + ''); 32 test = test.replace('__MAIN__', runTests + '');
33 33
34 res.contentType('.js'); 34 res.contentType('.js');
35 res.send(test); 35 res.send(test);
36 }); 36 });
37 37
38 app.use(express.static(__dirname + '/../../lib')); 38 app.use(express.static(__dirname + '/../../lib'));
39 app.use(express.static(__dirname)); 39 app.use(express.static(__dirname));
40 40
41 app.listen(8080); 41 app.listen(8080);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698