Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

incomplete progress example

  • Loading branch information...
commit 2b433c3c0baac962878e784edd3cf296921b6491 1 parent e5653a3
@substack authored
View
8 example/progress/index.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <script type="text/javascript" src="/browserify.js"></script>
+ </head>
+ <body>
+ <div id="p"></div>
+ </body>
+</html>
View
6 example/progress/main.js
@@ -0,0 +1,6 @@
+var progressify = require('progressify');
+var $ = require('jquery');
+
+$(window).ready(function () {
+
+});
View
12 example/progress/server.js
@@ -0,0 +1,12 @@
+var express = require('express');
+var app = express.createServer();
+app.use(express.static(__dirname));
+
+var browserify = require('browserify');
+app.use(browserify({
+ require : { jquery : 'jquery-browserify' },
+ entry : 'main.js'
+}));
+app.use(require('progressify'));
+
+app.listen(8080);
Please sign in to comment.
Something went wrong with that request. Please try again.