code stringlengths 2 1.05M |
|---|
define({
"queries": "Запросы",
"addNew": "Добавить новое",
"newQuery": "Новый запрос",
"queryLayer": "Запрос слоя",
"setSource": "Установить",
"setDataSource": "Задать источник данных",
"name": "Имя канала",
"querySource": "Источник данных",
"queryName": "Имя задачи",
"queryDefinition": "Определение... |
'use strict';
var util = require('./util');
var isWindows = process.platform === 'win32';
function assertPath(path) {
if (typeof path !== 'string') {
throw new TypeError('Path must be a string. Received ' +
util.inspect(path));
}
}
// resolves . and .. elements in a path array with di... |
function render(param) {
return <root>{param}</root>;
}
|
module.exports = {
config: {
type: 'polarArea',
data: {
labels: [0, 1, 2, 3, 4, 5],
datasets: [
{
// option in dataset
data: [0, 2, 4, null, 6, 8],
borderAlign: [
'center',
'inner',
'center',
'inner',
'center',
'inner',
],
borderColor: '#00ff00... |
/**
* @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... |
module.exports = config => {
config.set({
basePath: __dirname,
singleRun: true,
frameworks: ['mocha'],
reporters: ['dots'],
browsers: ['Chrome'],
files: [
'test/**/*.spec.js',
],
preprocessors: {
'test/**/*.spec.js': ['webpack'],
},
webpack: {
resolve: {
... |
import { fn, text } from './dep1.js';
export default class Main1 {
constructor () {
fn();
console.log(text);
}
} |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.1-master-7cdd32a
*/
goog.provide('ngmaterial.components.chips');
goog.require('ngmaterial.components.autocomplete');
goog.require('ngmaterial.core');
/**
* @ngdoc module
* @name material.components.chips
*/
/*
* @see js f... |
define({
"_widgetLabel": "Ruudukkomuotoinen viitegrafiikka",
"newGRGFromAreaButtonLabel": "Määritä ruudukko alueesta",
"newGRGFromPointButtonLabel": "Määritä ruudukko pisteestä",
"newGRGFromAreaTitle": "Määritä ruudukko alueesta",
"newGRGFromPointTitle": "Määritä ruudukko pisteestä",
"newGRGBySizeButtonLabe... |
var http = require('http');
var cicada = require('../');
var test = require('tap').test;
var spawn = require('child_process').spawn;
var mkdirp = require('mkdirp');
var basedir = '/tmp/cicada-dirmapped-test/'
+ Math.random().toString(16).slice(2);
mkdirp.sync(basedir + '/abcdefg');
var ci;
var server = http.creat... |
import React from 'react';
class Page extends React.Component {
render() {
return (
<div className='page'>
{this.props.children}
</div>
);
}
}
export default Page;
|
/* spreadsheetView Plugin
* Depends:
* ui.core.js
* ui.view.js
*
Author
cf AUTHORS.txt
License
Copyright (c) 2010-2012 Massachusetts Institute of Technology.
MIT License (cf. MIT-LICENSE.txt or http://www.opensource.org/licenses/mit-license.php)
*/
/*global jQuery:true */
define(function(require) {
... |
// test rightArithShift
var assert = require('assert'),
error = require('../../../lib/error/index'),
math = require('../../../index'),
bignumber = math.bignumber,
rightArithShift = math.rightArithShift;
describe('rightArithShift', function () {
it('should right arithmetically shift a number by a giv... |
import webpack from 'webpack';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import config, { postcss, COMMON_CSS } from './config';
export default {
devtool: 'eval-source-map',
resolve: { extensions: ['', '.js', '.jsx', '.css', '.png', '.jpg'] },
entry: config.paths.demo,
module: {
preLoaders: [
... |
var configuredModules = [];
var app; |
var Bleext = {
version : "1.0.0"
}; |
/*
* Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the ri... |
var express = require('express');
var router = express.Router();
var projectController = require('../controllers/projectController');
router.get('/', projectController.allProjects);
// To add a project by curl // NOTE: Untested
// curl -H "Content-Type: application/json" -X POST -d '{"name":"my task", "description"... |
/**
* @module ember-paper
*/
import $ from 'jquery';
import { computed } from '@ember/object';
import { htmlSafe } from '@ember/string';
import layout from '../templates/components/paper-menu-content';
import ContentComponent from 'ember-basic-dropdown/components/basic-dropdown/content';
import { nextTick } from 'em... |
window.WhereAmIButton = (function() {
var defaultOptions = {
selector: '.whereami-button',
mapInstance: null
};
/**
* Class that contains the behavior of the
*
* @class
* @param {Object} options
*/
function WhereAmIButton(options) {
this.options = $.exte... |
var mongoose = require('mongoose');
var config = require('../config');
var logger = require('../common/logger')
mongoose.connect(config.db, {
server: {poolSize: 20}
}, function (err) {
if (err) {
logger.error('connect to %s error: ', config.db, err.message);
process.exit(1);
}
});
// models
require('.... |
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.hola_videojs_h... |
"use strict";
var sinon = require("sinon"),
assert = require("assert"),
path = require("path"),
cli = require("../../lib/cli"),
cjs = require("../../lib/capturejs");
describe("cli", function () {
describe("#start()", function () {
var sandbox = sinon.sandbox.create(), argv;
before... |
/*! jQuery UI - v1.12.1 - 2018-02-14
* http://jqueryui.com
* Includes: widget.js, position.js, keycode.js, unique-id.js, widgets/autocomplete.js, widgets/menu.js
* Copyright jQuery Foundation and other contributors; Licensed MIT */
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
// AMD. ... |
version https://git-lfs.github.com/spec/v1
oid sha256:699e7cdff3e513f13c0e6959449480c0a7f843ddcd0dbe904606634802cbe114
size 164
|
/**
* StringWriter.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
(function(tinymce) {
/**
* This class writes nodes into a string.
* @class tinymce.dom.StringWriter
... |
const x = (n) => do {
switch (n) {
case 0:
'a';
case 1:
'b';
break;
default: 'd';
case 2:
'c';
case 3:
case 4:
}
} |
YUI.add('perfcolumnseriesgroup-benchmark', function (Y) {
Y.BenchmarkSuite = new Benchmark.Suite();
var suite = Y.BenchmarkSuite,
container,
graphic,
mockChart,
mockGraph,
xAxis,
yAxis,
dataProvider = Y.GeneratePerfTestDataProvider.getData(),
serie... |
var jsdom = require('jsdom');
global.document = jsdom.jsdom('<!doctype html><html><body></body></html>');
global.window = document.defaultView;
global.navigator = global.window.navigator;
propagateToGlobal(window);
function propagateToGlobal (window) {
var key;
for (key in window) {
if (!window.hasOw... |
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<0eb506171883c5911943baafaa0fefa8>>
* @flow
* @lightSyntaxTransform
* @nogrep
*/
/* eslint-disabl... |
"use strict";
function parseWithFlow(text) {
// Inline the require to avoid loading all the JS if we don't use it
const flowParser = require("flow-parser");
const ast = flowParser.parse(text, {
esproposal_class_instance_fields: true,
esproposal_class_static_fields: true,
esproposal_export_star_as: t... |
import BasePlugin from './../_base';
import {arrayEach, arrayFilter} from './../../helpers/array';
import {cancelAnimationFrame, requestAnimationFrame} from './../../helpers/feature';
import {isVisible} from './../../helpers/dom/element';
import {GhostTable} from './../../utils/ghostTable';
import {isObject, objectEach... |
exports.commands = {
//commands for score and such
resetleaderboard: function(arg, by, room) {
if (!Bot.hasRank(by, '#~')) return false;
Economy.clear(room, by);
Bot.say(by, room, 'The leaderboard has been reset.');
},
registerroom: function(arg, by, room) {
if (room.char... |
module.exports = auth;
auth.doAuth = doAuth;
auth.desc = "Performs an auth call against an Auth Policy";
auth.usage = "\nfhc auth <policy-id> <client-token> <device> <params>"
+"\n where <policy-id> is an Auth Policy Id"
+"\n where <client-token> is typically an App Id"
+"\n ... |
var express = require('express');
var helper = require('../helpers');
var datafile = 'server/data/activities.json';
var router = express.Router();
/* GET all activities */
/* http://localhost:3000/api/activities */
router.route('/')
.get(function(req, res) {
var data = helper.readData(datafile);
v... |
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
// MIT License. See license.txt
frappe.provide("website");
$.extend(frappe, {
_assets_loaded: [],
require: function(url) {
if(frappe._assets_loaded.indexOf(url)!==-1) return;
$.ajax({
url: url,
async: false,
dataType: "text",
s... |
// video plugin definition
var vp;
// Step 1: initialize plugins
$(document).bind("deviceready", function() {
vp = window.plugins.videoPlayer;
});
// Step 2: prepare callback function for videoplugin
var videoplayerCallBack = function(param) { // callback function should be: pluginname + CallBack
if (param ... |
version https://git-lfs.github.com/spec/v1
oid sha256:cb46cc721cda5b746592c3cddcb48728604803d44389a8a2bc535fa3669d16a2
size 450
|
/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.image.MagnifierLite"]){
dojo._hasResource["dojox.image.MagnifierLite"]=true;
dojo.provide("doj... |
'use strict';
require('mocha');
require('should');
var assert = require('assert');
var generate = require('..');
var app;
describe('app', function() {
beforeEach(function() {
app = generate();
app.create('docs');
});
describe('add doc', function() {
it('should add docs to `app.views.docs`:', functi... |
d3.sankey = function() {
var sankey = {},
nodeWidth = 24,
nodePadding = 8,
size = [1, 1],
nodes = [],
links = [],
sinksRight = true;
sankey.nodeWidth = function(_) {
if (!arguments.length) return nodeWidth;
nodeWidth = +_;
return sankey;
};
sankey.nodePadding = ... |
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... |
/**
* Created by intelligrape on 9/7/14.
*/
// users.js
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var UsersSchema = new Schema({
id: String,
name: String,
team: String,
info: String
});
module.exports = mongoose.model('Users', UsersSchema); |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 Apigee Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
/* */
"format register";
"use strict";
var _prototypeProperties = function (child, staticProps, instanceProps) {
if (staticProps) Object.defineProperties(child, staticProps);
if (instanceProps) Object.defineProperties(child.prototype, instanceProps);
};
var Behavior = require("aurelia-templating").Behavior;
fu... |
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
switch (arguments.length) {
case 2: return decorators.reduceRight(function(o, d) { r... |
// @thisWillBeFlowInTest
const {foo} = require('./empty');
|
/*
1. Write a script that allocates array of 20 integers
and initializes each element by its index multiplied
by 5. Print the obtained array on the console.
*/
taskName = "1. Multiplied by 20";
function Main(bufferElement) {
var numbers = new Array(20);
for (var i = 0; i < numbers.length; i++... |
if (typeof module === "object" && typeof require === "function") {
var sinon = require("sinon");
var buster = require("buster-core");
buster.extend(buster, {
assertions: require("buster-assertions"),
dotsReporter: require("../../../../lib/buster-test/reporters/dots")
});
buster.uti... |
;(function(){
// CommonJS require()
function require(p){
var path = require.resolve(p)
, mod = require.modules[path];
if (!mod) throw new Error('failed to require "' + p + '"');
if (!mod.exports) {
mod.exports = {};
mod.call(mod.exports, mod, mod.exports, require.relative(path));
}
... |
const express = require('express');
const path = require('path');
const config = require('../../../config');
const constants = require('../../../lib/constants');
const themeUtils = require('../../../services/themes');
function isBlackListedFileType(file) {
const blackListedFileTypes = ['.hbs', '.md', '.json'];
... |
import React, { Component } from 'react'
import Router from 'next/router'
import { TabBar, Icon } from 'antd-mobile'
export default class MenuBar extends Component {
render () {
const {
pathname,
children
} = this.props
return (
<TabBar>
{tabBarData.map(({ title, icon, selected... |
'use strict';
var is = require('../is');
var Style = require('../style');
var corefn = ({
style: function( newStyle ){
if( newStyle ){
var s = this.setStyle( newStyle );
s.update();
}
return this._private.style;
},
setStyle: function( style ){
var _p = this._private;
if( is.... |
export function Corge ( x ) {
this.value = x;
}
|
var searchData=
[
['grab_5fangle',['grab_angle',['../a00029.html#a0681b9e1a1802a371c77ee589f29a2c8',1,'LEAP_HAND']]],
['grab_5fstrength',['grab_strength',['../a00029.html#ae269e3744fbc60922a6530d9c2563b17',1,'LEAP_HAND']]]
];
|
import renderOpenApi from './openapi';
export default renderOpenApi;
|
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'specialchar', 'gl', {
options: 'Opcións de caracteres especiais',
title: 'Seleccione un carácter especial',
toolbar: 'Inserir un carácter e... |
// Generated by CoffeeScript 1.3.3
(function() {
exports.Mask = require('./lib/mask');
exports.RelPathSpec = require('./lib/relpathspec');
exports.RelPathList = require('./lib/relpathlist');
exports.TreeStream = require('./lib/treestream');
exports.find = require('./lib/find');
}).call(this);
|
/*
cssx/shim/inlineBlock
(c) copyright 2010, unscriptable.com
author: john
LICENSE: see the LICENSE.txt file. If file is missing, this file is subject to the AFL 3.0
license at the following url: http://www.opensource.org/licenses/afl-3.0.php.
This cssx plugin fixes lack of inline-block suppor... |
// Last time updated at Nov 18, 2014, 08:32:23
// Latest file can be found here: https://cdn.webrtc-experiment.com/ConcatenateBlobs.js
// Muaz Khan - www.MuazKhan.com
// MIT License - www.WebRTC-Experiment.com/licence
// Source Code - https://github.com/muaz-khan/ConcatenateBlobs
// Demo - https://www.We... |
var React = require('react');
var joinClasses = require('./utils/joinClasses');
var classSet = require('./utils/classSet');
var cloneWithProps = require('./utils/cloneWithProps');
var BootstrapMixin = require('./BootstrapMixin');
var ValidComponentChildren = require('./utils/ValidComponentChildren');
var PanelGroup =... |
import { PromiseWrapper } from 'angular2/src/facade/async';
export class Rectangle {
constructor(left, top, width, height) {
this.left = left;
this.right = left + width;
this.top = top;
this.bottom = top + height;
this.height = height;
this.width = width;
}
}
expo... |
var FILE_ENCODING = 'utf-8',
SRC_DIR = 'dev/src',
DIST_DIR = 'dist',
DIST_NAME = 'crossroads.js',
DIST_MIN_NAME = 'crossroads.min.js',
DIST_PATH = DIST_DIR +'/'+ DIST_NAME,
DIST_MIN_PATH = DIST_DIR +'/'+ DIST_MIN_NAME;
var _fs = require('fs'),
_path = require('path'),
_pkg = JSON.pars... |
/*!
* # Semantic UI 2.6.3 - Tab
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof self !... |
define(function (require) {
var d3 = require("d3");
return function rect() {
// Private variables
var x = function (d) { return d.x; };
var y = function (d) { return d.y; };
var width = 10;
var height = 10;
var cssClass = "rect";
var fillStyle = "blue";
var lineWidth = 3;
var s... |
// Vex Flow
// Mohit Muthanna <mohit@muthanna.com>
//
// Copyright Mohit Cheppudira 2010
/** @constructor */
Vex.Flow.Stave = function(x, y, width, options) {
if (arguments.length > 0) this.init(x, y, width, options);
}
Vex.Flow.Stave.prototype.init = function(x, y, width, options) {
this.x = x;
this.y = y;
t... |
'use strict';
/*!
* Simplified lodash.get to work around the annoying null quirk. See:
* https://github.com/lodash/lodash/issues/3659
*/
module.exports = function get(obj, path, def) {
const parts = path.split('.');
let rest = path;
let cur = obj;
for (const part of parts) {
if (cur == null) {
re... |
var searchData=
[
['m',['m',['../structedda_1_1dist_1_1GMMTuple.html#a51f92001831208525f57b22006b874e8',1,'edda::dist::GMMTuple']]],
['m_5fbinwidth',['m_binWidth',['../classedda_1_1dist_1_1Histogram.html#a78e968cd9358d661ba8b06ce44f5c987',1,'edda::dist::Histogram']]],
['m_5fcdf',['m_cdf',['../classedda_1_1dist_1_... |
/**
* This code is mostly from the old Etherpad. Please help us to comment this code.
* This helps other people to understand this code better and helps them to improve it.
* TL;DR COMMENTS ON THIS FILE ARE HIGHLY APPRECIATED
*/
/**
* Copyright 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.... |
'use strict';
/**
* @ngdoc function
* @name ng.$exceptionHandler
* @requires $log
*
* @description
* Any uncaught exception in angular expressions is delegated to this service.
* The default implementation simply delegates to `$log.error` which logs it into
* the browser console.
*
* In unit tests, if `angul... |
/* eslint-disable */
;(function(root, factory) {
if (typeof define === 'function' && define.amd) { // AMD
define(['../core'], factory);
} else if (typeof exports === 'object') { // Node.js
module.exports = factory(require('../core'));
} else { // Browser
root.Blockly.Msg = factory(root.Blockly);
}
}... |
// This file was automatically generated. Do not modify.
'use strict';
goog.provide('Blockly.Msg.az');
goog.require('Blockly.Msg');
Blockly.Msg.ADD_COMMENT = "Şərh əlavə et";
Blockly.Msg.CHANGE_VALUE_TITLE = "Qiyməti dəyiş:";
Blockly.Msg.CLEAN_UP = "Blokları təmizlə";
Blockly.Msg.COLLAPSE_ALL = "Blokları yığ";
Blo... |
Clazz.declarePackage ("JV");
Clazz.load (["JU.A4", "$.M3", "$.M4", "$.P3", "$.P3i", "$.V3", "J.c.STER", "JU.Point3fi"], "JV.TransformManager", ["java.lang.Boolean", "$.Float", "java.util.Hashtable", "JU.P4", "$.Quat", "$.SB", "J.api.Interface", "JU.Escape", "$.Logger"], function () {
c$ = Clazz.decorateAsClass (funct... |
/* */
"format global";
"deps angular";
/**
* @license AngularJS v1.5.8
* (c) 2010-2016 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular) {'use strict';
var forEach;
var isArray;
var isString;
var jqLite;
/**
* @ngdoc module
* @name ngMessages
* @description
*
* The `ngMessages` ... |
'use strict';
var CleanCSS = require('clean-css');
var decode = require('he').decode;
var HTMLParser = require('./htmlparser').HTMLParser;
var RelateUrl = require('relateurl');
var TokenChain = require('./tokenchain');
var UglifyJS = require('uglify-js');
var utils = require('./utils');
function trimWhitespace(str) {... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
If Type(x) is String and Type(y) is Object,
return x == ToPrimitive(y)
es5id: 11.9.1_A7.7
description: y is object, x is primitive string
---*/
//CHECK#1
if (("1" =... |
require('./common/runtime.js')
require('./common/vendor.js')
require('./common/main.js') |
Template.infoAccountModalInner.helpers({
email: function () {
if (this.emails && this.emails.length)
return this.emails[0].address;
if (this.services) {
//Iterate through services
for (var serviceName in this.services) {
var serviceObject = this.services[serviceName];
//If an 'id' isset then assu... |
declare module "react-typekit" {
declare class Typekit extends React$Component {
props: {
kitId: string
};
}
declare module.exports: typeof Typekit;
}
|
import React, {Component, PropTypes} from 'react';
import transitions from '../styles/transitions';
import EnhancedSwitch from '../internal/EnhancedSwitch';
import RadioButtonOff from '../svg-icons/toggle/radio-button-unchecked';
import RadioButtonOn from '../svg-icons/toggle/radio-button-checked';
function getStyles(... |
'use strict';
var _require = require('../tokenTypes'),
regExpToken = _require.regExpToken,
tokens = _require.tokens;
var flex = require('./flex');
var font = require('./font');
var fontFamily = require('./fontFamily');
var transform = require('./transform');
var _require2 = require('./util'),
directionFa... |
// Copyright 2018 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
author: Mathias Bynens
description: >
Some binary properties used to be part of the Unicode property escapes
proposal but were later removed. They must not be supported.
esid: sec-sta... |
$(document).ready(function() {
$(".container").hide();
$(".container").fadeIn('5000');
$(".showcase-wrapper").hide();
$(".showcase-wrapper").fadeIn("slow");
});
/*
var toggle = false;
$('.nav-toggle').on('click', function () {
if (toggle == false) {
$('#sidebar-wrapper').stop().animate({
... |
import Promise from 'bluebird';
import cheerio from 'cheerio';
import leetify from 'leet';
import R from 'ramda';
import { subCommands as helpText } from '../help';
import T from '../../translate';
const request = Promise.promisify(require('request'));
const gizoogle = Promise.promisifyAll(require('gizoogle'));
func... |
require("ember-views/views/view");
require("ember-handlebars/ext");
/**
@module ember
@submodule ember-handlebars
*/
var set = Ember.set, get = Ember.get;
/**
The `Ember.Checkbox` view class renders a checkbox
[input](https://developer.mozilla.org/en/HTML/Element/Input) element. It
allows for binding an Ember ... |
'use strict';
const common = require('../common.js');
const assert = require('assert');
const bench = common.createBenchmark(main, {
n: [1e6],
direction: ['start', 'end']
});
function main({ direction, n }) {
const timersList = [];
bench.start();
if (direction === 'start') {
for (let i = 1; i <= n; i++... |
/**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-2016 Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React, { Component } from 'react';
import EventEmit... |
(function($){
$(function(){
var window_width = $(window).width();
// convert rgb to hex value string
function rgb2hex(rgb) {
if (/^#[0-9A-F]{6}$/i.test(rgb)) { return rgb; }
rgb = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
if (rgb === null) { return "N/A"; }
function hex(x... |
/*
* Copyright 2013 Apigee Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, pub... |
/**
* Copyright JS Foundation and other contributors, http://js.foundation
*
* 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 b... |
/**
* Print File.program
*/
"use strict";
exports.__esModule = true;
exports.File = File;
exports.Program = Program;
exports.BlockStatement = BlockStatement;
exports.Noop = Noop;
function File(node, print) {
print.plain(node.program);
}
/**
* Print all nodes in a Program.body.
*/
function Program(node, print... |
/*
Language: BASIC
Author: Raphaël Assénat <raph@raphnet.net>
Description: Based on the BASIC reference from the Tandy 1000 guide
Website: https://en.wikipedia.org/wiki/Tandy_1000
*/
/** @type LanguageFn */
function basic(hljs) {
return {
name: 'BASIC',
case_insensitive: true,
illegal: '^\.',
// Supp... |
/*
* BrainBrowser: Web-based Neurological Visualization Tools
* (https://brainbrowser.cbrain.mcgill.ca)
*
* Copyright (C) 2011
* The Royal Institution for the Advancement of Learning
* McGill University
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero Gener... |
export function JSXAttribute(node: Object) {
this.print(node.name, node);
if (node.value) {
this.token("=");
this.print(node.value, node);
}
}
export function JSXIdentifier(node: Object) {
this.word(node.name);
}
export function JSXNamespacedName(node: Object) {
this.print(node.namespace, node);
t... |
/*
Copyright 2013-2015 ASIAL CORPORATION
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 writing, so... |
'use strict';
import 'array.from';
export const html = (strings, ...values) => {
let str = '';
if(Array.isArray(strings)){
for(let i = 0; i < strings.length; i++){
if(strings[i]) str += strings[i];
if(values[i]) str += values[i];
}
}else{
str = strings;
}
let doc = new DOMParser()... |
'use strict';
const path = require('path');
const SilentError = require('silent-error');
const stringUtil = require('ember-cli-string-utils');
const pathUtil = require('ember-cli-path-utils');
const getPathOption = require('ember-cli-get-component-path-option');
const normalizeEntityName = require('ember-cli-normalize... |
/**
@license
* @pnp/logging v1.1.5-0 - pnp - light-weight, subscribable logging framework
* MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE)
* Copyright (c) 2018 Microsoft
* docs: https://pnp.github.io/pnpjs/
* source: https:github.com/pnp/pnpjs
* bugs: https://github.com/pnp/pnpjs/issues
*/
/**
* Class ... |
//>>built
define("dojox/grid/nls/DataGrid_ja-jp",{"dijit/nls/loading":{"loadingState":"ロード中...","errorState":"エラーが発生しました。","_localized":{}}});
|
define(function(require) {
var Backbone = require('backbone'),
d3 = require('d3'),
util = require('summary/util');
require('date');
var CStat = Backbone.Model.extend({
url: '/apps/dbwipes/api/column_distribution/',
defaults: function() {
return {
col: null,
type: null... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.