This file contains 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
package uk.org.backstage; | |
import com.vaadin.annotations.VaadinServletConfiguration; | |
import com.vaadin.data.Container; | |
import com.vaadin.data.util.IndexedContainer; | |
import com.vaadin.event.ItemClickEvent; | |
import com.vaadin.event.ShortcutAction; | |
import com.vaadin.server.VaadinRequest; | |
import com.vaadin.server.VaadinServlet; | |
import com.vaadin.ui.Button; |
This file contains 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
module.exports.ChatClient = function () { | |
if (module.exports.ChatClient.instance) { | |
return module.exports.ChatClient.instance; | |
} | |
module.exports.ChatClient.instance = this; | |
this.host = null; | |
this.welcomeTime = 0; | |
var interval = null; |
This file contains 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
// guarantee fresh data on the first-loaded page (stays cached in DOM) | |
// see https://github.com/jquery/jquery-mobile/issues/4050 | |
$(document).on('pagebeforechange', function(event, data) { | |
var $all_pages = $.mobile.pageContainer.find(':jqmData(role="page")'), | |
$cur_page = $.mobile.activePage, | |
$first_page, // unenhanced if fresh load of URL w/ hash in browser w/o pushSate support | |
first_page_data, | |
toPage_type, | |
root_url, | |
nav_urls; |
This file contains 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
(function (window, document, $, undefined) { | |
if (!$.Deferred) throw 'jQuery 1.5 is required to use the jQuery.oauth script!'; | |
function require(name, url) { | |
if (window[name] === undefined) | |
return $.ajax({ type: 'GET', cache: true, dataType: 'script', url: url }); | |
} | |
$.oauth = function (options) { | |
var d = $.Deferred(); |
This file contains 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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |