Browse Source

Moved examples to website/src/examples

Harry Hedger 9 years ago
parent
commit
ae8040f6dd

+ 0 - 0
examples/dropbox/static/js/app.js → website/src/examples/dropbox/static/js/app.js


+ 1 - 1
website/src/examples/index.md

@@ -45,7 +45,7 @@ order: 0
   </footer>
 
 <!-- Include the bundled app.js client -->
-<script src="static/js/app.js"></script>
+<script src="playground/static/js/app.js"></script>
 
 <!-- Apply the js client on a selector -->
 <script>

+ 0 - 0
examples/playground/index.html → website/src/examples/playground/index.html


+ 0 - 0
examples/playground/package.json → website/src/examples/playground/package.json


+ 0 - 0
examples/playground/src/js/app.js → website/src/examples/playground/src/js/app.js


+ 0 - 0
examples/playground/static/css/.empty → website/src/examples/playground/static/css/.empty


+ 0 - 0
examples/playground/static/css/normalize.css → website/src/examples/playground/static/css/normalize.css


+ 0 - 0
examples/playground/static/css/skeleton.css → website/src/examples/playground/static/css/skeleton.css


+ 0 - 0
examples/playground/static/css/style.css → website/src/examples/playground/static/css/style.css


+ 0 - 0
examples/playground/static/css/uppy.css → website/src/examples/playground/static/css/uppy.css


+ 0 - 0
examples/playground/static/images/favicon.png → website/src/examples/playground/static/images/favicon.png


+ 0 - 0
examples/playground/static/js/.empty → website/src/examples/playground/static/js/.empty


+ 4 - 4
website/src/examples/playground/static/js/app.js

@@ -1021,9 +1021,9 @@ Response.prototype.setHeaderProperties = function(header){
 
 /**
  * Force given parser
- *
+ * 
  * Sets the body parser no matter type.
- *
+ * 
  * @param {Function}
  * @api public
  */
@@ -2002,7 +2002,7 @@ Emitter.prototype.hasListeners = function(event){
  * TODO: combatible error handling?
  */
 
-module.exports = function(arr, fn, initial){
+module.exports = function(arr, fn, initial){  
   var idx = 0;
   var len = arr.length;
   var curr = arguments.length == 3
@@ -2012,7 +2012,7 @@ module.exports = function(arr, fn, initial){
   while (idx < len) {
     curr = fn.call(null, curr, arr[idx], ++idx, arr);
   }
-
+  
   return curr;
 };
 },{}],14:[function(require,module,exports){