code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
/**
* elFinder translation template
* use this file to create new translation
* submit new translation via https://github.com/Studio-42/elFinder/issues
* or make a pull request
*/
/**
* XXXXX translation
* @author Translator Name <translator@email.tld>
* @version 201x-xx-xx
*/
if (elFinder && elFinder.protot... | JavaScript |
/**
* Turkish translation
* @author I.Taskinoglu & A.Kaya <alikaya@armsyazilim.com>
* @version 2012-06-15
*/
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
elFinder.prototype.i18.tr = {
translator : 'I.Taskinoglu & A.Kaya <alikaya@armsyazilim.com>',
language : 'Türk... | JavaScript |
/**
* Russian translation
* @author Dmitry "dio" Levashov <dio@std42.ru>
* @version 2011-07-15
*/
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
elFinder.prototype.i18.ru = {
translator : 'Dmitry "dio" Levashov <dio@std42.ru>',
language : 'Русский язык',
direction... | JavaScript |
/**
* Dutch translation
* @author Barry vd. Heuvel <barry@fruitcakestudio.nl>
* @version 2012-04-02
*/
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
elFinder.prototype.i18.nl = {
translator : 'Barry vd. Heuvel <barry@fruitcakestudio.nl>',
language : 'Nederlands',
... | JavaScript |
/**
* Simplified Chinese translation
* @author 翻译者 <deerchao@gmail.com>
* @author Andy Hu <andyhu7@yahoo.com.hk>
* @version 2012-04-11
*/
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
elFinder.prototype.i18.zh_CN = {
translator : '翻译者 <deerchao@gmail.com>, Andy Hu <... | JavaScript |
/**
* Hungarian translation
* @author Gáspár Lajos <info@glsys.eu>
* @version 2011-09-10
*/
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
elFinder.prototype.i18.hu = {
translator : 'Gáspár Lajos <info@glsys.eu>',
language : 'magyar',
direction : 'ltr',
message... | JavaScript |
/**
* Czech translation
* @author Jay Gridley <gridley.jay@hotmail.com>
* @version 2012-03-23
*/
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
elFinder.prototype.i18.cs = {
translator : 'Jay Gridley <gridley.jay@hotmail.com>',
language : 'čeština',
direction : '... | JavaScript |
/**
* Persian-Farsi Translation
* @author Keyhan Mohammadpour <keyhan_universityworks@yahoo.com>
* @version 2012-04-07
*/
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
elFinder.prototype.i18.fa = {
translator : 'Keyhan Mohammadpour <keyhan_universityworks@yahoo.com>',
... | JavaScript |
/**
* Korean translation
* @author Hwang Ahreum 황아름 <luckmagic@naver.com>
* @version 2012-06-27
*/
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
elFinder.prototype.i18.ko = {
translator : 'Hwang Ahreum; <luckmagic@naver.com>',
language : 'Korea-한국어',
direction :... | JavaScript |
/**
* Bulgarian translation
* @author Stamo Petkov <stamo.petkov@gmail.com>
* @version 2012-02-18
*/
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
elFinder.prototype.i18.bg = {
translator : 'Stamo Petkov <stamo.petkov@gmail.com>',
language : 'Български',
directio... | JavaScript |
/**
* Norwegian translation
* @author Stian Jacobsen <stian@promonorge.no>
* @version 2012-07-03
*/
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
elFinder.prototype.i18.no = {
translator : 'Stian Jacobsen <stian@promonorge.no>',
language : 'Norwegian Bokmål',
dir... | JavaScript |
/**
* Spanish translation
* @author Julián Torres <julian.torres@pabernosmatao.com>
* @version 2011-08-25
*/
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
elFinder.prototype.i18.es = {
translator : 'Julián Torres <julian.torres@pabernosmatao.com>',
language : 'Espa... | JavaScript |
// jquery.tweet.js - See http://tweet.seaofclouds.com/ or https://github.com/seaofclouds/tweet for more info
// Copyright (c) 2008-2012 Todd Matthews & Steve Purcell
(function (factory) {
if (typeof define === 'function' && define.amd)
define(['jquery'], factory); // AMD support for RequireJS etc.
else
fact... | JavaScript |
/*
Uniform v1.7.5
Copyright © 2009 Josh Pyles / Pixelmatrix Design LLC
http://pixelmatrixdesign.com
Requires jQuery 1.4 or newer
Much thanks to Thomas Reynolds and Buck Wilson for their help and advice on this
Disabling text selection is made possible by Mathias Bynens <http://mathiasbynens.be/>
and his noSelect pl... | JavaScript |
/*
### jQuery Star Rating Plugin v3.14 - 2012-01-26 ###
* Home: http://www.fyneworks.com/jquery/star-rating/
* Code: http://code.google.com/p/jquery-star-rating-plugin/
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/... | JavaScript |
/**
* SheepIt! Jquery Plugin
* http://www.mdelrosso.com/sheepit/
*
* @version 1.1.1
*
* Created By Mariano Del Rosso (http://www.mdelrosso.com)
*
* Thanks to:
* Hubert Galuszka: Continuous index option and support for tabular forms
* Gabriel Alonso: Bugfixes
*
* @license
*
* SheepIt is free software: y... | JavaScript |
/*! Javascript plotting library for jQuery, v. 0.7.
*
* Released under the MIT license by IOLA, December 2007.
*
*/
// first an inline dependency, jquery.colorhelpers.js, we inline it here
// for convenience
/* Plugin for jQuery for working with colors.
*
* Version 1.1.
*
* Inspiration from jQu... | JavaScript |
/*
Flot plugin for stacking data sets, i.e. putting them on top of each
other, for accumulative graphs.
The plugin assumes the data is sorted on x (or y if stacking
horizontally). For line charts, it is assumed that if a line has an
undefined gap (from a null point), then the line above it should have
the same gap - i... | JavaScript |
/*
Flot plugin for showing crosshairs, thin lines, when the mouse hovers
over the plot.
crosshair: {
mode: null or "x" or "y" or "xy"
color: color
lineWidth: number
}
Set the mode to one of "x", "y" or "xy". The "x" mode enables a
vertical crosshair that lets you trace the values on the x axis, "y"
en... | JavaScript |
/*
Flot plugin for adding panning and zooming capabilities to a plot.
The default behaviour is double click and scrollwheel up/down to zoom
in, drag to pan. The plugin defines plot.zoom({ center }),
plot.zoomOut() and plot.pan(offset) so you easily can add custom
controls. It also fires a "plotpan" and "plotzoom" even... | JavaScript |
/*
* jquery.flot.tooltip
*
* desc: create tooltip with values of hovered point on the graph,
support many series, time mode, stacking and pie charts
you can set custom tip content (also with use of HTML tags) and precision of values
* version: 0.4.4
* author: Krzysztof Urbas @krzysu [myviews.pl] with h... | JavaScript |
/*
* Flot plugin to order bars side by side.
*
* Released under the MIT license by Benjamin BUFFET, 20-Sep-2010.
*
* This plugin is an alpha version.
*
* To activate the plugin you must specify the parameter "order" for the specific serie :
*
* $.plot($("#placeholder"), [{ data: [ ... ], bars :{ order = null... | JavaScript |
/*
Flot plugin that adds some extra symbols for plotting points.
The symbols are accessed as strings through the standard symbol
choice:
series: {
points: {
symbol: "square" // or "diamond", "triangle", "cross"
}
}
*/
(function ($) {
function processRawData(plot, series, datapoints) {
... | JavaScript |
/*
Flot plugin for automatically redrawing plots when the placeholder
size changes, e.g. on window resizes.
It works by listening for changes on the placeholder div (through the
jQuery resize event plugin) - if the size changes, it will redraw the
plot.
There are no options. If you need to disable the plugin for some... | JavaScript |
/*
Flot plugin for thresholding data. Controlled through the option
"threshold" in either the global series options
series: {
threshold: {
below: number
color: colorspec
}
}
or in a specific series
$.plot($("#placeholder"), [{ data: [ ... ], threshold: { ... }}])
The data points below "bel... | JavaScript |
/*
Flot plugin for selecting regions.
The plugin defines the following options:
selection: {
mode: null or "x" or "y" or "xy",
color: color
}
Selection support is enabled by setting the mode to one of "x", "y" or
"xy". In "x" mode, the user will only be able to specify the x range,
similarly for "y" mode... | JavaScript |
/* Plugin for jQuery for working with colors.
*
* Version 1.1.
*
* Inspiration from jQuery color animation plugin by John Resig.
*
* Released under the MIT license by Ole Laursen, October 2009.
*
* Examples:
*
* $.color.parse("#fff").scale('rgb', 0.25).add('a', -0.5).toString()
* var c = $.color.extrac... | JavaScript |
/*
Flot plugin for computing bottoms for filled line and bar charts.
The case: you've got two series that you want to fill the area
between. In Flot terms, you need to use one as the fill bottom of the
other. You can specify the bottom of each data point as the third
coordinate manually, or you can use this plugin to ... | JavaScript |
/*
Flot plugin for rendering pie charts. The plugin assumes the data is
coming is as a single data value for each series, and each of those
values is a positive value or zero (negative numbers don't make
any sense and will cause strange effects). The data values do
NOT need to be passed in as percentage values... | JavaScript |
/*
Flot plugin for plotting images, e.g. useful for putting ticks on a
prerendered complex visualization.
The data syntax is [[image, x1, y1, x2, y2], ...] where (x1, y1) and
(x2, y2) are where you intend the two opposite corners of the image to
end up in the plot. Image must be a fully loaded Javascript image (you
ca... | JavaScript |
/**
@preserve CLEditor Table Plugin v1.0.2
http://premiumsoftware.net/cleditor
requires CLEditor v1.2.2 or later
Copyright 2010, Chris Landowski, Premium Software, LLC
Dual licensed under the MIT or GPL Version 2 licenses.
*/
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
// @outp... | JavaScript |
/**
@preserve CLEditor WYSIWYG HTML Editor v1.3.0
http://premiumsoftware.net/cleditor
requires jQuery v1.4.2 or later
Copyright 2010, Chris Landowski, Premium Software, LLC
Dual licensed under the MIT or GPL Version 2 licenses.
*/
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
// @... | JavaScript |
/**
@preserve CLEditor XHTML Plugin v1.0.0
http://premiumsoftware.net/cleditor
requires CLEditor v1.3.0 or later
Copyright 2010, Chris Landowski, Premium Software, LLC
Dual licensed under the MIT or GPL Version 2 licenses.
Based on John Resig's HTML Parser Project (ejohn.org)
http://ejohn.org/files/h... | JavaScript |
/**
@preserve CLEditor Icon Plugin v1.0
http://premiumsoftware.net/cleditor
requires CLEditor v1.2 or later
Copyright 2010, Chris Landowski, Premium Software, LLC
Dual licensed under the MIT or GPL Version 2 licenses.
*/
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
// @output_fi... | JavaScript |
/*
* MoonCake v1.3.1 - Login JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
;(function(... | JavaScript |
/*! http://mths.be/placeholder v2.0.7 by @mathias */
;(function(window, document, $) {
var isInputSupported = 'placeholder' in document.createElement('input'),
isTextareaSupported = 'placeholder' in document.createElement('textarea'),
prototype = $.fn,
valHooks = $.valHooks,
hooks,
pl... | JavaScript |
// Memory Leaks patch from http://explorercanvas.googlecode.com/svn/trunk/
// svn : r73
// ------------------------------------------------------------------
// Copyright 2006 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the L... | JavaScript |
/*! Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net)
* Licensed under the MIT License (LICENSE.txt).
*
* Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
* Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
* Thanks to: Seamus Leahy for adding deltaX and ... | JavaScript |
/*
* MoonCake v1.3.1 - Template JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
;(functi... | JavaScript |
/*
* MoonCake v1.3.1 - Documentation JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
;(f... | JavaScript |
/*
* MoonCake v1.3.1 - Template Setup JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
;(... | JavaScript |
/*
* MoonCake v1.3.1 - Statistic Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
;(... | JavaScript |
/*
* MoonCake v1.3.1 - Contact List Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
... | JavaScript |
/*
* MoonCake v1.3.1 - WYSIWYG Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
;(fu... | JavaScript |
/*
* MoonCake v1.3.1 - File Manager Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
... | JavaScript |
/*
* MoonCake v1.3.1 - Form Cloning Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
... | JavaScript |
/*
* MoonCake v1.3.1 - File Upload Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
... | JavaScript |
/*
* MoonCake v1.3.1 - Form Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
;(funct... | JavaScript |
/*
* MoonCake v1.3.1 - Form Wizard Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
... | JavaScript |
/*
* MoonCake v1.3.1 - Alerts Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
;(fun... | JavaScript |
/*
* MoonCake v1.3.1 - Calendar Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
;(f... | JavaScript |
/*
* MoonCake v1.3.1 - Dashboard Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
;(... | JavaScript |
/*
* MoonCake v1.3.1 - Charts Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
;(fun... | JavaScript |
/*
* MoonCake v1.3.1 - UI Components Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
... | JavaScript |
/*
* MoonCake v1.3.1 - Form Validation Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/... | JavaScript |
/*
* MoonCake v1.3.1 - Mail Page Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
;(... | JavaScript |
/*
* MoonCake v1.3.1 - DataTables Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
;... | JavaScript |
/*
* MoonCake v1.3.1 - Alerts Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
;(fun... | JavaScript |
/*
* MoonCake v1.3.1 - Gallery Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
;(fu... | JavaScript |
/*
* MoonCake v1.3.1 - Widget Demo JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
;(fun... | JavaScript |
/*
* MoonCake v1.3.1 - Template JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
*/
;(functi... | JavaScript |
/*!
* Globalize
*
* http://github.com/jquery/globalize
*
* Copyright Software Freedom Conservancy, Inc.
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*/
(function( window, undefined ) {
var Globalize,
// private variables
regexHex,
regexInfinity,
regexParseFloat,
re... | JavaScript |
/*
* MoonCake v1.3.1 - Contact List Plugin
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
* 'Hig... | JavaScript |
/*
* MoonCake v1.3.1 - Circular Stat JS
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
* 'Highly... | JavaScript |
/*
* MoonCake v1.3.1 - Wizard Plugin
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
* 'Highly co... | JavaScript |
/*!
* jQuery Form Plugin
* version: 3.18 (28-SEP-2012)
* @requires jQuery v1.5 or later
*
* Examples and documentation at: http://malsup.com/jquery/form/
* Project repository: https://github.com/malsup/form
* Dual licensed under the MIT and GPL licenses:
* http://malsup.github.com/mit-license.txt
* http:... | JavaScript |
/*
* MoonCake v1.3.1 - PickList Plugin
*
* This file is part of MoonCake, an Admin template build for sale at ThemeForest.
* For questions, suggestions or support request, please mail me at maimairel@yahoo.com
*
* Development Started:
* July 28, 2012
* Last Update:
* December 07, 2012
*
* 'Highly ... | JavaScript |
// JavaScript Document
function validateFormReg()
{
var x=document.forms["reg"]["username"].value;
var y=document.forms["reg"]["password"].value;
var z=document.forms["reg"]["repassword"].value;
var e1=document.forms["reg"]["email"].value;
if (x==null || x=='' || y==null || y=='' || e1 ==null || e1 =... | JavaScript |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga... | JavaScript |
// JavaScript Document
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analy... | JavaScript |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga... | JavaScript |
function LanguageFilterController() {
this.tabCollections = new Array();
this.blockCollections = new Array();
this.tabCollectionIds = new Array();
this.blockCollectionIds = new Array();
}
LanguageFilterController.prototype.registerTabbedArea = function(tabCollection, blockColle... | JavaScript |
window.onload = LoadPage;
var sd;
var lfc;
var store;
var tf;
var mf;
var lc;
var lang = 'CSharp';
function ListController() {
this.tabCollections = new Array();
this.listCollections = new Array();
this.tabCollectionIds = new Array();
this.listCollectionIds = new Array();
}
ListContr... | JavaScript |
// a member filter
function MemberFilter () {
// set up defaults
this.subgroup = "all";
this.public = true;
this.protected = true;
this.private = true;
this.instance = true;
this.static = true;
this.declared = true;
this.inherited = true;
}
MemberFilter.prototype.filt... | JavaScript |
// a collection of elements whoose style can be changed based on the values of attributes
function ElementCollection(parentId) {
// get the tabbed region
this.parent = document.getElementById(parentId);
// get the children
this.elements = new Array();
if (this.parent.tagName == 'TABLE') {
... | JavaScript |
function getStyleDictionary() {
var dictionary = new Array();
// iterate through stylesheets
var sheets = document.styleSheets;
for(var i=0; i<sheets.length;i++) {
var sheet = sheets[i];
// ignore sheets at ms-help Urls
if (sheet.href.substr(0,8) == 'ms-help:') contin... | JavaScript |
function SplitScreen (nonScrollingRegionId, scrollingRegionId) {
// store references to the two regions
this.nonScrollingRegion = document.getElementById(nonScrollingRegionId);
this.scrollingRegion = document.getElementById(scrollingRegionId);
// set the position model for each region
this.n... | JavaScript |
//===============================================================================================================
// System : Color Syntax Highlighter
// File : Highlight.js
// Author : Eric Woodruff (Eric@EWoodruff.us)
// Updated : 10/21/2012
// Note : Copyright 2006-2012, Eric Woodruff, All rights reser... | JavaScript |
// attach a handler to a particular event on an element
// in a browser-independent way
function registerEventHandler (element, event, handler) {
if (element.attachEvent) {
// MS registration model
element.attachEvent('on' + event, handler);
} else if (element.addEventListener) {
// NN (W4C) re... | JavaScript |
function toggleSection(sectionElement) {
var children = sectionElement.childNodes;
if (children.length != 2) return;
var image = children[0].getElementsByTagName('IMG')[0];
var content = children[1];
if (content.style['display'] == 'none') {
content.style['display'] = 'block';
image.src = ... | JavaScript |
function setCookie(name, value, expires, path, domain, secure) {
var text = name + "=" + escape(value);
if (expires) {
var currentDate = new Date();
var expireDate = new Date( currentDate.getTime() + expires*24*60*60*1000 );
text = text + ";expires=" + expireDate.toGMTString()... | JavaScript |
//=============================================================================
// System : Sandcastle Help File Builder
// File : TOC.js
// Author : Eric Woodruff (Eric@EWoodruff.us)
// Updated : 07/25/2012
// Note : Copyright 2006-2012, Eric Woodruff, All rights reserved
// Compiler: JavaScript
//
//... | JavaScript |
/**
* Creates a new Floor.
* @constructor
* @param {google.maps.Map=} opt_map
*/
function Floor(opt_map) {
/**
* @type Array.<google.maps.MVCObject>
*/
this.overlays_ = [];
/**
* @type boolean
*/
this.shown_ = true;
if (opt_map) {
this.setMap(opt_map);
}
}
/**
* @param {google.maps.M... | JavaScript |
/**
* Creates a new level control.
* @constructor
* @param {IoMap} iomap the IO map controller.
* @param {Array.<string>} levels the levels to create switchers for.
*/
function LevelControl(iomap, levels) {
var that = this;
this.iomap_ = iomap;
this.el_ = this.initDom_(levels);
google.maps.event.addList... | JavaScript |
/**
* @license
*
* Copyright 2011 Google Inc.
*
* 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 applicable l... | JavaScript |
// Copyright 2011 Google
/**
* 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 applicable law or agreed to in wri... | JavaScript |
'use strict';
function UserCtrl($scope, backend) {
$scope.user = null;
$scope.login = function() {
backend.user().then(function(response) {
$scope.user = response.data;
});
}
$scope.login();
}
function EditorCtrl($scope, $location, $routeParams, $timeout, editor, autosaver) {
console.log($rout... | JavaScript |
'use strict';
var module = angular.module('app.directives', []);
module.directive('aceEditor', function(editor) {
return {
retrict: 'A',
link: function(scope, element) {
editor.rebind(element[0]);
}
};
});
module.directive('star', function() {
return {
restrict: 'E',
replace: true,
... | JavaScript |
'use strict';
google.load('picker', '1');
angular.module('app', ['app.filters', 'app.services', 'app.directives'])
.constant('saveInterval', 15000)
.constant('appId', '892677078282')
.constant('EditorState', {
CLEAN: 0,// NO CHANGES
DIRTY: 1, // UNSAVED CHANGES
SAVE: 2, // SAVE IN PROGRESS
LOAD: 3, // LOADIN... | JavaScript |
'use strict';
/* Filters */
angular.module('app.filters', [])
.filter('saveStateFormatter', function(EditorState) {
return function(state) {
if (state == EditorState.DIRTY) {
return 'You have unsaved changes';
} else if (state == EditorState.SAVE) {
return 'Saving...';
} else if (state == Ed... | JavaScript |
'use strict';
var module = angular.module('app.services', []);
module.factory('editor', function(EditorState, backend, $q, $rootScope, $log) {
var editor = null;
var EditSession = require("ace/edit_session").EditSession;
var service = {
state: EditorState.CLEAN,
deferredState: EditorState... | JavaScript |
/*!
* jQuery JavaScript Library v1.7.2
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... | 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 |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, document, undefined) {
'use strict';
////////////////////////////////////
/**
* @ngdoc function
* @name angular.lowercase
* @function
*
* @description Converts the specified string to lowerca... | JavaScript |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*
* TODO(vojta): wrap whole file into closure during build
*/
/**
* @ngdoc overview
* @name angular.mock
* @description
*
* Namespace from 'angular-mocks.js' which contains testing related code.
*/
angular.moc... | 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 |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
/**
* @ngdoc overview
* @name ngSanitize
* @description
*/
/*
* HTML Parser By Misko Hevery (misko@hevery.com)
* based on: HTML Parser By John Resig (ejo... | JavaScript |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window) {
'use strict';
/**
* JSTestDriver adapter for angular scenario tests
*
* Example of jsTestDriver.conf for running scenario tests with JSTD:
<pre>
server: http://localhost:9877
load:
... | 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 |
/**
* Configuration for jstd scenario adapter
*/
var jstdScenarioAdapter = {
relativeUrlPrefix: '/build/docs/'
};
| JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.