Permalink
Browse files

Cleared out lots of the old files

  • Loading branch information...
1 parent 43f58b4 commit 9c44da8864b8e9b6a1331ac6c929dd90a1090cc6 @robrighter committed Dec 29, 2011
View
@@ -1,13 +0,0 @@
-[submodule "lib/Socket.IO"]
- path = lib/Socket.IO
- url = http://github.com/LearnBoost/Socket.IO.git
-[submodule "lib/Socket.IO-node"]
- path = lib/Socket.IO-node
- url = http://github.com/LearnBoost/Socket.IO-node.git
-[submodule "lib/express"]
- path = lib/express
- url = http://github.com/visionmedia/express.git
-
-[submodule "lib/html5-boilerplate"]
- path = lib/html5-boilerplate
- url = http://github.com/robrighter/html5-boilerplate.git
Submodule Socket.IO deleted from 69991b
Submodule Socket.IO-node deleted from a91c6f
Submodule express deleted from cdc463
Submodule html5-boilerplate deleted from c64518
View
@@ -1,72 +0,0 @@
-//Setup.js created by Ben Weaver (http://gist.github.com/508314)
-
-var fs = require('fs'),
- path = require('path');
-
-exports.app = app;
-exports.lib = lib;
-exports.ext = ext;
-exports.run = run;
-
-
-/// --- Methods
-
-var run = require;
-
-// A shortcut for adding `lib' and `ext' subfolders, then running a
-// main program.
-function app(base, main) {
- lib(path.join(base, 'lib'));
- ext(path.join(base, 'ext'));
- return main ? run(path.join(base, main)) : exports;
-}
-
-// Local libraries
-function lib(folder) {
- if (exists(folder))
- require.paths.unshift(folder);
- return exports;
-}
-
-// Third-party libraries
-function ext(folder) {
- if (!exists(folder))
- return exports;
-
- // Some programmers refer to third-party libraries in a fully-qualified manner.
- require.paths.unshift(folder);
-
- fs.readdirSync(folder).forEach(function(name) {
- var base = path.join(folder, name),
- linked = false;
-
- // Pure-JS packages have a `lib' folder with LIBRARY.js files in it.
- // Packages with C++ bindings will have a `build/default' folder
- // with LIBRARY.node files in it after running node-waf.
- [path.join(base, '/build/default'), path.join(base, '/lib')]
- .forEach(function(folder) {
- if (exists(folder)) {
- require.paths.unshift(folder);
- linked = true;
- }
- });
-
- // If neither `lib' or `build' were found, fallback to linking the
- // folder itself.
- if (!linked)
- require.paths.unshift(base);
- });
- return exports;
-}
-
-
-/// --- Aux
-
-function exists(filename) {
- try {
- fs.statSync(filename);
- return true;
- } catch (x) {
- return false;
- }
-}
View
@@ -1,40 +0,0 @@
-
-// remap jQuery to $
-(function($){
-
-
-
-
-
-
-
-
-
-
-
-})(window.jQuery);
-
-
-
-// usage: log('inside coolFunc',this,arguments);
-// paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/
-window.log = function(){
- log.history = log.history || []; // store logs to an array for reference
- log.history.push(arguments);
- if(this.console){
- console.log( Array.prototype.slice.call(arguments) );
- }
-};
-
-
-
-// catch all document.write() calls
-(function(doc){
- var write = doc.write;
- doc.write = function(q){
- log('document.write(): ',arguments);
- if (/docwriteregexwhitelist/.test(q)) write.apply(doc,arguments);
- };
-})(document);
-
-
View
View
@@ -1,44 +0,0 @@
-/* Author:
-
-*/
-
-$(document).ready(function() {
-
- io.setPath('/client/');
- socket = new io.Socket(null, {
- port: 8081
- ,transports: ['websocket', 'htmlfile', 'xhr-multipart', 'xhr-polling']
- });
- socket.connect();
-
- $('#sender').bind('click', function() {
- socket.send("Message Sent on " + new Date());
- });
-
- socket.on('message', function(data){
- $('#reciever').append('<li>' + data + '</li>');
- });
-
- });
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
View
Oops, something went wrong.

0 comments on commit 9c44da8

Please sign in to comment.