This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title></title> | |
<!-- Get the JS files from - https://github.com/XSockets/WebRTC --> | |
<script src="/Scripts/jquery-1.9.1.js"></script> | |
<script src="/Scripts/XSockets.latest.min.js"></script> | |
<script src="Client/Scripts/XSockets.WebRTC.latest.js"></script> | |
<script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using XSockets.Core.Common.Socket; | |
using XSockets.Core.Common.Socket.Event.Arguments; | |
using XSockets.Core.Common.Socket.Event.Attributes; | |
using XSockets.Core.XSocket; | |
using XSockets.Core.XSocket.Helpers; | |
using XSockets.Core.XSocket.Model; | |
namespace Chat.Controllers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@{ | |
ViewBag.Title = "Index"; | |
} | |
<h2>This is the RazorView for the RealtimeMVC Controller - XSocketsControllerBase<Foo> </h2> | |
<p>This is a realtime MVC Controller</p> | |
<div> | |
<input /><span></span> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using XSockets.Core.Common.Socket.Event.Arguments; | |
using XSockets.Core.XSocket; | |
using XSockets.Core.XSocket.Helpers; | |
namespace XSockets.Example.BinaryWrapper |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String.prototype.capitalize = function () { | |
return this.replace(/(^|\s)([a-z])/g, function (m, p1, p2) { | |
return p1 + p2.toUpperCase(); | |
}); | |
}; | |
var RTCPeerConnection = null; | |
var getUserMedia = null; | |
var attachMediaStream = null; | |
var reattachMediaStream = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Sandvik = Sandvik || { Utils: {} }; | |
Sandvik.Utils.VisibilityChange = (function() { | |
function ctor(cb) { | |
var self = this; | |
this.visibilityState = true; | |
var visProp = (function() { | |
var prefixes = ['webkit', 'moz', 'ms', 'o']; | |
if ('hidden' in document) return 'hidden'; | |
for (var i = 0; i < prefixes.length; i++) { | |
if ((prefixes[i] + 'Hidden') in document) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $ = function(selector,context) { | |
if (!context) context = document; | |
return context.querySelector(selector); | |
}; | |
window.requestAnimFrame = (function () { | |
return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || | |
function (callback) { | |
window.setTimeout(callback, 1000 / 60); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Old Guys Rule | Man Myth Legend</title> | |
<link href="css/default.css" rel="stylesheet" /> | |
<script> | |
var basePath = "/audio/"; | |
var Effects = {}; | |
</script> | |
</head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scenes.forEach(function (scene) { | |
scene.entity.push = scene.start; | |
engine.addEntity(scene.entity); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Custom Geo Binder</title> | |
</head> | |
<body> | |
<div id="app"> |
OlderNewer