code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
function SetCulture(culture)
{
document.cookie = 'CurrentCulture=' + culture;
window.location.reload();
return false;
} | JavaScript |
$(function() {
$(function () {
var b = {
time: 750,
background: "#DDD",
border: "#CCC",
shadow: 1,
offsetX: "44"
};
var h = 'style="margin:0px 2px;"';
var g = b.shadow;
var f = b.time;
if (g == 1) {
... | JavaScript |
$(function () {
if (/\/u\d+/.test(location.pathname) == true) return;
var settings = {
wall: 1,
stats: 1,
attachments: 0,
friends: 1,
contact: 1,
rpg: 0,
close: 1,
avatar: 1
};
var a = document.getElementsByTagName('A');
for (i = 0; i <... | JavaScript |
/*
* qTip2 - Pretty powerful tooltips - v2.2.1
* http://qtip2.com
*
* Copyright (c) 2014
* Released under the MIT licenses
* http://jquery.org/license
*
* Date: Sat Sep 6 2014 11:12 GMT+0100+0100
* Plugins: tips modal viewport svg imagemap ie6
* Styles: core basic css3
*/
/*global window: false, jQuery: fal... | JavaScript |
console.log("--------------> inicia code externo");
$(".icon-home").attr("href", "/h2-staff");
$.cachedScript("https://adictos-al-gear.googlecode.com/svn/trunk/js/confirm.js").done(function () {
$('.friends-foes-list a[href*="friendsfoes&remove="]').zzConfirm({
content: "¿Deseas eli... | JavaScript |
console.log("--------------> Zeditor");
var zeditor = {
version: "phpbb3",
lang: {
reply: 'Modo: <font color="purple" class="reply-mode">Respuesta</font>',
pm: 'Modo: <font color="darkblue" class="mp-mode">Mensaje Privado</font>',
edit: 'Modo: <font color="red" class="edit-mode">Edición... | JavaScript |
/*!
* jQuery Plugin boxes v0.3
*
* by zzbaivong
* http://devs.forumvi.com/
*/
(function(g) {
var p = {
init: function(b) {
var a = g.extend({
mode: "",
title: "",
message: "",
okBtn: "X\u00e1c nh\u1eadn",
... | JavaScript |
function getPatientAddress(patientId) {
$j.getJSON(contextPath + "/module/addresshierarchyrwanda/patientAddress.form", {
patientId :patientId
}, function(data) {
var count = -1;
$j.each(data.addresses, function(i, address) {
count++;
$j("#cnt_" + count).val(address.country);
$j("#sp_" + count... | JavaScript |
dojo.require("dojo.widget.openmrs.ConceptSearch");
dojo.require("dojo.widget.openmrs.OpenmrsPopup");
var answerSearch;
var cSearch;
dojo.addOnLoad( function() {
answerSearch = dojo.widget.manager.getWidgetById("aSearch");
dojo.event.topic.subscribe("aSearch/select",
function(msg) {
selectConcept(... | JavaScript |
jQuery(document).ready(function(){
jQuery(".udiv").hover(
function(){
jQuery(this).addClass("boxHover");
jQuery(this).removeClass("boxNormal");
}
,function(){
jQuery(this).removeClass("boxHover");
jQuery(this).addClass("boxNormal");
}
);
var billDiv = jQuery("div#billDiv");
if( bi... | JavaScript |
/**
Project: CheckTree jQuery Plugin
Version: 0.3 (porkchop)
Project Website: http://jquery-checktree.googlecode.com/
Author: JJ Geewax <jj@geewax.org>
License:
The CheckTree jQuery plugin is currently available for use in all personal or
commercial projects under both MIT and ... | JavaScript |
/*
* jQuery UI @VERSION
*
* Copyright (c) 2008 Paul Bakaus (ui.jquery.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* http://docs.jquery.com/UI
*/
;(function($) {
/** jQuery core modifications and additions **/
$.keyCode = {
BACKSPACE: 8,
CAPS_LOCK: 20,
COMMA: ... | JavaScript |
/*
* jQuery UI Tabs @VERSION
*
* Copyright (c) 2007, 2008 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* http://docs.jquery.com/UI/Tabs
*
* Depends:
* ui.core.js
*/
(function($) {
$.widget("ui.tabs", {
_init: function() {
// create tab... | JavaScript |
/**
* Version 2.1
* -Contributors: "mindinquiring" : filter to exclude any stylesheet other than print.
* Tested ONLY in IE 8 and FF 3.6. No official support for other browsers, but will
* TRY to accomodate challenges in other browsers.
* Example:
* Print Button: <div id="print_button">Pri... | JavaScript |
function changePageSize( baseLink )
{
var pageSize = jQuery("#sizeOfPage").val();
if( !/^ *[0-9]+ *$/.test(pageSize) ){
alert("Invalid number!");
}else {
window.location.href = baseLink +"pageSize=" + pageSize ;
}
}
function jumpPage( baseLink )
{
var pageSize = jQuery("#sizeOfPage").val();
v... | JavaScript |
// Advance Patient Search has been rewritten to a jQuery plugin
// This file should be removed soon
ADVSEARCH = {
timeoutId: 0,
showing: false,
params: "",
delayDuration: 1000,
pageSize: 10,
// Toggle advance search box
toggleAdvanceSearchBox: function(searchBoxId, resultBoxId, view, params){ ... | JavaScript |
jQuery(document).ready(function(){
jQuery(".udiv").hover(
function(){
jQuery(this).addClass("boxHover");
jQuery(this).removeClass("boxNormal");
}
,function(){
jQuery(this).removeClass("boxHover");
jQuery(this).addClass("boxNormal");
}
);
var billDiv = jQuery("div#billDiv");
if( bi... | JavaScript |
(function($){
$.fn.extend({
//plugin name - animatemenu
toggleSearchBox: function(options) {
var defaults = {
resultBoxId: "patientResult",
view: "ddupatientqueue_search_patient_in_queue",
params: ""
}... | JavaScript |
/**
Project: CheckTree jQuery Plugin
Version: 0.3 (porkchop)
Project Website: http://jquery-checktree.googlecode.com/
Author: JJ Geewax <jj@geewax.org>
License:
The CheckTree jQuery plugin is currently available for use in all personal or
commercial projects under both MIT and ... | JavaScript |
/*
* jQuery UI @VERSION
*
* Copyright (c) 2008 Paul Bakaus (ui.jquery.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* http://docs.jquery.com/UI
*/
;(function($) {
/** jQuery core modifications and additions **/
$.keyCode = {
BACKSPACE: 8,
CAPS_LOCK: 20,
COMMA: ... | JavaScript |
/*
* jQuery UI Tabs @VERSION
*
* Copyright (c) 2007, 2008 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* http://docs.jquery.com/UI/Tabs
*
* Depends:
* ui.core.js
*/
(function($) {
$.widget("ui.tabs", {
_init: function() {
// create tab... | JavaScript |
/**
* Version 2.1
* -Contributors: "mindinquiring" : filter to exclude any stylesheet other than print.
* Tested ONLY in IE 8 and FF 3.6. No official support for other browsers, but will
* TRY to accomodate challenges in other browsers.
* Example:
* Print Button: <div id="print_button">Pri... | JavaScript |
function changePageSize( baseLink )
{
var pageSize = jQuery("#sizeOfPage").val();
if( !/^ *[0-9]+ *$/.test(pageSize) ){
alert("Invalid number!");
}else {
window.location.href = baseLink +"pageSize=" + pageSize ;
}
}
function jumpPage( baseLink )
{
var pageSize = jQuery("#sizeOfPage").val();
v... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "Heute";
var L_January = "Januar";
var L_February = "Februar";
var L_March = "M\u00e4rz";
var L_April = "April";
var L_May = "Mai";
var L_June = "Juni";
var L_July = "Juli";
var L_August =... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "Hoy";
var L_January = "Enero";
var L_February = "Febrero";
var L_March = "Marzo";
var L_April = "Abril";
var L_May = "Mayo";
var L_June = "Junio";
var L_July = "Julio";
var L_August = "Ag... | JavaScript |
/*
File Version Start - Do not remove this if you are modifying the file
Build: 9.5.0
File Version End
*/
/*
this function is used to verify whether the 'Enter' key is pressed.
if the 'Enter' key is pressed, then either call the event handler function passed in as a parameter (evntHdlrName)
or if... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "\u4eca\u5929";
var L_January = "\u4e00\u6708";
var L_February = "\u4e8c\u6708";
var L_March = "\u4e09\u6708";
var L_April = "\u56db\u6708";
var L_May = "\u4e94\u6708";
var L_June = "\u516d\u6708";
... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "Aujourd'hui";
var L_January = "Janvier";
var L_February = "F\u00e9vrier";
var L_March = "Mars";
var L_April = "Avril";
var L_May = "Mai";
var L_June = "Juin";
var L_July = "Juillet";
var L_A... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "Today";
var L_January = "January";
var L_February = "February";
var L_March = "March";
var L_April = "April";
var L_May = "May";
var L_June = "June";
var L_July = "July";
var L_August = "... | JavaScript |
// export.js
// This file contains the funcitons needed to construct the HTML for the export / print dialog.
//
// Global variable
var print = false; // default to export, so set print to false
var crystal_postback =
"<INPUT type=\"hidden\" name=\"reportsource\" id=\"reportsource\"/>" +
"<INPUT ... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "Oggi";
var L_January = "Gennaio";
var L_February = "Febbraio";
var L_March = "Marzo";
var L_April = "Aprile";
var L_May = "Maggio";
var L_June = "Giugno";
var L_July = "Luglio";
var L_August... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "\uc624\ub298";
var L_January = "1\uc6d4";
var L_February = "2\uc6d4";
var L_March = "3\uc6d4";
var L_April = "4\uc6d4";
var L_May = "5\uc6d4";
var L_June = "6\uc6d4";
var L_July = "7\uc6d4";
... | JavaScript |
var IE_PRINT_CONTROL_PRODUCTVERSION = "10,2,0,1078"
var NS_PRINT_CONTROL_PRODUCTVERSION = "10.2.0.1078"
function blockEvents() {
var deadend;
opener.captureEvents(Event.CLICK, Event.MOUSEDOWN, Event.MOUSEUP, Event.FOCUS);
opener.onclick = deadend;
opener.onmousedown = deadend;
opener.onmous... | JavaScript |
// Modified Date: 11/30/1999
// Modified By: Robert W. Husted
// Notes: Added frameset support (changed reference for "newWin" to "top.newWin")
// Also changed Spanish "March" from "Marcha" to "Marzo"
// Fixed JavaScript Date Anomaly affecting days > 28
//
// Modified by Crystal Decisions
// R... | JavaScript |
//////////////////////////////
// FOR DEBUGGING ONLY
var debug = false;
function dumpFormFields(formName)
{
theForm = document.forms[formName];
for ( idx = 0; idx < theForm.elements.length; ++idx )
alert ( theForm.elements[idx].name + " - " + theForm.elements[idx].value );
}
///////////////... | JavaScript |
// TDC is to get DateTime format info for current locale
function TDC() {
var d=new Date(1970,0,0,0,0,0,0),d2=new Date(d),s1,s2,api=-1;
d.setHours(10); d2.setHours(11);
s1=d.toLocaleString(); s2=d2.toLocaleString();
this.displayHour=(s1!=s2);
d.setHours(0); d2.setHours(0);
d.setMinutes(10); d... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "\u4eca\u65e5";
var L_January = "1 \u6708";
var L_February = "2 \u6708";
var L_March = "3 \u6708";
var L_April = "4 \u6708";
var L_May = "5 \u6708";
var L_June = "6 \u6708";
var L_July = "7 \u... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "\u4eca\u5929";
var L_January = "1 \u6708";
var L_February = "2 \u6708";
var L_March = "3 \u6708";
var L_April = "4 \u6708";
var L_May = "5 \u6708";
var L_June = "6 \u6708";
var L_July = "7 \u... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "Heute";
var L_January = "Januar";
var L_February = "Februar";
var L_March = "M\u00e4rz";
var L_April = "April";
var L_May = "Mai";
var L_June = "Juni";
var L_July = "Juli";
var L_August =... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "Hoy";
var L_January = "Enero";
var L_February = "Febrero";
var L_March = "Marzo";
var L_April = "Abril";
var L_May = "Mayo";
var L_June = "Junio";
var L_July = "Julio";
var L_August = "Ag... | JavaScript |
/*
File Version Start - Do not remove this if you are modifying the file
Build: 9.5.0
File Version End
*/
/*
this function is used to verify whether the 'Enter' key is pressed.
if the 'Enter' key is pressed, then either call the event handler function passed in as a parameter (evntHdlrName)
or if... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "\u4eca\u5929";
var L_January = "\u4e00\u6708";
var L_February = "\u4e8c\u6708";
var L_March = "\u4e09\u6708";
var L_April = "\u56db\u6708";
var L_May = "\u4e94\u6708";
var L_June = "\u516d\u6708";
... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "Aujourd'hui";
var L_January = "Janvier";
var L_February = "F\u00e9vrier";
var L_March = "Mars";
var L_April = "Avril";
var L_May = "Mai";
var L_June = "Juin";
var L_July = "Juillet";
var L_A... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "Today";
var L_January = "January";
var L_February = "February";
var L_March = "March";
var L_April = "April";
var L_May = "May";
var L_June = "June";
var L_July = "July";
var L_August = "... | JavaScript |
// export.js
// This file contains the funcitons needed to construct the HTML for the export / print dialog.
//
// Global variable
var print = false; // default to export, so set print to false
var crystal_postback =
"<INPUT type=\"hidden\" name=\"reportsource\" id=\"reportsource\"/>" +
"<INPUT ... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "Oggi";
var L_January = "Gennaio";
var L_February = "Febbraio";
var L_March = "Marzo";
var L_April = "Aprile";
var L_May = "Maggio";
var L_June = "Giugno";
var L_July = "Luglio";
var L_August... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "\uc624\ub298";
var L_January = "1\uc6d4";
var L_February = "2\uc6d4";
var L_March = "3\uc6d4";
var L_April = "4\uc6d4";
var L_May = "5\uc6d4";
var L_June = "6\uc6d4";
var L_July = "7\uc6d4";
... | JavaScript |
var IE_PRINT_CONTROL_PRODUCTVERSION = "10,5,0,1943"
var NS_PRINT_CONTROL_PRODUCTVERSION = "10.5.0.1943"
function blockEvents() {
var deadend;
opener.captureEvents(Event.CLICK, Event.MOUSEDOWN, Event.MOUSEUP, Event.FOCUS);
opener.onclick = deadend;
opener.onmousedown = deadend;
opener.onmous... | JavaScript |
// Modified Date: 11/30/1999
// Modified By: Robert W. Husted
// Notes: Added frameset support (changed reference for "newWin" to "top.newWin")
// Also changed Spanish "March" from "Marcha" to "Marzo"
// Fixed JavaScript Date Anomaly affecting days > 28
//
// Modified by Crystal Decisions
// R... | JavaScript |
//////////////////////////////
// FOR DEBUGGING ONLY
var debug = false;
function dumpFormFields(formName)
{
theForm = document.forms[formName];
for ( idx = 0; idx < theForm.elements.length; ++idx )
alert ( theForm.elements[idx].name + " - " + theForm.elements[idx].value );
}
///////////////... | JavaScript |
// TDC is to get DateTime format info for current locale
function TDC() {
var d=new Date(1970,0,0,0,0,0,0),d2=new Date(d),s1,s2,api=-1;
d.setHours(10); d2.setHours(11);
s1=d.toLocaleString(); s2=d2.toLocaleString();
this.displayHour=(s1!=s2);
d.setHours(0); d2.setHours(0);
d.setMinutes(10); d... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "\u4eca\u65e5";
var L_January = "1 \u6708";
var L_February = "2 \u6708";
var L_March = "3 \u6708";
var L_April = "4 \u6708";
var L_May = "5 \u6708";
var L_June = "6 \u6708";
var L_July = "7 \u... | JavaScript |
// LOCALIZATION STRING
// Strings for calendar.js and calendar_param.js
var L_Today = "\u4eca\u5929";
var L_January = "1 \u6708";
var L_February = "2 \u6708";
var L_March = "3 \u6708";
var L_April = "4 \u6708";
var L_May = "5 \u6708";
var L_June = "6 \u6708";
var L_July = "7 \u... | JavaScript |
*************************
***** *****
***** Hello World *****
***** *****
*************************
CV = $24
COUT = $FDED
HOME EQU $FC58
org $0300
ldx textend-text
jsr clear
label0 lda text,x ; Ici un label
jsr cout
dex
bpl label0
clear
jsr home
rts... | JavaScript |
*************************
***** *****
***** Hello World *****
***** *****
*************************
;CV = $24
org = $0300
= = =
data = org
CH EQU $24
CV EQU $25
GBASL EQU $26
GBASH EQU $27
BASL EQU $28
BASH EQU $29
BAS2L EQU $2A
BAS2H EQU $2B
CV EQU $25
COUT = $FDED
Pa... | JavaScript |
PROBLLOG.COM PROBLLOG.COM PROBLLOG.COM PROBLLOG.COM | JavaScript |
function isNotEmpty(elem) {
var str = elem.value;
var re = /.+/;
if(!str.match(re)) {
$.notifyBar({ cls: "error", html: "Error, Information on "+elem.name+" field is missing." });
badField(elem);
return false;
} else {
return true;
}
}
function isValidUser(user) {
... | JavaScript |
/*
* Notify Bar - jQuery plugin
*
* Copyright (c) 2009-2010 Dmitri Smirnov
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* Version: 1.2.2
*
* Project home:
* http://www.dmitri.me/blog/notify-bar
*/
/**
* param Object
*/
jQuery.notifyBar = function(settings) {
(functio... | JavaScript |
$(document).ready(function(){
$(".ie").load("js/ie.html"); // Load the IE warning into a div with a class of ie
// Contact form
$("form#contactform").submit(function() {
//Setup any needed variables
var input_name = $('#name').val(),
input_email = $('#email').val(),
input_subject = $('#su... | JavaScript |
var rows=5; // tek sayı olmalıdır
var speed=9; // hız (küçük olursa daha hızlı olur)
var reveal=2; // 0 ile 0 arasında olabilir. Yüksek olursa harfler daha hızlı görünür
var effectalign="default" //enter "center" to center it.
/***********************************************
* The Matrix Text Effect- by Richard Womers... | JavaScript |
/*
* angular-ui-bootstrap
* http://angular-ui.github.io/bootstrap/
* Version: 0.12.0 - 2014-11-16
* License: MIT
*/
angular.module("ui.bootstrap", ["ui.bootstrap.tpls", "ui.bootstrap.transition","ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.bindHtml","ui.bootstrap.butt... | JavaScript |
function getCookie(name){
var re = new RegExp(name + "=([^;]+)");
var value = re.exec(document.cookie);
return (value != null) ? unescape(value[1]) : null;
}
function setCookie(c_name,value,exdays){
//alert('funcSetCookie-'+c_name+'-'+value);
var exdate=new Date();
exdate.setDate(exd... | JavaScript |
/*
* Lean Slider v1.0.1
* http://dev7studios.com/lean-slider
*
* Copyright 2012, Dev7studios
* Free to use and abuse under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/
;(function($) {
$.fn.leanSlider = function(options) {
// Set up plugin vars
var ... | JavaScript |
function partMonney(str)
{
if (window.ActiveXObject)
if(getInternetExplorerVersion() == 6 || getInternetExplorerVersion() == 7)
return str;
var j = 0;
var temp = "";
var result = "";
for(var i = str.length - 1; i >= 0; i--)
{
if(j==3)
{
temp = "." + temp;
result = temp + re... | JavaScript |
/* NicEdit - Micro Inline WYSIWYG
* Copyright 2007-2008 Brian Kirchoff
*
* NicEdit is distributed under the terms of the MIT license
* For more information visit http://nicedit.com/
* Do not remove this copyright message
*/
var bkExtend = function(){
var args = arguments;
if (args.length == 1) args = [... | JavaScript |
/*!
* jQuery Cookie Plugin v1.4.1
* https://github.com/carhartl/jquery-cookie
*
* Copyright 2006, 2014 Klaus Hartl
* Released under the MIT license
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD
define(['jquery'], factory);
} else if (typeof exports === 'object'... | JavaScript |
function formatDate(d){
var dd = d.getDate();
if ( dd < 10 ) dd = '0' + dd
var mm = d.getMonth()+1
if ( mm < 10 ) mm = '0' + mm
var hh = d.getHours();
if ( hh < 10 ) hh = '0' + hh
var mi = d.getMinutes();
if ( mi < 10 ) mi = '0' + mi
return d.getFullYear()+'-... | JavaScript |
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
// IT'S JUST JUNK FOR OUR DOCS!
// ++++++++++++++++++++++++++++++++++++++++++
/*!
* Copyright 2014 Twitter, Inc.
*
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* details, see http://creativecommons.org/licenses/by/3.0/.
*/
// Int... | JavaScript |
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
// IT'S JUST JUNK FOR OUR DOCS!
// ++++++++++++++++++++++++++++++++++++++++++
/*!
* Copyright 2011-2014 Twitter, Inc.
*
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* details, see http://creativecommons.org/licenses/by/3.0/.
*/
/... | JavaScript |
/*!
* IE10 viewport hack for Surface/desktop Windows 8 bug
* Copyright 2014 Twitter, Inc.
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* details, see http://creativecommons.org/licenses/by/3.0/.
*/
// See the Getting Started docs for more information:
// http://getbootstrap.... | JavaScript |
/**
* @preserve jQuery DateTimePicker plugin v2.4.1
* @homepage http://xdsoft.net/jqplugins/datetimepicker/
* (c) 2014, Chupurnov Valeriy.
*/
/*global document,window,jQuery,setTimeout,clearTimeout*/
(function ($) {
'use strict';
var default_options = {
i18n: {
ar: { // Arabic
months: [
... | JavaScript |
/*!
* Media helper for fancyBox
* version: 1.0.6 (Fri, 14 Jun 2013)
* @requires fancyBox v2.0 or later
*
* Usage:
* $(".fancybox").fancybox({
* helpers : {
* media: true
* }
* });
*
* Set custom URL parameters:
* $(".fancybox").fancybox({
* hel... | JavaScript |
/*!
* Buttons helper for fancyBox
* version: 1.0.5 (Mon, 15 Oct 2012)
* @requires fancyBox v2.0 or later
*
* Usage:
* $(".fancybox").fancybox({
* helpers : {
* buttons: {
* position : 'top'
* }
* }
* });
*
*/
;(function ($) {
... | JavaScript |
/*!
* Thumbnail helper for fancyBox
* version: 1.0.7 (Mon, 01 Oct 2012)
* @requires fancyBox v2.0 or later
*
* Usage:
* $(".fancybox").fancybox({
* helpers : {
* thumbs: {
* width : 50,
* height : 50
* }
* }
* })... | JavaScript |
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license Highcharts JS v4.0.4 (2014-09-02)
*
* (c) 2009-2014 Torstein Honsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInt... | JavaScript |
/**
* @license Highcharts JS v4.0.4 (2014-09-02)
*
* Standalone Highcharts Framework
*
* License: MIT License
*/
/*global Highcharts */
var HighchartsAdapter = (function () {
var UNDEFINED,
doc = document,
emptyArray = [],
timers = [],
timerId,
animSetters = {},
Fx;
Math.easeInOutSin... | JavaScript |
/**
* @license Highcharts JS v4.0.4 (2014-09-02)
* Plugin for displaying a message when there is no data visible in chart.
*
* (c) 2010-2014 Highsoft AS
* Author: Oystein Moseng
*
* License: www.highcharts.com/license
*/
(function (H) {
var seriesTypes = H.seriesTypes,
chartPrototype = H.Char... | JavaScript |
/**
* Highcharts Drilldown plugin
*
* Author: Torstein Honsi
* License: MIT License
*
* Demo: http://jsfiddle.net/highcharts/Vf3yT/
*/
/*global HighchartsAdapter*/
(function (H) {
"use strict";
var noop = function () {},
defaultOptions = H.getOptions(),
each = H.each,
extend = H.exte... | JavaScript |
/**
* @license
* Highcharts funnel module
*
* (c) 2010-2014 Torstein Honsi
*
* License: www.highcharts.com/license
*/
/*global Highcharts */
(function (Highcharts) {
'use strict';
// create shortcuts
var defaultOptions = Highcharts.getOptions(),
defaultPlotOptions = defaultOptions.plotOptio... | JavaScript |
/**
* @license A class to parse color values
* @author Stoyan Stefanov <sstoo@gmail.com>
* @link http://www.phpied.com/rgb-color-parser-in-javascript/
* Use it if you like it
*
*/
function RGBColor(color_string)
{
this.ok = false;
// strip any leading #
if (color_string.charAt(0) == '#'... | JavaScript |
/**
* @license Data plugin for Highcharts
*
* (c) 2012-2014 Torstein Honsi
*
* License: www.highcharts.com/license
*/
/*
* The Highcharts Data plugin is a utility to ease parsing of input sources like
* CSV, HTML tables or grid views into basic configuration options for use
* directly in the Highc... | JavaScript |
/**
* @license Highcharts JS v4.0.4 (2014-09-02)
* Solid angular gauge module
*
* (c) 2010-2014 Torstein Honsi
*
* License: www.highcharts.com/license
*/
/*global Highcharts*/
(function (H) {
"use strict";
var defaultPlotOptions = H.getOptions().plotOptions,
pInt = H.pInt,
pick = H.pick,
... | JavaScript |
/**
* @license Highcharts JS v4.0.4 (2014-09-02)
*
* (c) 2011-2014 Torstein Honsi
*
* License: www.highcharts.com/license
*/
/*global HighchartsAdapter*/
(function (Highcharts) {
var UNDEFINED,
Axis = Highcharts.Axis,
Chart = Highcharts.Chart,
Color = Highcharts.Color,
Legend = Highcharts.L... | JavaScript |
/**
* @license Highcharts JS v4.0.4 (2014-09-02)
* Exporting module
*
* (c) 2010-2014 Torstein Honsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, document, window, Math, setTimeout */
(function (Highcharts) { // encapsulate
// create shortcuts
var Chart = H... | JavaScript |
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license Highcharts JS v4.0.4 (2014-09-02)
*
* (c) 2009-2013 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInt... | JavaScript |
/**
* Dark blue theme for Highcharts JS
* @author Torstein Honsi
*/
Highcharts.theme = {
colors: ["#DDDF0D", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee",
"#55BF3B", "#DF5353", "#7798BF", "#aaeeee"],
chart: {
backgroundColor: {
linearGradient: [0, 0, 250, 500],
stops: [
... | JavaScript |
/**
* Skies theme for Highcharts JS
* @author Torstein Honsi
*/
Highcharts.theme = {
colors: ["#514F78", "#42A07B", "#9B5E4A", "#72727F", "#1F949A", "#82914E", "#86777F", "#42A07B"],
chart: {
className: 'skies',
borderWidth: 0,
plotShadow: true,
plotBackgroundImage: 'http://www.highcharts.com/d... | JavaScript |
/**
* Dark blue theme for Highcharts JS
* @author Torstein Honsi
*/
Highcharts.theme = {
colors: ["#DDDF0D", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee",
"#55BF3B", "#DF5353", "#7798BF", "#aaeeee"],
chart: {
backgroundColor: {
linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 },
... | JavaScript |
/**
* Grid theme for Highcharts JS
* @author Torstein Honsi
*/
Highcharts.theme = {
colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4'],
chart: {
backgroundColor: {
linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 },
stops: [
[0, 'rgb(255,... | JavaScript |
/**
* Dark theme for Highcharts JS
* @author Torstein Honsi
*/
// Load the fonts
Highcharts.createElement('link', {
href: 'http://fonts.googleapis.com/css?family=Unica+One',
rel: 'stylesheet',
type: 'text/css'
}, null, document.getElementsByTagName('head')[0]);
Highcharts.theme = {
colors: ["#2b90... | JavaScript |
/**
* Gray theme for Highcharts JS
* @author Torstein Honsi
*/
Highcharts.theme = {
colors: ["#DDDF0D", "#7798BF", "#55BF3B", "#DF5353", "#aaeeee", "#ff0066", "#eeaaee",
"#55BF3B", "#DF5353", "#7798BF", "#aaeeee"],
chart: {
backgroundColor: {
linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
st... | JavaScript |
/**
* Grid-light theme for Highcharts JS
* @author Torstein Honsi
*/
// Load the fonts
Highcharts.createElement('link', {
href: 'http://fonts.googleapis.com/css?family=Dosis:400,600',
rel: 'stylesheet',
type: 'text/css'
}, null, document.getElementsByTagName('head')[0]);
Highcharts.theme = {
color... | JavaScript |
/**
* Sand-Signika theme for Highcharts JS
* @author Torstein Honsi
*/
// Load the fonts
Highcharts.createElement('link', {
href: 'http://fonts.googleapis.com/css?family=Signika:400,700',
rel: 'stylesheet',
type: 'text/css'
}, null, document.getElementsByTagName('head')[0]);
// Add the background im... | JavaScript |
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license Highcharts JS v4.0.4 (2014-09-02)
*
* (c) 2009-2014 Torstein Honsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInt... | JavaScript |
/*!
* jquery.confirm
*
* @version 2.3.1
*
* @author My C-Labs
* @author Matthieu Napoli <matthieu@mnapoli.fr>
* @author Russel Vela
* @author Marcus Schwarz <msspamfang@gmx.de>
*
* @license MIT
* @url http://myclabs.github.io/jquery.confirm/
*/
(function ($) {
/**
* Confirm a link or a button
... | JavaScript |
// Blogger JSON - Learn adi nugraha
var postTitle = new Array(),
postUrl = new Array(),
postDate = new Array(),
postMonth = new Array(),
postYear = new Array(),
postYearMonth = new Array(),
postDateNum = new Array(),
numberfeed = 0,
month = [... | JavaScript |
// Blogger JSON - Learn adi nugraha
var postTitle = new Array(),
postUrl = new Array(),
postDate = new Array(),
postMonth = new Array(),
postYear = new Array(),
postYearMonth = new Array(),
postDateNum = new Array(),
numberfeed = 0,
month = [... | JavaScript |
$(document).ready(function(){
module("Module C");
test("first test within module", function() {
ok( true, "all pass" );
});
module("");
}); | JavaScript |
$(function() {
var cardNum = 0;
_.templateSettings = {
interpolate : /\|\|(.+?)\|\|/g
};
window.Card = Backbone.Model.extend({
defaults: {
name: 'Unnamed Card',
points: 0
},
toString: function() {
return 'Card: ' + this.get('id');
... | JavaScript |
var Card = Backbone.Model.extend({
toString: function() {
return 'Card: ' + this.get('id');
}
});
var Cards = Backbone.Collection.extend({
model: Card
});
var Project = Backbone.Model.extend({
toString: function() {
return 'Project: ' + this.get('name');
}
});
var Projects = Backb... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.