code stringlengths 2 1.05M |
|---|
function readLocations(data) {
var lines = data.split('\n')
var i = 0
var dimensions, edgeWeightType
for (; i < lines.length; i++) {
var line = lines[i]
if (line.startsWith('DIMENSION')) {
dimensions = parseInt(line.split(':')[1].trim())
} else if (line.startsWith... |
// Karma configuration
// Generated on Sun Oct 27 2013 01:56:27 GMT+0200 (CEST)
module.exports = function (config) {
config.set({
// base path, that will be used to resolve files and exclude
basePath: '.',
// frameworks to use
frameworks: ['requirejs', 'jasmine'],
// list of files ... |
var MeshCanvasRenderer = function (renderer, src, interpolationPercentage, camera)
{
};
module.exports = MeshCanvasRenderer;
|
'use strict';
module.exports = function(driver, connectorSpec) {
connectorSpec.shouldBehaveLikeMusicSite(driver, {
url: 'https://www.reverbnation.com/collection/397-reverbnation-explores-alternative',
playButtonSelector: '.wrap .button--play'
});
};
|
/**
* Utility class for manipulating CSS rules
* @singleton
*/
Ext.define('Ext.util.CSS', (function() {
var rules = null,
doc = document,
camelRe = /(-[a-z])/gi,
camelFn = function(m, a){ return a.charAt(1).toUpperCase(); };
return {
singleton: true,
constructor: fu... |
const webpack = require('webpack');
const ProvidePlugin = require('webpack/lib/ProvidePlugin');
const ContextReplacementPlugin = require('webpack/lib/ContextReplacementPlugin');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const HtmlWebpackP... |
'use strict';var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var __decorate = (this && this.__decorate) || fun... |
import { HTTP } from 'meteor/http';
// URL prefix for tests to talk to
let _XHR_URL_PREFIX = '/http_test_responder';
const url_base = function () {
if (Meteor.isServer) {
const address = WebApp.httpServer.address();
return 'http://127.0.0.1:' + address.port;
} else {
return '';
}
}
const url_prefix... |
'use strict';
module.exports = function(environment) {
let ENV = {
modulePrefix: 'dummy',
environment,
rootURL: '/',
locationType: 'auto',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g. EMBER_NATIVE_DECORATOR_SUPPORT: tr... |
/**
* A path of nodes each bound to a state used to specify a specific application state.
*/
Ext.define('StateRouter.staterouter.Path', {
requires: [
'StateRouter.staterouter.PathNode'
],
nodes: [],
allParams: {}, // TODO: Consider deleting, see Router.buildToPath
constructor: function ... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
import Vue from 'vue'
import App from './App'
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
el: '#app',
template: '<App/>',
components: { App }
})
|
/*
* This file is covered by the LICENSING file in the root of this project.
*/
(function ($, oh) {
'use strict';
var hackathon_name = oh.comm.getCurrentHackathon();
var hackathon_detail = {};
var tid = 0;
var lid = 0;
var uid = 0;
var team_date = {};
var templates = {
video... |
module.exports.run = function(next) {
var assert = require('assert');
var sys = require('sys') || require('util');
var fs = require('fs');
var random = require('../tools/random_generator');
var TEST_KEYS_NUMBER = 10;
var OBJECT_COUNT = 1000;
var file_path = __dirname + '/../tmp/cached_key_map... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M20.94 11c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c4.17-.46 7.48-3.77 ... |
/**
@preserveCopyright (c) 2013 Sencha Labs - Author: Nicolas Garcia Belmonte (http://philogb.github.com/)
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 li... |
/**
* @fileOverview Disallow use of attrs snapshot in `didReceiveAttrs` and `didUpdateAttrs`.
*/
'use strict';
const { get } = require('../utils/get');
/**
* Determines if `didReceiveAttrs` or `didUpdateAttrs` are recieving parameters. If so,
* this indicates the `attrs` snapshots are being used within those meth... |
import Vue from 'vue'
import { invokeWithErrorHandling } from 'core/util/error'
describe('invokeWithErrorHandling', () => {
if (typeof Promise !== 'undefined') {
it('should errorHandler call once when nested calls return rejected promise', done => {
const originalHandler = Vue.config.errorHandler
con... |
module.exports={A:{A:{"1":"A B","2":"K D G hB","132":"E"},B:{"1":"2 C d J M H I"},C:{"1":"0 1 2 3 4 6 7 8 9 F N K D G E A B C d J M H I O P Q R S T U V W X Y Z a b c e f g h i j k l m n o L q r s t u v w x y z HB GB BB CB FB YB XB","2":"eB DB"},D:{"1":"0 1 2 3 4 6 7 8 9 F N K D G E A B C d J M H I O P Q R S T U V W X Y... |
var searchData=
[
['tone_2ecpp',['Tone.cpp',['../_tone_8cpp.html',1,'']]]
];
|
define(function(){
var editable = {};
editable.make = function(control){
var el = control.el;
if(el){
el.setAttribute('contenteditable',true);
}
el.addEventListener('focus', function(evt){
var p = control.parentControl;
var cancelBubble = fal... |
someObject.someFunction().then(function() {
return someObject.someFunction().then(function() {
return someObject.someFunction().then(function() {
return someObject.someFunction().then(function() {
return someObject.someFunction().then(function() {
return someObject.someFunction().then(func... |
var router = require('express').Router();
var ac = require('ac-server-ctrl');
router.get('*', function(req, res, next) {
res.setHeader("Access-Control-Allow-Origin", "*");
res.type('application/json');
next();
});
router.get('/content', function(req, res) {
res.json({
cars: require('../libs/content-cars')... |
'use strict';
require('../../modules/es6.object.is');
module.exports = require('../../modules/$.core').Object.is;
//# sourceMappingURL=is-compiled.js.map |
module.exports = {
// Reaplce with your settings these...
emailService: 'SERVICE', //e.g. 'Gmail',
senderEmail: 'EMAIL',
senderPass: 'PASS'
} |
import _ from 'underscore';
import Backbone from 'backbone';
var previousRadio = Backbone.Radio;
var Radio = Backbone.Radio = {};
Radio.VERSION = '<%= version %>';
// This allows you to run multiple instances of Radio on the same
// webapp. After loading the new version, call `noConflict()` to
// get a reference to... |
getJasmineRequireObj().Env = function(j$) {
function Env(options) {
options = options || {};
var self = this;
var global = options.global || j$.getGlobal();
var totalSpecsDefined = 0;
var catchExceptions = true;
var realSetTimeout = j$.getGlobal().setTimeout;
var realClearTimeout = j$.... |
var request = require('request');
var AWS = require('aws-sdk');
var ec2 = new AWS.EC2({
apiVersion: '2014-10-01'
, region: 'us-west-2'
});
var Instances = require('./Instances');
var Tags = require('./Tags');
var poolingStrategy;
module.exports.poolingStrategy = poolingStrategy;
const POOL_TAGS = [
{
Key: 's... |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v0.11.0-master-1a99821
*/
goog.provide("ng.material.components.fabActions"),goog.require("ng.material.core"),function(){"use strict";function a(){return{restrict:"E",require:["^?mdFabSpeedDial","^?mdFabToolbar"],compile:function(a... |
{
"type": "FeatureCollection",
"features": [
{ "type": "Feature", "properties": { "Unnamed: 0": 0, "Incident Number": 123640043, "Date": "12\/29\/2012", "Time": "10:07 AM", "Police District": 5.0, "Offense 1": "MOTOR VEHICLE THEFT", "Offense 2": null, "Offense 3": null, "Offense 4": null, "Offense 5": null, "Location":... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
import {log, debugMode} from '../base';
/**
* Browser feature detection.
*
* @since 0.9
*/
export const browser = (function(){
var tests = {},
results = {},
featureDetectionComplete = false;
let readyPromiseResolve;
let readyPromise = new Promise(function(resolve, reject) {
readyPromiseResolv... |
angular.module('app')
.controller('receiptPrizeCtrl', ['$scope', 'ajax', function($scope, ajax){
//初始化
var singlePage = new Page({
"onLoad":function(e){
}
});
//弹窗提示函数
var popToast;
$scope.show_popToast = function (msg) {
if(!popToa... |
/**
* MDN references for hackers:
* ===========================
* Media events on <audio> and <video> tags:
* https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Media_events
* Properties and Methods:
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement
* Internet Exploder version:
* http:/... |
var path = require('path')
var config = require('../config')
var postcssConfig = require('../postcss.config.js')
exports.assetsPath = function (_path) {
var assetsSubDirectory = config.dev.assetsSubDirectory
return path.posix.join(assetsSubDirectory, _path)
}
exports.cssLoaders = function (options) {
options = ... |
mobx.useStrict(true);
var countdownTimerFactory = function (durationMilliseconds, options) {
var intervalID;
var timer = {
id: _.uniqueId('countdownTimer_'),
originalMilliseconds: durationMilliseconds
};
var settings = _.assign({
interval: 10,
runTime: 0,
resetOnComplete: true
}, options);
mobx.ext... |
/**
* @Name Frozen Fixes (based on Eddie Machado's Bones Scripts)
* @URI http://pxoink.net/frozen-bones
* @Author PxO Ink
* @AuthorURI http://pxoink.net/
* @License MIT
* @Copyright © 2015 PxO Ink. All Rights Reserved.
*/
/**
* IE8 Polyfill
*/
if(!window.getComputedStyle){window.getComputedStyle=functio... |
BlazeComponent.extendComponent({
onCreated() {
this.subscribe('allRules');
},
labels() {
const labels = Boards.findOne(Session.get('currentBoard')).labels;
for (let i = 0; i < labels.length; i++) {
if (labels[i].name === '' || labels[i].name === undefined) {
labels[i].name = labels[i].co... |
'use strict';
var expect = require('chai').expect;
var injectr = require('injectr');
var path = require('path');
var sinon = require('sinon');
var _ = require('underscore');
var initialise = function(){
var fsMock = {
existsSync: sinon.stub(),
lstatSync: sinon.stub(),
mkdirSync: sinon.spy(),
readdi... |
// Traditional Chinese
jQuery.extend(jQuery.fn.pickadate.defaults, {
monthsFull: [ '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月' ],
monthsShort: [ '一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二' ],
weekdaysFull: [ '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' ],
... |
'use strict';
var chai = require('chai');
global.sinon = require('sinon');
global.assert = chai.assert;
chai.use(require('chai-as-promised'));
chai.use(require('sinon-chai'));
sinon.assert.expose(chai.assert, {prefix: ''});
|
/* */
var $export = require("./_export");
$export($export.S, 'Reflect', {ownKeys: require("./_own-keys")});
|
import React from 'react'
import { render } from 'react-dom'
import { createStore, applyMiddleware, compose } from 'redux'
import createSagaMiddleware from 'redux-saga'
import { Provider } from 'react-redux'
const { name } = require('../package.json')
import config from './config'
import './theme/index.scss'
import Ap... |
import log from '../../log'
import React, {
Component, PropTypes
}
from 'react'
import {
photos as appConfig
}
from '../../config/appConfig'
import ImageLoader from 'react-imageloader'
export default class ImageLoaderWidget extends Component {
constructor(props) {
super(props)
}
preloader() {
// re... |
var gmap;
beforeEach(function() {
gmap = new Gmaps4RailsGoogle();
});
describe("Gmaps4Rails", function() {
describe("Basic methods", function() {
describe("exists", function() {
it("should render true for valid cases", function() {
var test = { "ok": "I exist", "null": null}
fake_... |
(function() {
if (!window.Platform || !window.Platform.name) {
throw 'Bosonic runtime needs the Bosonic platform to be loaded first.';
}
function buildShadowRegexes(elementName) {
return [
[/:host\(([^:]+)\)/g, elementName+'$1'],
[/:host(:hover|:active|:focus)/g, el... |
/* eslint-env browser */
'use strict'
let d3 = require('d3')
let url = 'https://api.github.com/repos/theJensenLab/phylogician/releases'
let animationDelayMultiFactor = 50000
d3.select('body').append('div')
.attr('id', 'backDrop')
d3.xml('./src/navbrand.svg').mimeType('image/svg+xml')
.get(function(error, xml) {
... |
"use strict";
exports.__esModule = true;
// istanbul ignore next
function _interopRequireWildcard(obj) {
if (obj && obj.__esModule) {
return obj;
} else {
var newObj = {};if (obj != null) {
for (var key in obj) {
if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];
... |
/*global define, console*/
define(['jquery', 'underscore', 'backbone', 'orotranslation/js/translator', 'oroui/js/app', 'oroui/js/messenger',
'orocalendar/js/calendar/connection/collection', 'orocalendar/js/calendar/connection/model'
], function ($, _, Backbone, __, app, messenger, ConnectionCollection, Connecti... |
define('app/tests/jsReporterSanitizer', function () {
// override getJSReport to strip out passing results because
// sauce chokes if they get too big
// we only care about failing tests in sauce anyway
// Sauce supposedly is going to fix this:
// https://github.com/axemclion/grunt-saucelabs/issues/... |
var request = require('superagent')
var user = null
function getUser() {
if (user !== null) {
return Promise.resolve(user)
}
return new Promise((resolve, reject) => {
request.get('/user')
.end((error, result) => {
if (error) {
reject(error)
return
}
user ... |
/**
* @author Florian Vazelle
* @author Geoffrey Glaive
* @copyright 2022 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GetLineToRectangle = require('./GetLineToRectangle');
var RectangleToRectangle = require('./RectangleToRectangle');
/**
* Chec... |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2022 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* @namespace Phaser.Renderer.Snapshot
*/
module.exports = {
Canvas: require('./CanvasSnapshot'),
WebGL: require('./WebGLSnapshot... |
export { default, initialize } from 'ember-flexberry/initializers/moment';
|
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnPrope... |
var dc_leaflet = {
version: '<%= conf.pkg.version %>'
};
|
import React, {Component} from 'react'
export default class NotYetInOperation extends Component {
render () {
return (
<div style={{margin: 0, padding: 20, background: '#ffc', lineHeight: '150%', fontFamily: 'Lato, sans-serif'}}>
<strong>Nur noch wenige Tage</strong> - dann könnt ihr unsere Videote... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.DriverDOM = {}));
}(this, (function (exports) {
/**
* Driver for Web DOM
**/
... |
import React, { Component, createRef } from 'react';
import { classNames, ObjectUtils, ZIndexUtils, DomHandler, ConnectedOverlayScrollHandler, FilterUtils } from 'primereact/utils';
import { Ripple } from 'primereact/ripple';
import { CSSTransition } from 'primereact/csstransition';
import { Portal } from 'primereact/p... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import { unstable_composeClasses as composeClasses } from '@materia... |
import { CdkVirtualScrollViewport, ScrollingModule } from '@angular/cdk/scrolling';
import { forwardRef, EventEmitter, Input, Output, Component, ElementRef, Renderer2, ChangeDetectorRef, NgZone, ViewChild, ContentChildren, NgModule } from '@angular/core';
import { trigger, state, style, transition, animate } from '@ang... |
/**
* @fileoverview Rule to flag when the same variable is declared more then once.
* @author Ilya Volodin
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module.ex... |
module.exports = {
re: /https?:\/\/www\.theguardian\.com\/[\w-]+\/video\/\d+\/\w+\/\d+\/[\w-]+/i,
mixins: [
"*"
],
getLink: function(og) {
if (og.type === 'video' && og.video && og.video.url) {
return {
href: og.video.url.replace(/https?:\/\/www\.theguard... |
const basicNotification = {
title: 'Basic Notification',
body: 'Short message part'
}
const notification = {
title: 'Notification with image',
body: 'Short message plus a custom image',
icon: 'https://via.placeholder.com/150'
}
const basicNotificationButton = document.getElementById('basic-noti')
const noti... |
var app = new Vue({
el: '#app',
data: function () {
return data;
}
}); |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("devtools","sv",{title:"Elementinformation",dialogName:"Dialogrutans namn",tabName:"Fliknamn",elementId:"Element-ID",elementType:"Element-typ"}); |
import { applyMiddleware, createStore, compose } from 'redux';
import thunkMiddleware from 'redux-thunk';
import rootReducer from './reducers';
const enhancer = compose(
applyMiddleware(thunkMiddleware)
);
export default function configureStore(initialState) {
const store = createStore(rootReducer, initialSt... |
/*!
* Module dependencies.
*/
var _ = require('underscore'),
keystone = require('../../'),
querystring = require('querystring'),
https = require('https'),
util = require('util'),
utils = require('keystone-utils'),
super_ = require('../field');
var RADIUS_KM = 6371,
RADIUS_MILES = 3959;
/**
* Location Field... |
import React, { Component } from 'react';
// import { Link, IndexLink } from 'react-router';
//
// <nav>
// <IndexLink to="/" activeClassName={'wow'}>Home</IndexLink>
// <Link to="/about" activeClassName={'that'}>About</Link>
// </nav>
export default class App extends Component {
render() {
return (
<... |
import _ from 'lodash';
import localizedStrings from './locales';
export default function localize(component, narrow = true) {
function strings(key) {
return narrow ? localizedStrings[key || _.camelCase(component.name)] || {} : localizedStrings;
}
if (component.prototype.render) {
compone... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/** @interface */
Bindings.LiveLocation = function() {};
Bindings.LiveLocation.prototype = {
update() {},
/**
* @return {?Workspace.UILocation}
... |
/* Java Script */
sky6Dome.OpenSlit();
while (sky6Dome.IsOpenComplete == 0) {
sky6Web.Sleep(1000);
}
Out = JSON.stringify({
"success": true,
"msg": "Slit Opened",
}); |
define({
"_widgetLabel": "좌표 변환",
"DD": "DD",
"DDM": "DDM",
"DMS": "DMS",
"DDRev": "DDRev",
"DDMRev": "DDMRev",
"DMSRev": "DMSRev",
"USNG": "USNG",
"MGRS": "MGRS",
"UTM_H": "UTM(H)",
"UTM": "UTM",
"GARS": "GARS",
"GEOREF": "GEOREF",
"DDLatLongNotation": "십진수(DD) - 위도/경도",
"DDLongLatNotatio... |
define(["leaflet", "underscore"], function(L, _) {
function popupOpened(infoLayer, feature, e) {
var tstring = infoLayer.get("template"),
template = tstring && _.template(tstring);
if (template) {
e.popup.setContent(template(feature.properties));
}
}
return ... |
import RadioGroup from './RadioGroup';
import Radio from './Radio';
import RadioButton from './RadioButton';
export {
RadioGroup,
Radio,
RadioButton,
};
|
"use strict"
var tr = require('../'),
test = require('tape')
function join(sep, arr){
return tr.into([], tr.string.join(sep), arr)
}
test('Strings: join', function(t) {
t.deepEqual(join('', ['', 'foo', 'bar']), ['foobar'], 'basic join')
t.deepEqual(join('', ['', 1, 'foo', 2]), ['1foo2'], 'join numbers and s... |
"use strict";
var React = require('react');
var Router = require('react-router');
var DefaultRoute = Router.DefaultRoute;
var Route = Router.Route;
var NotFoundRoute = Router.NotFoundRoute;
var Redirect = Router.Redirect;
var routes = (
<Route name="app" path="/" handler={require('./components/app')}>
<Default... |
'use strict';
var angular = require('angular'),
moment = require('moment');
describe('mwlCalendarMonth directive', function() {
var MwlCalendarCtrl,
element,
scope,
$rootScope,
directiveScope,
showModal,
calendarHelper,
template =
'<mwl-calendar-month ' +
'events="events" '... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
/... |
/* ----------------- Start JS Document ----------------- */
// Page Loader
$(window).load(function () {
"use strict";
$('#loader').fadeOut();
});
$(document).ready(function ($) {
"use strict";
//// Hidder Header
var headerEle = function () {
var $headerHeight = $('header').height();
$('.hi... |
declare module `slash` {
declare var exports: (input: string) => string;
}
|
import { types as t } from "@babel/core";
export default function(api, options) {
const { loose = false } = options;
if (typeof loose !== "boolean") {
throw new Error(`.loose must be a boolean or undefined`);
}
const arrayOnlySpread = loose;
/**
* Test if a VariableDeclaration's declarations contain... |
"use strict";
module.exports = {
description: "Issue #73 - getLastError method should return an instance of native Error",
tests: [
{
description: "should pass the basic test",
schema: {
id: "schemaA",
type: "object",
properties: {... |
module.exports = {
extends: ['@commitlint/config-angular'],
rules: {
'header-max-length': [2, 'always', 100],
},
};
|
'use strict';
const withoutExt = mod => mod.split('.').slice(0, -1).join('.');
const extRe = /\.(\w+)$/;
const ext = (mod) => {
const match = extRe.exec(mod);
return match && match[1];
};
const indexRe = /\/index$/;
// maps project files to module names, also shims
// this is needed to not throw on app-wise requi... |
import React from 'react';
import ReactDOM from 'react-dom';
import JqxKanban from '../../../jqwidgets-react/react_jqxkanban.js';
class App extends React.Component {
render() {
let fields = [
{ name: 'id', type: 'string' },
{ name: 'status', map: 'state', type: 'string' },
... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @emails react-core
*/
'use strict';
const {HostComponent} = require('shared/ReactWorkTags');
let EventBatching;
let EventPlug... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'iframe', 'tr', {
border: 'Çerceve sınırlarını göster',
noUrl: 'Lütfen IFrame köprü (URL) bağlantısını yazın',
scrolling: 'Kaydırma çubuklar... |
//! moment.js locale configuration
//! locale : Marathi (mr)
//! author : Harshad Kale : https://github.com/kalehv
//! author : Vivek Athalye : https://github.com/vnathalye
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? fa... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'eo', {
fontSize: {
label: 'Grado',
voiceLabel: 'Tipara grado',
panelTitle: 'Tipara grado'
},
label: 'Tiparo',
panelTitle... |
import groupBy from "lodash/collection/groupBy";
import flatten from "lodash/array/flatten";
import values from "lodash/object/values";
// Priority:
//
// - 0 We want this to be at the **very** bottom
// - 1 Default node position
// - 2 Priority over normal nodes
// - 3 We want this to be at the **very** top
expo... |
define(['footwork'], function(fw) {
return {
viewModel: function() {
registerFootworkEntity(fw.viewModel.boot(this, {
namespace: 'registered-combined-component-location'
}));
},
template: '<div></div>'
};
});
|
var levelup = require('levelup');
var db = levelup('riak://localhost:8087/somebucket', { db: require('./') });
db.put('name', 'Yuri Irsenovich Kim');
db.put('dob', '16 February 1941');
db.put('spouse', 'Kim Young-sook');
db.put('occupation', 'Clown');
db.readStream()
.on('data', console.log)
.on('close', function... |
// ReSharper disable UnusedParameter
// ReSharper disable InconsistentNaming
// ReSharper disable AssignedValueIsNeverUsed
(function (testFns) {
"use strict";
/*********************************************************
* Breeze configuration and module setup
*********************************************... |
/* jshint node: true */
/* global describe, it */
'use strict';
var assert = require('assert');
var es = require('event-stream');
var fs = require('fs');
var gutil = require('gulp-util');
var PassThrough = require('stream').PassThrough;
var path = require('path');
var usemin = require('../index');
function getFile(f... |
/*global define*/
'use strict';
define([
'three',
'explorer',
'underscore'
], function(
THREE,
Explorer,
_
) {
function MillerVector(visible, start , end, color, radius) {
this.radius = radius ;
this.color = ( color.charAt(0) !== '#' ) ? '#'+color : color ;
this.tubeMesh = { 'object3d' : ... |
'use strict';
// Necessary plugins
var gulp = require('gulp');
var plumber = require('gulp-plumber');
var imagemin = require('gulp-imagemin');
var paths = require('../paths');
// Call Images
module.exports = gulp.task('images', function() {
return gulp.src(paths.source.img)
.pipe(plumber())
.pipe(im... |
"use strict";
/**
* @param {object} value
* @return {object}
*/
function toImpl(value) {
return value._impl || value;
}
module.exports = toImpl; |
define(['domReady', 'angular'], function(domReady){
'use strict';
return function(apps_o){
domReady(function(){
apps_o.forEach(function(app_o){
angular.bootstrap(app_o.dom, [app_o.name]);
});
});
}
});
|
'use strict';
//////////////////////////////
// Requires
//////////////////////////////
var jshint = require('gulp-jshint'),
stylish = require('jshint-stylish'),
paths = require('compass-options').paths(),
browserSync = require('browser-sync'),
reload = browserSync.reload;
////////////////////////////... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.