code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
basePath = '../../../..';
var YUI_BASE = process.env.YUI_BASE;
var KARMA_LIB = process.env.KARMA_LIB;
files = [
JASMINE,
JASMINE_ADAPTER,
YUI_BASE + '/yui/yui.js',
YUI_BASE + '/yui-base/yui-base.js',
YUI_BASE + '/node-core/node-core.js',
YUI_BASE + '/array-extras/array-extras.js',
YUI_BASE + '/dom-scree... | JavaScript |
describe('assessment tags', function() {
var LOGGING_LOCATION = 'http://localhost:8080/unit?unit=1&lesson=2';
var MESSAGES = {
correctAnswer: 'Yes, the answer is correct.',
incorrectAnswer: 'No, the answer is incorrect.',
partiallyCorrectAnswer: 'The answer is partially correct.',
yourScoreIs: 'Your... | JavaScript |
basePath = '../../../..';
var KARMA_LIB = process.env.KARMA_LIB;
files = [
JASMINE,
JASMINE_ADAPTER,
'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js',
KARMA_LIB + '/jasmine-jquery-1.5.2.js',
// Test files
'tests/unit/javascript_tests/modules_assessment_tags/*.js',
// Test resources
... | JavaScript |
// GoogleDriveTagParent refers to top, but karma tests run inside of an iframe.
// Bind top to window so this difference doesn't cause breakage.
// TODO(johncox): get rid of this when we write real tests using iframs.
top = window;
describe('core tags module', function() {
window.cb_global = {
schema: {
p... | JavaScript |
basePath = '../../../..';
var KARMA_LIB = process.env.KARMA_LIB;
files = [
JASMINE,
JASMINE_ADAPTER,
'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js',
KARMA_LIB + '/jasmine-jquery-1.5.2.js',
// Test files
'tests/unit/javascript_tests/modules_core_tags/*.js',
// Files to test
'modul... | JavaScript |
describe('The student skill widget', function() {
beforeEach(function() {
var that = this;
gcbCanPostEvents = true;
gcbAudit = jasmine.createSpy('gcbAudit');
now = function() { return that.currentTimeMs; };
jasmine.getFixtures().fixturesPath = 'base/';
loadFixtures('tests/unit/javascript_tes... | JavaScript |
basePath = '../../../../..';
var KARMA_LIB = process.env.KARMA_LIB;
files = [
JASMINE,
JASMINE_ADAPTER,
'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js',
'https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js',
KARMA_LIB + '/jasmine-jquery-1.5.2.js',
// Test files
'te... | JavaScript |
// Variables required in global scope
var cbShowMsg, cbShowMsgAutoHide;
function MockSkillList(list, locationList) {
this.idCounter = 0;
this.list = list || [];
this.locationList = locationList;
}
MockSkillList.prototype = {
getSkillById: function(skillId) {
for (var i = 0; i < this.list.length; i++) {
... | JavaScript |
basePath = '../../../../..';
var KARMA_LIB = process.env.KARMA_LIB;
files = [
JASMINE,
JASMINE_ADAPTER,
'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js',
KARMA_LIB + '/jasmine-jquery-1.5.2.js',
// Test files
'tests/unit/javascript_tests/modules_skill_map/lesson_editor/*.js',
// Test ... | JavaScript |
describe('ButterBar', function() {
var popup, message, close, butterBar;
beforeEach(function() {
jasmine.getFixtures().fixturesPath = 'base/';
loadFixtures(
'tests/unit/javascript_tests/assets_lib_butterbar/fixture.html');
popup = $('#gcb-butterbar-top').get(0);
message = $('#gcb-butterbar-... | JavaScript |
basePath = '../../../..';
var KARMA_LIB = process.env.KARMA_LIB;
files = [
JASMINE,
JASMINE_ADAPTER,
'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js',
KARMA_LIB + '/jasmine-jquery-1.5.2.js',
// Test files
'tests/unit/javascript_tests/assets_lib_butterbar/*.js',
// Files to test
'mo... | JavaScript |
describe("questionnaire library", function () {
beforeEach(function () {
jasmine.getFixtures().fixturesPath = "base/";
loadFixtures("tests/unit/javascript_tests/modules_questionnaire/" +
"fixture.html");
this.payload = JSON.parse(readFixtures(
"tests/unit/javascript_tests/modules_question... | JavaScript |
basePath = '../../../..';
var KARMA_LIB = process.env.KARMA_LIB;
files = [
JASMINE,
JASMINE_ADAPTER,
'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js',
KARMA_LIB + '/jasmine-jquery-1.5.2.js',
// Test files
'tests/unit/javascript_tests/modules_questionnaire/*.js',
// Test resources
... | JavaScript |
describe('V 1.4 Activities and Assessments', function() {
var event_payloads, interactions;
var auditDataDict, auditSource, auditIsAsync, mockLocation;
function checkAuditValues(expectedData, expectedSource, expectedAsync) {
// This addition to the data dict mocks the corresponding action in gcbAudit
au... | JavaScript |
{
"multiple_choice_activity": [{
"questionType": "multiple choice",
"choices": [
["A", true, "Correct."],
["B", false, "Incorrect"],
["C", false, "Incorrect"],
["D", false, "Incorrect"]
]
}],
"multiple_choice_group_activity": [{
"questionType": "multiple choice group",
... | JavaScript |
basePath = '../../../..';
var KARMA_LIB = process.env.KARMA_LIB;
files = [
JASMINE,
JASMINE_ADAPTER,
'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js',
KARMA_LIB + '/jasmine-jquery-1.5.2.js',
// Test file
'tests/unit/javascript_tests/assets_lib_activity_generic/tests.js',
{
patter... | JavaScript |
describe('certificate criteria user interface', function() {
window.cb_global = {
schema: {
properties: {
course: {
properties: {
certificate_criteria: {
_inputex : {
is_peer_assessment_table : {
1: true,
2: fals... | JavaScript |
basePath = '../../../..';
var KARMA_LIB = process.env.KARMA_LIB;
files = [
JASMINE,
JASMINE_ADAPTER,
'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js',
KARMA_LIB + '/jasmine-jquery-1.5.2.js',
// Test files
'tests/unit/javascript_tests/modules_certificate/*.js',
// Test resources
{
... | JavaScript |
describe('deepEquals', function() {
it('matches objects which are equal', function() {
var a = {
'a': [1, 2, 3],
'b': {'c': 'C', 'd': null}
};
var b = {
'b': {'d': null, 'c': 'C'},
'a': [1, 2, 3]
};
expect(deepEquals(a, b)).toBe(true);
});
it('distinguishes objects are ... | JavaScript |
basePath = '../../../..';
files = [
JASMINE,
JASMINE_ADAPTER,
// Test files
'tests/unit/javascript_tests/modules_oeditor/*.js',
// Files to test
'modules/oeditor/oeditor.js',
'modules/oeditor/popup.js',
'modules/oeditor/rte.js'
];
exclude = [
'**/karma.conf.js'
];
browsers = ['PhantomJS'];
single... | JavaScript |
<!-- -*- mode: javascript; -*- -->
<div id="model_visualizations_dump"></div>
<div id="answers_pie_chart"></div>
<script>
// Integration tests want to know what data page we're on, so give
// them some text with which they can tell. Since these values are
// supplied by the REST service, we can be sure we're on the ... | JavaScript |
<!-- -*- mode: javascript; -*- -->
<script
src="/static/crossfilter-1.3.7/crossfilter-1.3.7/crossfilter.min.js">
</script>
<script
src="/static/d3-3.4.3/d3.min.js">
</script>
<script
src="/static/dc.js-1.6.0/dc.js-1.6.0/dc.min.js">
</script>
<link
rel="stylesheet"
type="text/css"
href="/static/dc.js-... | JavaScript |
/* begin Page */
/* Created by Artisteer v3.1.0.48375 */
// css helper
(function($) {
var data = [
{str:navigator.userAgent,sub:'Chrome',ver:'Chrome',name:'chrome'},
{str:navigator.vendor,sub:'Apple',ver:'Version',name:'safari'},
{prop:window.opera,ver:'Opera',name:'opera'},
... | JavaScript |
$(function(){
// menu();
// $('li').on('click',function(){
// $(this).addClass('active');
// });
})
function menu(){
$('a[href="/7347405064e/elencos/elenco/create"]').parent().parent().parent().parent().addClass('in');
} | JavaScript |
function ajaxValidarFormulario(options)
{
$.ajax({
type: 'POST',
url: $(options.formId).attr('action'),
data: $(options.formId).serialize() + '&' + 'ajax=' + options.formId,
dataType: 'json',
beforeSend: function (xhr) {
//Acciones a reaqlizar antes del envio
... | JavaScript |
//** jQuery Scroll to Top Control script- (c) Dynamic Drive DHTML code library: http://www.dynamicdrive.com.
//** Available/ usage terms at http://www.dynamicdrive.com (March 30th, 09')
//** v1.1 (April 7th, 09'):
//** 1) Adds ability to scroll to an absolute position (from top of page) or specific element on the page ... | JavaScript |
/**
* jquery.slicebox.js v1.1.0
* http://www.codrops.com
*
* Licensed under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*
* Copyright 2012, Codrops
* http://www.codrops.com
*/
;( function( $, window, undefined ) {
'use strict';
/*
* debouncedresize: special jQuery event that h... | JavaScript |
/*------------------------------------------------------------------
Project: Paperclip
Author: Yevgeny S.
URL: http://simpleqode.com/
https://twitter.com/YevSim
Version: 1.1
Created: 11/03/2014
Last change: 14/08/2014
------------------------------------------------------------------... | JavaScript |
/*------------------------------------------------------------------
Project: Paperclip
Author: Yevgeny S.
URL: http://simpleqode.com/
https://twitter.com/YevSim
Version: 1.1
Created: 11/03/2014
Last change: 14/08/2014
--------------------------------------------------------------... | JavaScript |
(function(){
var template =
'<div class="adaptive-switch{{wrapper_class}}">'+
'<div class="switch-inner">'+
'<div class="switch-size">'+
'<label class="switch-label switch-label-right"><span>{{biggest_text}}</span></label>'+
'</div>'+
'<div class="switch-dot"><div><span></span></div></div>'+
... | JavaScript |
/*------------------------------------------------------------------
Project: Paperclip
Author: Yevgeny S.
URL: http://simpleqode.com/
https://twitter.com/YevSim
Version: 1.1
Created: 11/03/2014
Last change: 14/08/2014
--------------------------------------------------------------... | JavaScript |
/*
* ******************************************************************************
* jquery.mb.components
* file: jquery.mb.mediaEmbedder.js
*
* Copyright (c) 2001-2014. Matteo Bicocchi (Pupunzi);
* Open lab srl, Firenze - Italy
* email: matteo@open-lab.com
* site: http://pupunzi.com
* blog: http://pu... | JavaScript |
/**
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* This file was added automatically by CKEditor builder.
* You may re-use it at any time to build CKEditor again.
*
* If you would like to bu... | JavaScript |
/**
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#... | JavaScript |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
| JavaScript |
/**
* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
// This file contains style definitions that can be used by CKEditor plugins.
//
// The most common use for it is the "stylescombo" plugin, which shows a combo
... | JavaScript |
/**
* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.dialog.add( 'myDialog', function( editor ) {
return {
title: 'My Dialog',
minWidth: 400,
minHeight: 200,
contents: [
{
id: 'tab1',... | JavaScript |
/**
* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
// Tool scripts for the sample pages.
// This file can be ignored and is not required to make use of CKEditor.
( function() {
CKEDITOR.on( 'instanceReady', ... | JavaScript |
/*
* jQuery Iframe Transport Plugin 1.4
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2011, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
/*jslint unparam: true, nomen: true */
/*global define, window, document */
(funct... | JavaScript |
/*
* jQuery File Upload Plugin Localization Example 6.5.1
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2012, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
/*global window */
window.locale = {
"fileupload": {
... | JavaScript |
/*
* jQuery XDomainRequest Transport Plugin 1.1.2
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2011, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*
* Based on Julian Aubourg's ajaxHooks xdr.js:
* https://github.com/jaubou... | JavaScript |
/*
* jQuery postMessage Transport Plugin 1.1
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2011, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
/*jslint unparam: true, nomen: true */
/*global define, window, document */
(... | JavaScript |
/*
* jQuery File Upload User Interface Plugin 6.9.1
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
/*jslint nomen: true, unparam: true, regexp: true */
/*global define, w... | JavaScript |
// github.com/paulirish/jquery-ajax-localstorage-cache
// dependent on Modernizr's localStorage test
var storage,
fail,
uid;
try {
uid = new Date;
(storage = window.localStorage).setItem(uid, uid);
fail = storage.getItem(uid) != uid;
storage.removeItem(uid);
fail && (storage = false);
} catc... | JavaScript |
/* jQuery timepicker
* replaces a single text input with a set of pulldowns to select hour, minute, and am/pm
*
* Copyright (c) 2007 Jason Huck/Core Five Creative (http://www.corefive.com/)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/lice... | JavaScript |
!function ($) {
"use strict";
// version: 2.7
// by Mattia Larentis - follow me on twitter! @SpiritualGuru
var addToAttribute = function (obj, array, value) {
var i = 0
, length = array.length;
for (; i < length; i++) {
obj = obj[array[i]] = obj[array[i]] || i =... | JavaScript |
var Markdown;
if (typeof exports === "object" && typeof require === "function") // we're in a CommonJS (e.g. Node.js) module
Markdown = exports;
else
Markdown = {};
// The following text is included for historical reasons, but should
// be taken with a pinch of salt; it's not all true anymore.
... | JavaScript |
(function($){
/**
* Returns the key values of the currently checked rows.
* @param id string the ID of the grid view container
* @param column_id string the ID of the column
* @return array the key values of the currently checked rows.
*/
$.fn.yiiGridView.selectable = function (id, fil... | JavaScript |
/**
* @license wysihtml5 v0.3.0
* https://github.com/xing/wysihtml5
*
* Author: Christopher Blum (https://github.com/tiff)
*
* Copyright (C) 2012 XING AG
* Licensed under the MIT license (MIT)
*
*/
var wysihtml5 = {
version: "0.3.0",
// namespaces
commands: {},
dom: {},
quirks: {},
... | JavaScript |
//! moment.js
//! version : 2.5.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
(function (undefined) {
/************************************
Constants
************************************/
var moment,
VERSION = "2.5.1",
global =... | JavaScript |
// needs Markdown.Converter.js at the moment
(function () {
var util = {},
position = {},
ui = {},
doc = window.document,
re = window.RegExp,
nav = window.navigator,
SETTINGS = { lineLength: 72 },
// Used to work around some browser bugs where we c... | JavaScript |
/*
* jQuery Iframe Transport Plugin 1.5
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2011, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
/*jslint unparam: true, nomen: true */
/*global define, window, document */
(funct... | JavaScript |
/*
* jQuery File Upload Plugin JS Example 6.11
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
/*jslint nomen: true, unparam: true, regexp: true */
/*global $, window, doc... | JavaScript |
/*
* jQuery XDomainRequest Transport Plugin 1.1.2
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2011, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*
* Based on Julian Aubourg's ajaxHooks xdr.js:
* https://github.com/jaubou... | JavaScript |
/*
* jQuery postMessage Transport Plugin 1.1
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2011, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
/*jslint unparam: true, nomen: true */
/*global define, window, document */
(... | JavaScript |
(function () {
var output, Converter;
if (typeof exports === "object" && typeof require === "function") { // we're in a CommonJS (e.g. Node.js) module
output = exports;
Converter = require("./Markdown.Converter").Converter;
} else {
output = window.Markdown;
Converter ... | JavaScript |
(function($){
var originalPos = null;
var fixHelperDimensions = function(e, tr) {
originalPos = tr.prevAll().length;
var $originals = tr.children();
var $helper = tr.clone();
$helper.children().each(function(index)
{
$(this).width($originals.eq(index).width()... | JavaScript |
/*! Copyright (c) 2011 by Jonas Mosbech - https://github.com/jmosbech/StickyTableHeaders
MIT license info: https://github.com/jmosbech/StickyTableHeaders/blob/master/license.txt */
;(function ($, window, undefined) {
'use strict';
var name = 'stickyTableHeaders',
id = 0,
defaults = {
fixedOffset: 0,
left... | JavaScript |
/* =========================================================
* rewritten by Amr Bedair <amr.bedair@gmail.com>
* @since booster v4.0.0-beta-2
*
* ========================================================= */
(function($){
var checkedItems = [];
/**
* Init events for Bulk Actions
* @param id string the ... | JavaScript |
/**
* @license Map plugin v0.1 for Highcharts
*
* (c) 2011-2013 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
/*
* See www.highcharts.com/studies/world-map.htm for use case.
*
* To do:
* - Optimize long variable names and alias adapter methods and Highcharts namespace variables
* - Zoom and pan... | JavaScript |
/**
* @license
* Highcharts funnel module, Beta
*
* (c) 2010-2012 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
/*global Highcharts */
(function (Highcharts) {
'use strict';
// create shortcuts
var defaultOptions = Highcharts.getOptions(),
defaultPlotOptions = defaultOptions.plotOptions,
serie... | JavaScript |
/**
* @license Data plugin for Highcharts
*
* (c) 2012-2013 Torstein Hønsi
* Last revision 2013-06-07
*
* 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
* dire... | 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) == '#') { // remov... | JavaScript |
(function (Highcharts, HighchartsAdapter) {
var UNDEFINED,
ALIGN_FACTOR,
ALLOWED_SHAPES,
Chart = Highcharts.Chart,
extend = Highcharts.extend,
each = Highcharts.each;
ALLOWED_SHAPES = ["path", "rect", "circle"];
ALIGN_FACTOR = {
top: 0,
left: 0,
center: 0.5,
middle: 0.5,
bottom: 1,
right: 1
};
// Highch... | JavaScript |
/**
* Highcharts Drilldown plugin
*
* Author: Torstein Honsi
* Last revision: 2013-02-18
* License: MIT License
*
* Demo: http://jsfiddle.net/highcharts/Vf3yT/
*/
/*global HighchartsAdapter*/
(function (H) {
"use strict";
var noop = function () {},
defaultOptions = H.getOptions(),
each = H.each,
ext... | JavaScript |
(function (Highcharts) {
var seriesTypes = Highcharts.seriesTypes,
each = Highcharts.each;
seriesTypes.heatmap = Highcharts.extendClass(seriesTypes.map, {
colorKey: 'z',
useMapGeometry: false,
pointArrayMap: ['y', 'z'],
translate: function () {
var series = this,
options = series.options,
dataM... | JavaScript |
/**
* @license Highcharts JS v3.0.6 (2013-10-04)
* Exporting module
*
* (c) 2010-2013 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, document, window, Math, setTimeout */
(function (Highcharts) { // encapsulate
// create shortcuts
var Chart = Highcharts.Chart... | JavaScript |
/**
* @license Highcharts JS v3.0.6 (2013-10-04)
* Plugin for displaying a message when there is no data visible in chart.
*
* (c) 2010-2013 Highsoft AS
* Author: Øystein Moseng
*
* License: www.highcharts.com/license
*/
(function (H) { // docs
var seriesTypes = H.seriesTypes,
chartPrototype = H.Chart.pro... | JavaScript |
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license Highcharts JS v3.0.6 (2013-10-04)
*
* (c) 2009-2013 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInterval, clear... | JavaScript |
/**
* @license Highcharts JS v3.0.6 (2013-10-04)
*
* Standalone Highcharts Framework
*
* License: MIT License
*/
/*global Highcharts */
var HighchartsAdapter = (function () {
var UNDEFINED,
doc = document,
emptyArray = [],
timers = [],
timerId,
Fx;
Math.easeInOutSine = function (t, b, c, d) {
return -c ... | JavaScript |
/**
* @license Highcharts JS v3.0.6 (2013-10-04)
* MooTools adapter
*
* (c) 2010-2013 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Fx, $, $extend, $each, $merge, Events, Event, DOMEvent */
(function () {
var win = window,
doc = document,
mooVersion = win.MooTools.ver... | JavaScript |
/**
* Dark blue theme for Highcharts JS
* @author Torstein Hønsi
*/
Highcharts.theme = {
colors: ["#DDDF0D", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee",
"#55BF3B", "#DF5353", "#7798BF", "#aaeeee"],
chart: {
backgroundColor: {
linearGradient: [0, 0, 250, 500],
stops: [
[0, 'rgb(... | JavaScript |
/**
* Grid theme for Highcharts JS
* @author Torstein Hønsi
*/
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, 255, 255)'... | JavaScript |
/**
* Skies theme for Highcharts JS
* @author Torstein Hønsi
*/
Highcharts.theme = {
colors: ["#514F78", "#42A07B", "#9B5E4A", "#72727F", "#1F949A", "#82914E", "#86777F", "#42A07B"],
chart: {
className: 'skies',
borderWidth: 0,
plotShadow: true,
plotBackgroundImage: 'http://www.highcharts.com/demo/gfx/ski... | JavaScript |
/**
* Gray theme for Highcharts JS
* @author Torstein Hønsi
*/
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 },
stops: [
... | JavaScript |
/**
* Dark blue theme for Highcharts JS
* @author Torstein Hønsi
*/
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 },
stops: [... | JavaScript |
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license Highcharts JS v3.0.6 (2013-10-04)
*
* (c) 2009-2013 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, document, window, navigator, setInterval, clearInterval, clearTimeout, setTimeout... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* This file was added automatically by CKEditor builder.
* You may re-use it at any time at http://ckeditor.com/builder to build CKEditor aga... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = ... | JavaScript |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
| JavaScript |
/**
* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
// This file contains style definitions that can be used by CKEditor plugins.
//
// The most common use for it is the "stylescombo" plugin, which shows a combo
... | JavaScript |
/**
* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.dialog.add( 'myDialog', function( editor ) {
return {
title: 'My Dialog',
minWidth: 400,
minHeight: 200,
contents: [
{
id: 'tab1',... | JavaScript |
/**
* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
// Tool scripts for the sample pages.
// This file can be ignored and is not required to make use of CKEditor.
(function() {
// Check for sample compliance.... | JavaScript |
(function ($) {
$.Redactor.opts.langs['nl'] = {
html: 'HTML',
video: 'Video',
image: 'Afbeelding',
table: 'Tabel',
link: 'Link',
link_insert: 'Link invoegen...',
link_edit: 'Edit link',
unlink: 'Link ontkoppelen',
formatting: 'Stijlen',
paragraph: 'Paragraaf',
quote: 'Citaat',
code: 'Code',
header1: 'Kop 1... | JavaScript |
(function ($) {
$.Redactor.opts.langs['it'] = {
html: 'HTML',
video: 'Video',
image: 'Immagine',
table: 'Tabella',
link: 'Collegamento',
link_insert: 'Inserisci un collegamento ...',
link_edit: 'Edit link',
unlink: 'Rimuovi il collegamento',
formatting: 'Stili',
paragraph: 'Paragrafo',
quote: 'Quote',
code:... | JavaScript |
(function ($) {
$.Redactor.opts.langs['de'] = {
html: 'HTML',
video: 'Video',
image: 'Bilder',
table: 'Tabelle',
link: 'Link',
link_insert: 'Link einfügen ...',
link_edit: 'Edit link',
unlink: 'Link entfernen',
formatting: 'Formatvorlagen',
paragraph: 'Absatz',
quote: 'Zitat',
code: 'Code',
h... | JavaScript |
(function ($) {
$.Redactor.opts.langs['by'] = {
html: 'Код',
video: 'Відэа',
image: 'Малюнак',
table: 'Табліца',
link: 'Спасылка',
link_insert: 'Уставіць спасылку ...',
link_edit: 'Edit link',
unlink: 'Выдаліць спасылку',
formatting: 'Стылі',
paragraph: 'Звычайны тэкст... | JavaScript |
(function ($) {
$.Redactor.opts.langs['no_NB'] = {
html: 'HTML',
video: 'Sett inn video...',
image: 'Sett inn bilde...',
table: 'Tabell',
link: 'Link',
link_insert: 'Sett inn link...',
link_edit: 'Rediger link',
unlink: 'Fjern link',
formatting: 'Formatering',
paragraph: 'Avsnitt',
quote: 'Sitat'... | JavaScript |
(function ($) {
$.Redactor.opts.langs['pl'] = {
html: 'Źródło',
video: 'Wideo',
image: 'Obrazek',
table: 'Tabela',
link: 'Link',
link_insert: 'Wstaw link ...',
link_edit: 'Edit link',
unlink: 'Usuń link',
formatting: 'Style',
paragraph: 'Zwykły tekst',
quote: 'Cytat',
code: 'Kod źródłowy',
header1: 'Nagłów... | JavaScript |
(function ($) {
$.Redactor.opts.langs['vi'] = {
html: 'Xem HTML',
video: 'Chèn Video...',
image: 'Chèn hình ảnh...',
table: 'Tạo bảng',
link: 'Đường dẫn',
link_insert: 'Thêm đường dẫn ...',
link_edit: 'Edit link',
unlink: 'Loại bỏ đường dẫn',
formatting: 'Định dạng văn bản',
paragraph: 'Đoạn văn',
quote: 'T... | JavaScript |
(function ($) {
$.Redactor.opts.langs['hu'] = {
html: 'HTML',
video: 'Videó',
image: 'Kép',
table: 'Tábla',
link: 'Link',
link_insert: 'Link beszúrás ...',
link_edit: 'Edit link',
unlink: 'Link megszüntetés',
formatting: 'Stílusok',
paragraph: 'Bekezdés',
quote: 'Idézet',
code: 'Kód',
header1: 'Címsor 1',
... | JavaScript |
(function ($) {
$.Redactor.opts.langs['hr'] = {
html: 'HTML',
video: 'Umetni video',
image: 'Umetni sliku',
table: 'Tablica',
link: 'Poveznica',
link_insert: 'Umetni poveznicu',
unlink: 'Ukloni poveznicu',
formatting: 'Uređivanje',
paragraph: 'Paragraf',
quote: 'Umetni citat',
code: 'Izvorni ... | JavaScript |
(function ($) {
$.Redactor.opts.langs['ru'] = {
html: 'Код',
video: 'Видео',
image: 'Изображение',
table: 'Таблица',
link: 'Ссылка',
link_insert: 'Вставить ссылку ...',
link_edit: 'Изменить ссылку',
unlink: 'Удалить ссылку',
formatting: 'Форматирование',
paragraph: 'Обычный текст',
quote: 'Цитата',
code: 'К... | JavaScript |
(function ($) {
$.Redactor.opts.langs['sv'] = {
html: 'HTML',
video: 'Sätt In Video...',
image: 'Sätt In Bild...',
table: 'Tabell',
link: 'Länk',
link_insert: 'Sätt In Länk...',
link_edit: 'Edit link',
unlink: 'Tag Bort Länk',
formatting: 'Formatering',
paragraph: 'Paragraf',
quote: 'Citat',
code: 'Kod',
h... | JavaScript |
(function ($) {
$.Redactor.opts.langs['sr-lat'] = {
html: 'HTML',
video: 'Ubaci video',
image: 'Ubaci fotografiju',
table: 'Tabela',
link: 'Veza',
link_insert: 'Ubaci vezu ...',
link_edit: 'Edit link',
unlink: 'Ukloni vezu',
formatting: 'Stilovi',
paragraph: 'Paragraf',
quote: 'Citat',
code: 'Izvorni kod',
... | JavaScript |
(function ($) {
$.Redactor.opts.langs['tr'] = {
html: 'HTML',
video: 'Video',
image: 'Görsel',
table: 'Tablo',
link: 'Bağlantı',
link_insert: 'Bağlantı Ekle ...',
link_edit: 'Edit link',
unlink: 'Bağlantı Kaldır',
formatting: 'Stiller',
paragraph: 'Paragraf',
quote: 'Alıntı',
code: 'Kod',
header1: 'Başlık ... | JavaScript |
(function ($) {
$.Redactor.opts.langs['fr'] = {
html: 'Code HTML',
video: 'Insérer une vidéo...',
image: 'Insérer une image...',
table: 'Tableau',
link: 'Lien',
link_insert: 'Insérer un lien...',
link_edit: 'Modifier le lien',
unlink: 'Supprimer le lien',
formatting: 'Styles',
paragraph: 'Paragraphe',
quote:... | JavaScript |
(function ($) {
$.Redactor.opts.langs['ja'] = {
html: 'HTML',
video: 'ビデオ',
image: 'イメージ',
table: 'テーブル',
link: 'リンク',
link_insert: 'リンクの挿入 ...',
link_edit: 'Edit link',
unlink: 'リンクを外す',
formatting: 'スタイル',
paragraph: '段落',
quote: '引用',
code: 'コード',
header1: 'ヘッダー 1',
header2: 'ヘッダー 2',
header3: 'ヘッダー 3... | JavaScript |
(function ($) {
$.Redactor.opts.langs['eo'] = {
html: 'HTML', // substantive
video: 'Enŝovu videon...', // imperative
image: 'Enŝovu bildon...', // imperative
table: 'Tabelo', // substantive
link: 'Ligu', // imperative
link_insert: 'Enŝovu ligilon ...', // imperative
link_edit: 'Edit link',
unlink: 'Malligu', /... | JavaScript |
(function ($) {
$.Redactor.opts.langs['sk'] = {
html: 'HTML',
video: 'Video',
image: 'Obrázok',
table: 'Tabulka',
link: 'Odkaz',
link_insert: 'Vložiť odkaz ...',
link_edit: 'Edit link',
unlink: 'Odstrániť odkaz',
formatting: 'Štýl',
paragraph: 'Odstavec',
quote: 'Citácia',
code: 'Kód',
header1: 'Nadpis 1',... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.