code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | JavaScript |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | JavaScript |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | JavaScript |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | JavaScript |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | JavaScript |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | JavaScript |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | JavaScript |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | JavaScript |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | JavaScript |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | JavaScript |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | JavaScript |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | JavaScript |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | JavaScript |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | JavaScript |
// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
| JavaScript |
(function() {
// Technique from Juriy Zaytsev
// http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/
function isEventSupported(eventName) {
var el = document.createElement('div');
eventName = 'on' + eventName;
var isSupported = (eventName in el);
if (!isSuppor... | JavaScript |
/*
* Generates Tag Cloud
*
* tagcloud.js
* An extension of jQuery which generates tag clouds
*
* Copyright (C) 2010 Pranav Prakash (pranav@myblive.com)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fre... | JavaScript |
function altaDepartamento(){
if(!validaAltaDepartamento())
return false;
$.ajax(
{
type: "POST",
url: "altaDepartamento",
async: false,
dataType: "text",
data: $('#altaDepartamento').serialize(),
beforeSend: function(){
... | JavaScript |
$(document).ready(index);
function index() {
$('#menuDepartamentos').click({param1: "buscarDepartamentos"}, changePage);
$('#menuLogin').click({param1: "gestionLogin"}, changePage);
$('#menuDispositivo').click({param1: "buscarDispositivos"}, changePage);
$('#menuEmpleados').click({param1: "gestionEmple... | JavaScript |
function buscarModeloP(){
if($("#buscar").val().length===0){
return;
}
$.ajax(
{
type: "GET",
url: "buscarModelo2",
async: false,
dataType: "text",
data: "buscar="+$("#buscar").val(),
beforeSend: function(){
},
... | JavaScript |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
function altaComponente(){
if(!validaAltaComponente())
return false;
$.ajax(
{
type: "POST",
url: "altaComponente2",
async: false,
dataType: "text",
data: $('#altaComponen... | JavaScript |
function altaDispositivo(){
if(!validaAltaDispositivo())
return false;
$.ajax(
{
type: "GET",
url: "altaDispositivo",
async: false,
dataType: "text",
data: $('#formComp').serialize()+"&departamento="+$("#departamento").val()
+"&lo... | JavaScript |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
function eliminarSoftwareP(){
id = $(this).closest('tr').attr("id");
if(!confirm("Seguro que desea eliminar el software "+ id))
return;
$.ajax(
{
type: "GET",
url: "eliminar... | JavaScript |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
function altaSolucion(){
option = $('#tipoSolucion').val();
if(option=="RFC" && !validaAltaSolucion3()){
return false;
}
if(option=="SN" && !validaAltaSolucion1()){
return false;
}
... | JavaScript |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
function altaCambioComponente(){
if(!validaAltaCambioComponente())
return false;
$.ajax(
{
type: "GET",
url: "altaCambioComponente",
async: false,
dataType: "text",
... | JavaScript |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
function agregarTicket(){
$("#tablaTicket").hide();
$.ajax(
{
type: "GET",
url: "altaTicketPre",
async: false,
dataType: "text",
beforeSend: function(){
... | JavaScript |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
$(document).ready(index);
function index() {
$('#menuTicket').click({param1: "gestionTicket"}, changePage);
$('#menuProblemas').click({param1: "gestionProblemas"}, changePage);
$('#menuCambios').click({... | JavaScript |
/**
* @author trixta
*/
(function($){
$.bind = function(object, method){
var args = Array.prototype.slice.call(arguments, 2);
if(args.length){
return function() {
var args2 = [this].concat(args, $.makeArray( arguments ));
return method.apply(object, args2);
};
} else {
return function() {
var args2... | JavaScript |
/*
* jQuery selectbox plugin
*
* Copyright (c) 2007 Sadri Sahraoui (brainfault.com)
* Licensed under the GPL license and MIT:
* http://www.opensource.org/licenses/GPL-license.php
* http://www.opensource.org/licenses/mit-license.php
*
* The code is inspired from Autocomplete plugin (http://www.dyve.n... | JavaScript |
/* Copyright (c) 2007 Paul Bakaus (paul.bakaus@googlemail.com) and Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* $LastChangedDate: 2007... | JavaScript |
/*
* jQuery Tooltip plugin 1.2
*
* http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/
* http://docs.jquery.com/Plugins/Tooltip
*
* Copyright (c) 2006 - 2008 Jörn Zaefferer
*
* $Id: jquery.tooltip.js 4569 2008-01-31 19:36:35Z joern.zaefferer $
*
* Dual licensed under the MIT and GPL licenses:
* ht... | JavaScript |
/*
* jQuery UI 1.7.1
*
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* http://docs.jquery.com/UI
*/
;jQuery.ui || (function($) {
var _remove = $.fn.remove,
isFF2 = $.browser.mozilla && (parseFloat($.browser.... | JavaScript |
/**
* Copyright (c) 2008 Kelvin Luck (http://www.kelvinluck.com/)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
* .
* $Id: jquery.datePicker.js 94 2010-01-25 02:25:27Z kelvin.luck $
**/
(functio... | JavaScript |
/**
* @author trixta
*/
(function($){
$.userMode = (function(){
var userBg,
timer,
testDiv,
boundEvents = 0;
function testBg(){
testDiv = testDiv || $('<div></div>').css({position: 'absolute', left: '-999em', top: '-999px', width: '0px', height: '0px'}).appendTo('body');
var black = $.curCSS(... | JavaScript |
/*
* jQuery selectbox plugin
*
* Copyright (c) 2007 Sadri Sahraoui (brainfault.com)
* Licensed under the GPL license and MIT:
* http://www.opensource.org/licenses/GPL-license.php
* http://www.opensource.org/licenses/mit-license.php
*
* The code is inspired from Autocomplete plugin (http://www.dyve.n... | JavaScript |
/*
* Style File - jQuery plugin for styling file input elements
*
* Copyright (c) 2007-2008 Mika Tuupola
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* Based on work by Shaun Inman
* http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_an... | JavaScript |
/*
* jQuery selectbox plugin
*
* Copyright (c) 2007 Sadri Sahraoui (brainfault.com)
* Licensed under the GPL license and MIT:
* http://www.opensource.org/licenses/GPL-license.php
* http://www.opensource.org/licenses/mit-license.php
*
* The code is inspired from Autocomplete plugin (http://www.dyve.ne... | JavaScript |
/**
* @author alexander.farkas
* @version 1.3
*/
(function($){
$.widget('ui.checkBox', {
_init: function(){
var that = this,
opts = this.options,
toggleHover = function(e){
if(this.disabledStatus){
return false;
}
that.hover = (e.type == 'focus' || e.ty... | JavaScript |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
function buscarTipo(){
if($("#buscar").val().length==0){
return;
}
$.ajax(
{
type: "GET",
url: "buscarTipo",
async: false,
dataType: "text",
data: "busc... | JavaScript |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
var ide = "hola jejje";
function buscarRed(){
if($("#buscar").val().length==0){
return;
}
$.ajax(
{
type: "GET",
url: "buscarRed",
async: false,
dataType: "te... | JavaScript |
function buscarMarcaP(){
if($("#buscar").val().length===0){
return;
}
$.ajax(
{
type: "GET",
url: "buscarMarcaP",
async: false,
dataType: "text",
data: "buscar="+$("#buscar").val(),
beforeSend: function(){
},
... | JavaScript |
function buscarLogin(){
if($("#buscar").val().length==0){
return;
}
$.ajax(
{
type: "GET",
url: "buscarLogin",
async: false,
dataType: "text",
data: "buscar="+$("#buscar").val(),
beforeSend: function(){
},
succ... | JavaScript |
function buscarEmpleado(){
if($("#buscar").val().length==0){
return;
}
$.ajax(
{
type: "GET",
url: "buscarEmpleado",
async: false,
dataType: "text",
data: "buscar="+$("#buscar").val(),
beforeSend: function(){
},
... | JavaScript |
/*
Arcana by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
(function ($) {
$(function () {
var $window = $(window), $body = $('body'), menu = $('#nav'), pos = menu.offset();
// Disable animations/transitions unti... | JavaScript |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
window.onload = function ()
{
setPage();
};
function extractPageName(hrefString)
{
var arr = hrefString.split('/');
retur... | JavaScript |
var preventTouchMove;
preventTouchMove = function(event) {
event.preventDefault();
};
var settingButton;
$(document).ready(function() {
initPage();
initTabs();
initImagesManagement();
initGlobalFooter ();
});
function initPage (){
settingButton = $('#div_global_setting img');
settingButton.bin... | JavaScript |
var time_to_swap_image = 150;
function initImagesManagement (){
$('.img_normal').live(
'vmousedown',
function() {
if ($(this).attr("data-enable") == "true") {
changeImagePath($(this), $(this).attr('data-highlight-image'));
}
});
$('.img_normal').live(
'vmouseup',
function(... | JavaScript |
var homeNetworkSubTab;
var playlistSubTab;
var internetSubTab;
var currentSubTab = "homenetwork";
var currentTab = "library";
function initTabs (){
setPaddingBottomCSS(getFooterHeight(true) + 'px'); //call from globalFooter.js
homeNetworkSubTab = $('#div_content_homenetwork');
playlistSubTab = $('#div... | JavaScript |
var btn_footerControler;
var dmrController;
var dmrController_visible = true;
var btn_dmrPlayController;
var dmrList;
var homenetworkContentControler;
var homenetworkContentControler_visible = false;
var playlistContentControler;
var playlistContentControler_visible = false;
function initGlobalFooter (... | JavaScript |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the... | JavaScript |
/*
* jQuery Mobile Framework 1.0.1
* http://jquerymobile.com
*
* Copyright 2011-2012 (c) jQuery Project
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
*/
/*!
* jQuery UI Widget @VERSION
*
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT ... | JavaScript |
var myScroll_devices_dmS;
var myScroll_devices_dmR;
var myScroll_library;
var myScroll_youtube;
var myScroll_playlist;
var icon_loading;
var dms_listview; // list dms
var dmr_listview; // list dmr
var library_listview; // list library items
var youtube_listview; // list youtube items
var playlist_listview; ... | JavaScript |
/*!
* iScroll v4.1.9 ~ Copyright (c) 2011 Matteo Spinelli, http://cubiq.org
* Released under MIT license, http://cubiq.org/license
*/
(function(){
var m = Math,
mround = function (r) { return r >> 0; },
vendor = (/webkit/i).test(navigator.appVersion) ? 'webkit' :
(/firefox/i).test(navigator.userAgent) ? 'Moz' :
... | JavaScript |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the... | JavaScript |
var ApplicationPlugin = function() {
};
PhoneGap.addConstructor(function() {
PhoneGap.addPlugin("ApplicationPlugin", new ApplicationPlugin());
}); | JavaScript |
var YoutubePlugin = function() {
};
YoutubePlugin.prototype.addToPlaylist = function(idx) {
showLoadingIcon();
PhoneGap.exec(null, null, 'YoutubePlugin', 'addToPlaylist', [ idx, proxy ]);
};
YoutubePlugin.prototype.query = function(queryString) {
showLoadingIcon();
PhoneGap.exec(null, null, 'YoutubePlug... | JavaScript |
var LibraryPlugin = function() {
};
LibraryPlugin.prototype.browse = function(objectID) {
showLoadingIcon();
PhoneGap.exec(null, null, 'LibraryPlugin', 'browse', [ objectID ]);
};
LibraryPlugin.prototype.addToPlaylist = function(objectID) {
PhoneGap.exec(null, null, 'LibraryPlugin', 'addToPlaylist', [ objec... | JavaScript |
//private static final String ACTION_NEXT = "next";
// private static final String ACTION_PREV = "prev";
// private static final String ACTION_PLAY = "play";
// private static final String ACTION_PAUSE = "pause";
// private static final String ACTION_STOP = "stop";
// private static final String ACTION_SET_VOLUME ... | JavaScript |
var DevicesPlugin = function() {
};
DevicesPlugin.prototype.setDMS = function(udn) {
PhoneGap.exec(null, null, 'DevicesPlugin', 'setDMS', [ udn ]);
};
DevicesPlugin.prototype.setDMR = function(udn) {
PhoneGap.exec(null, null, 'DevicesPlugin', 'setDMR', [ udn ]);
};
PhoneGap.addConstructor(function() {
P... | JavaScript |
/*
* jQuery Mobile Framework 1.0.1
* http://jquerymobile.com
*
* Copyright 2011-2012 (c) jQuery Project
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
*/
/*!
* jQuery UI Widget @VERSION
*
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT ... | JavaScript |
var preventTouchMove;
preventTouchMove = function(event) {
event.preventDefault();
};
var listview_homenetwork;
var listview_mediacontent;
/*var settingButton*/;
$(document).ready(function() {
initPage();
initGlobalFooter();
initTabs();
initImagesManagement();
listview_homenetwork = $('#listview... | JavaScript |
var time_to_swap_image = 200;
function initImagesManagement (){
$('.img_normal').live(
'vmousedown',
function() {
if ($(this).attr("data-enable") == "true") {
changeImagePath($(this), $(this).attr('data-highlight-image'));
}
});
$('.img_normal').live(
'vmouseup',
function() ... | JavaScript |
var dmr_handler;
var dmr_slider;
var dmr_lenght;
var dmr_currentLeft;
var dmr_itemWidth;
var dmr_numberToPresent;
var dmr_selectedItem;
var dmr_taphold;
var btn_dmrPlayController;
var btn_dmrGoNext;
var btn_dmrGoPrevious;
function init_DMRManagement() {
dmr_taphold = false;
dmr_lenght = 0;
dmr_cu... | JavaScript |
var dmrRemoteControler;
var btn_footerControler;
var dmrController;
var dmrControllerVisible_GlobalFooter;
var dmrList;
function initGlobalFooter (){
dmrControllerVisible_GlobalFooter = true;
dmrRemoteControler = $('#div_remote_footer_controler');
btn_footerControler = $('#div_remote_footer_controler ... | JavaScript |
var settingTable_settingField;
var currentState_settingField;
var toggling_settingField;
var btn_refresh;
var btn_settings;
var btn_about;
function init_SettingField (){
settingTable_settingField = $('#div_global_setting_table');
currentState_settingField = "hide";
toggling_settingField = false;
setti... | JavaScript |
var currentSubTab;
function init_LibraryTab (){
currentSubTab = "homenetwork";
initHomenetworkSubtab();
//initPlaylistSubtab();
init_InternetSubtab();
setPaddingBottomCSS(getFooterHeight(true) + 'px');
$('.library_tab_info img').bind('tap', function(){
switchingSubTabInLibraryTab($(this));
});... | JavaScript |
var internetSubTab;
var btn_search_youtube;
function init_InternetSubtab (){
internetSubTab = $('#div_content_internet');
internetSubTab.hide();
$('#div_content_internet_searchbar').hide();
btn_search_youtube = $('#img_btn_search_youtube');
btn_search_youtube.bind('tap', function(){
onTap_Search_Y... | JavaScript |
var homeNetworkSubTab;
var homenetworkContentControler;
var homenetworkContentControler_visible = false;
var currentPadding_homenetwork;
var preScrollPosition_homenetwork;
var waitingForNextLoading = false;
var btn_back_homenetwork;
var btn_selectAll;
var btn_deselectAll;
function initHomenetworkSubtab()... | JavaScript |
var playlistSubTab;
var playlistContentControler;
var playlistContentControler_visible = false;
var btn_back_playlist;
var btn_save;
var btn_clear;
function initPlaylistSubtab (){
playlistSubTab = $('#div_content_playlist');
playlistSubTab.hide();
playlistContentControler = $('#div_content_playlist... | JavaScript |
/*var content_renderer;
var content_handler;
var content_slider;
var content_mouseDown;
var content_mouseX;
var content_lenght;
var content_currentIndex;
var content_xOffset;
var content_handlerWidth;
var content_tolerance;
var content_delayTime;
var content_selectedItem;
function init_contentManageme... | JavaScript |
function init_NowplayingTab() {
$('.nowplaying_tab').hide();
init_contentManagement();
$('#img_btn_media_previous').bind('tap', function (){
onTap_Media_Previous ($(this));
});
$('#img_btn_media_pause_play').bind('tap', function (){
onTap_Media_Pause_Play($(this));
});
/*$('#img_btn... | JavaScript |
var currentTab_TabsControl;
function initTabs (){
currentTab_TabsControl = "library";
init_LibraryTab();
init_NowplayingTab();
init_SettingField();
$('#div_navbar_1').bind('tap', function (){
switchingLibrarytab ();
});
$('#div_navbar_2').bind('tap', function (){
switchingNowplayingTab ();
... | JavaScript |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the... | JavaScript |
var ApplicationPlugin = function() {
};
ApplicationPlugin.prototype.showLoadStart = function() {
PhoneGap.exec(null, null, 'ApplicationPlugin', 'showLoadStart', [ "" ]);
};
ApplicationPlugin.prototype.showLoadComplete = function() {
PhoneGap.exec(null, null, 'ApplicationPlugin', 'showLoadComplete', [ "" ]);... | JavaScript |
var YoutubePlugin = function() {
};
YoutubePlugin.prototype.addToPlaylist = function(idx) {
showLoadingIcon();
PhoneGap.exec(null, null, 'YoutubePlugin', 'addToPlaylist', [ idx, proxy ]);
};
YoutubePlugin.prototype.query = function(queryString) {
showLoadingIcon();
PhoneGap.exec(null, null, 'YoutubePlug... | JavaScript |
var LibraryPlugin = function() {
};
LibraryPlugin.prototype.browse = function(objectID) {
// showLoadingIcon();
PhoneGap.exec(null, null, 'LibraryPlugin', 'browse', [ objectID ]);
};
LibraryPlugin.prototype.addToPlaylist = function(objectID) {
PhoneGap.exec(null, null, 'LibraryPlugin', 'addToPlaylist', [ ob... | JavaScript |
//private static final String ACTION_NEXT = "next";
// private static final String ACTION_PREV = "prev";
// private static final String ACTION_PLAY = "play";
// private static final String ACTION_PAUSE = "pause";
// private static final String ACTION_STOP = "stop";
// private static final String ACTION_SET_VOLUME ... | JavaScript |
var DevicesPlugin = function() {
};
DevicesPlugin.prototype.setDMS = function(udn) {
PhoneGap.exec(null, null, 'DevicesPlugin', 'setDMS', [ udn ]);
};
DevicesPlugin.prototype.setDMR = function(udn) {
PhoneGap.exec(null, null, 'DevicesPlugin', 'setDMR', [ udn ]);
};
DevicesPlugin.prototype.refresh = func... | JavaScript |
var preventTouchMove;
preventTouchMove = function(event) {
event.preventDefault();
};
var listview_homenetwork;
var listview_mediacontent;
/*var settingButton*/;
$(document).ready(function() {
initPage();
initGlobalFooter();
initTabs();
initImagesManagement();
listview_homenetwork = $('#listview... | JavaScript |
var time_to_swap_image = 200;
function initImagesManagement (){
$('.img_normal').live(
'vmousedown',
function() {
if ($(this).attr("data-enable") == "true") {
changeImagePath($(this), $(this).attr('data-highlight-image'));
}
});
$('.img_normal').live(
'vmouseup',
function() ... | JavaScript |
var dmr_handler;
var dmr_slider;
var dmr_lenght;
var dmr_currentLeft;
var dmr_itemWidth;
var dmr_numberToPresent;
var dmr_selectedItem;
var dmr_taphold;
var btn_dmrPlayController;
var btn_dmrGoNext;
var btn_dmrGoPrevious;
function init_DMRManagement() {
dmr_taphold = false;
dmr_lenght = 0;
dmr_cu... | JavaScript |
var dmrRemoteControler;
var btn_footerControler;
var dmrController;
var dmrControllerVisible_GlobalFooter;
var dmrList;
function initGlobalFooter (){
dmrControllerVisible_GlobalFooter = true;
dmrRemoteControler = $('#div_remote_footer_controler');
btn_footerControler = $('#div_remote_footer_controler ... | JavaScript |
var settingTable_settingField;
var currentState_settingField;
var toggling_settingField;
var btn_refresh;
var btn_settings;
var btn_about;
function init_SettingField (){
settingTable_settingField = $('#div_global_setting_table');
currentState_settingField = "hide";
toggling_settingField = false;
setti... | JavaScript |
var currentSubTab;
function init_LibraryTab (){
currentSubTab = "homenetwork";
initHomenetworkSubtab();
//initPlaylistSubtab();
//init_InternetSubtab();
setPaddingBottomCSS(getFooterHeight(true) + 'px');
/*$('.library_tab_info img').bind('tap', function(){
switchingSubTabInLibraryTab($(this));
... | JavaScript |
var internetSubTab;
var btn_search_youtube;
function init_InternetSubtab (){
internetSubTab = $('#div_content_internet');
internetSubTab.hide();
$('#div_content_internet_searchbar').hide();
btn_search_youtube = $('#img_btn_search_youtube');
btn_search_youtube.bind('tap', function(){
onTap_Search_Y... | JavaScript |
var homeNetworkSubTab;
var homenetworkContentControler;
var homenetworkContentControler_visible = false;
var currentPadding_homenetwork;
var preScrollPosition_homenetwork;
var waitingForNextLoading = false;
var btn_back_homenetwork;
var btn_selectAll;
var btn_deselectAll;
function initHomenetworkSubtab()... | JavaScript |
var playlistSubTab;
var playlistContentControler;
var playlistContentControler_visible = false;
var btn_back_playlist;
var btn_save;
var btn_clear;
function initPlaylistSubtab (){
playlistSubTab = $('#div_content_playlist');
playlistSubTab.hide();
playlistContentControler = $('#div_content_playlist... | JavaScript |
/*var content_renderer;
var content_handler;
var content_slider;
var content_mouseDown;
var content_mouseX;
var content_lenght;
var content_currentIndex;
var content_xOffset;
var content_handlerWidth;
var content_tolerance;
var content_delayTime;
var content_selectedItem;
function init_contentManageme... | JavaScript |
function init_NowplayingTab() {
$('.nowplaying_tab').hide();
init_contentManagement();
$('#img_btn_media_previous').bind('tap', function() {
onTap_Media_Previous($(this));
});
$('#img_btn_media_pause_play').bind('tap', function() {
onTap_Media_Pause_Play($(this));
});
$('#img_btn_media_next'... | JavaScript |
var currentTab_TabsControl;
function initTabs() {
currentTab_TabsControl = "library";
init_LibraryTab();
init_NowplayingTab();
//init_SettingField();
$('#div_navbar_1').bind('tap', function() {
switchingLibrarytab();
});
$('#div_navbar_2').bind('tap', function() {
switchingNowplayingTab();
... | JavaScript |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the... | JavaScript |
var ApplicationPlugin = function() {
};
ApplicationPlugin.prototype.showLoadStart = function() {
PhoneGap.exec(null, null, 'ApplicationPlugin', 'showLoadStart', [ "" ]);
};
ApplicationPlugin.prototype.showLoadComplete = function() {
PhoneGap.exec(null, null, 'ApplicationPlugin', 'showLoadComplete', [ "" ]);... | JavaScript |
var LibraryPlugin = function() {
};
LibraryPlugin.prototype.browse = function(objectID) {
// showLoadingIcon();
PhoneGap.exec(null, null, 'LibraryPlugin', 'browse', [ objectID ]);
};
LibraryPlugin.prototype.addToPlaylist = function(idx) {
PhoneGap.exec(null, null, 'LibraryPlugin', 'addToPlaylist', [ idx ]);... | JavaScript |
//private static final String ACTION_NEXT = "next";
// private static final String ACTION_PREV = "prev";
// private static final String ACTION_PLAY = "play";
// private static final String ACTION_PAUSE = "pause";
// private static final String ACTION_STOP = "stop";
// private static final String ACTION_SET_VOLUME ... | JavaScript |
var DevicesPlugin = function() {
};
DevicesPlugin.prototype.setDMS = function(udn) {
PhoneGap.exec(null, null, 'DevicesPlugin', 'setDMS', [ udn ]);
};
DevicesPlugin.prototype.setDMR = function(udn) {
PhoneGap.exec(null, null, 'DevicesPlugin', 'setDMR', [ udn ]);
};
DevicesPlugin.prototype.refresh = func... | JavaScript |
'use strict';
var EditorState = {
CLEAN:0, // NO CHANGES
DIRTY:1, // UNSAVED CHANGES
SAVE:2, // SAVE IN PROGRESS
LOAD:3, // LOADING
READONLY:4
};
google.load('picker', '1');
//gapi.load('drive-share');
angular.module('app', ['app.filters', 'app.services', 'app.directives'])
.constant('saveInt... | JavaScript |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
var directive = {};
var service = { value: {} };
var DEPENDENCIES = {
'angular.js': 'http://code.angularjs.org/angular-' + angular.version.full + '.min.js',
... | JavaScript |
/**
* Configuration for jstd scenario adapter
*/
var jstdScenarioAdapter = {
relativeUrlPrefix: '/build/docs/'
};
| JavaScript |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
var directive = {};
directive.dropdownToggle =
['$document', '$location', '$window',
function ($document, $location, $window) {
var openElem... | JavaScript |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
/**
* @ngdoc overview
* @name ngResource
* @description
*/
/**
* @ngdoc object
* @name ngResource.$resource
* @requires $http
*
* @description
* A fa... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.