code stringlengths 2 1.05M |
|---|
/**
* @license Highcharts JS v9.1.1 (2021-06-04)
*
* Boost module
*
* (c) 2010-2021 Highsoft AS
* Author: Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.ex... |
/* eslint-disable no-param-reassign */
import Vue from 'vue';
const global = window.gl || (window.gl = {});
global.cycleAnalytics = global.cycleAnalytics || {};
global.cycleAnalytics.StageCodeComponent = Vue.extend({
props: {
items: Array,
stage: Object,
},
template: `
<div>
<div class="event... |
(function(window, document, undefined) {
"use strict";
var proto = Object.create(HTMLElement.prototype);
proto.createdCallback = function() {
this.readAttributes();
this.updateAnimation();
};
proto.attributeChangedCallback = function(attrName, oldVal, newVal) {
if ( /^(duration|iterationCount|run)$/.test(... |
import Language from '../Language.esm.js';
var cs = new Language('Czech', ['leden', 'únor', 'březen', 'duben', 'květen', 'červen', 'červenec', 'srpen', 'září', 'říjen', 'listopad', 'prosinec'], ['led', 'úno', 'bře', 'dub', 'kvě', 'čer', 'čec', 'srp', 'zář', 'říj', 'lis', 'pro'], ['ne', 'po', 'út', 'st', 'čt', 'pá', 's... |
/**
* Copyright (c) 2014,Egret-Labs.org
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this li... |
import React from 'react';
import Anchor from '../Anchor';
import PropTable from '../PropTable';
export default function GridSection() {
return (
<div className="bs-docs-section">
<h3><Anchor id="grid-props">属性</Anchor></h3>
<PropTable component="Grid"/>
</div>
);
}
|
export class MainController {
constructor ($timeout, webDevTec, toastr) {
'ngInject';
this.awesomeThings = [];
this.classAnimation = '';
this.creationDate = 1450115048693;
this.toastr = toastr;
this.activate($timeout, webDevTec);
}
activate($timeout, webDevTec) {
this.getWebDevTec(w... |
'use strict';
var Logger = require('../../lib/logger.js');
module.exports = {
setUp: function (callback) {
var me = this;
me.logger = new Logger({
logLevel: 'debug',
timeStamp: false
}); // default values for config
me.value = '';
me.preservedConsol... |
const Element = require('../../element');
const BaseLoader = require('./_base-loader.js');
class BaseCommandLoader extends BaseLoader {
constructor(nightwatchInstance) {
super(nightwatchInstance);
this.type = 'command';
this.__namespace = null;
this.__module = null;
this.__commandName = null;
... |
import React, { Component } from 'react';
class Logs extends Component {
render() {
return (
<div>
<h1>Logs</h1>
<hr/>
</div>
);
}
}
export default Logs;
|
/**
* SimpleBar.js - v5.3.3
* Scrollbars, simpler.
* https://grsmto.github.io/simplebar/
*
* Made by Adrien Denat from a fork by Jonathan Nicol
* Under MIT License
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'fu... |
import React from 'react'
import {
RefreshControl,
Text,
ListView,
View,
} from 'react-native'
import Icon from 'react-native-vector-icons/Octicons'
import { connect } from 'react-redux'
import { fetchCommits } from '../../redux/repository'
import styles from './styles'
import Component from '../base'
import {... |
'use strict';
const find = require('./find');
const has = require('./has');
const is = require('./is');
const main = require('./main');
const to = require('./to');
module.exports = [find, has, is, main, to];
|
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.10.0 (2021-10-11)
*/
(function () {
'use strict';
... |
/**
* @license Highcharts JS v8.1.1 (2020-06-09)
* @module highcharts/modules/vector
* @requires highcharts
*
* Vector plot series module
*
* (c) 2010-2019 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
import '../../modules/vector.src.js';
|
/*! Buefy v0.8.15 | MIT License | github.com/buefy/buefy */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.Upload = {}));
}(th... |
/*!
* Native JavaScript for Bootstrap Tooltip v4.0.1 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
const supportTransition = 'webkitTransition' in document.head.style || 'transition' in docu... |
/*!
* DevExtreme (dx.messages.zh-tw.js)
* Version: 21.2.4 (build 21349-0315)
* Build date: Wed Dec 15 2021
*
* Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
"use strict";
! function(root, factory) {
if ("functio... |
/*
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang("language","bg",{button:"Задай език",remove:"Премахни език"}); |
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.isHorizontal = isHorizontal;
exports.getAnchor = getAnch... |
/*! Buefy v0.9.0 | MIT License | github.com/buefy/buefy */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.Rate = {}));
}(this, funct... |
import _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose';
import { createElement, Component } from 'react';
import '@emotion/cache';
import { h as hasOwnProperty, E as Emotion, c as createEmotionProps, w as withEmotionCache, T as ThemeContext } from './emotion-element-57a3a7a3.browser.esm.js';
export { C a... |
config = require('config');
nodemailer = require('nodemailer').createTransport(config.mailTransport);
Templater = require('./templater');
MailText = require('./mailText');
module.exports = {
sendMail: function(action, entity, data, callbackFn){
var templateOptions = MailText[action][entity];
//var emailHTMLH... |
'use strict'
const express = require('express') //Express
const jwt = require('jsonwebtoken') //Package for authentication tokens
const multer = require('multer') //Package for managing file uploads
const mongoose = require('mongoose') //db connector
const fs = require('fs') //file writer
const path = require('path')
... |
"use strict";
// module
module.exports = (arg) => {
return arg.replace(/-([a-z])/g, (cr, p1) => {
return p1.toUpperCase();
}) + "Prom";
};
|
const test = require('tape')
const isFunction = require('../core/isFunction')
const isFunctor = require('./isFunctor')
test('isFunctor predicate', t => {
t.ok(isFunction(isFunctor), 'is a function')
t.end()
})
|
// Default values
// https://developer.mozilla.org/docs/Web/JavaScript/Reference/Functions/Default_parameters
// NOTE: Does not work in iojs yet. You can try the examples in Firefox
function ask(name, greeting = 'How do you do?') {
console.log(`Hi, ${name}! ${greeting}`);
}
ask('Ivica'); // Hi, Ivica! How do you do?... |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------------------------------------------------... |
require('./auto_mock_off');
let Iter = require('../src/Iter');
describe('compress', () => {
it('filters data returning only those that have a corresponding element in selectors that evaluates to true', () => {
let result = ['A', 'C', 'E', 'F'];
for (let [i, v] of new Iter('ABCDEF').compres... |
/**
* The script is encapsulated in an self-executing anonymous function,
* to avoid conflicts with other libraries
*/
(function($) {
/**
* Declare 'use strict' to the more restrictive code and a bit safer,
* sparing future problems
*/
"use strict";
/*********************************************... |
import { PROTOCOL, SLASH } from './text';
import { defaults } from '../options';
/******************************************************************************
Multi-Tokens
Tokens composed of arrays of TextTokens
******************************************************************************/
function inherits(pare... |
/*!
* jQuery JavaScript Library v1.10.1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-05-30T21:49Z
*/
(function( window, undefined ) {
//... |
module.exports = function(grunt){
var banner = grunt.template.process(
grunt.file.read("src/banner.js"),
{data: grunt.file.readJSON("package.json")}
);
grunt.initConfig({
concat: {
build: {
options: {banner: banner},
files: {
"dist/flashsprite.js": ["src/flashsprite.js"]
}
}
},
... |
import { wrap } from './queryEngine'
import stackHierarchy from './stackHierarchy'
const { JSDOM } = require('jsdom')
const createElementHeirarchy = (dom = '', selector) =>
new JSDOM(`<body>${dom}</body>`).window.document.querySelector(selector)
describe('stackHierarchy', () => {
test(`takes a wrapped element and... |
//##############################################################################
// STRUCTUREBOARD
/**
* @module CMS
*/
var CMS = window.CMS || {};
(function ($) {
'use strict';
// shorthand for jQuery(document).ready();
$(function () {
var placeholders = $('.cms-dragarea:not(.cms-clipboard-cont... |
import Login from './Login';
export default Login; |
import PropTypes from 'prop-types';
export default PropTypes.shape({
id: PropTypes.string,
chapterId: PropTypes.string,
type: PropTypes.oneOf(['heading']),
title: PropTypes.string,
});
|
/**
* Recursive function that returns an object's keys as an array of arrays. Can be
* used with lodash's Array methods such as _.get() and _.has(). Created to help
* find missing and/or extraneous keys in localization objects.
* @function
* @name getKeyPathsArray
* @param {object} obj - The object to be con... |
/**
* QUnit v1.11.0 - A JavaScript Unit Testing Framework
*
* http://qunitjs.com
*
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
(function( window ) {
var QUnit,
assert,
config,
onErrorFnPrev,
testId = 0,
fileName = (sourceFromS... |
/**
* ------------------------------------------------------------
* Pager 分页
* @author sensen(rainforest92@126.com)
* ------------------------------------------------------------
*/
var Component = require('regular-ui-base/src/component');
var template = require('./pager.html');
var _ = require('regular-ui... |
/*
* check is exists file.
*/
global.CHECK_IS_EXISTS_FILE = METHOD(function() {
'use strict';
var
//IMPORT: fs
fs = require('fs');
return {
run : function(pathOrParams, callback) {
//REQUIRED: pathOrParams
//REQUIRED: pathOrParams.path
//OPTIONAL: pathOrParams.isSync
//OPTIONAL: callback
var... |
import { publishBehavior as higherOrder } from 'rxjs/operators';
export function publishBehavior(value) {
return higherOrder(value)(this);
}
//# sourceMappingURL=publishBehavior.js.map |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... |
// MTE iframe player mockup object
function createMockFrame (id) {
var messageHandlers = [],
instance = {};
function send (event, data, property) {
// mock message event on current window
// as from postMessage
var evt = document.createEvent('Event'),
eventdata = {};
evt.initEvent('message', ... |
//>>built
(function(c,b){"object"===typeof exports&&"undefined"!==typeof module&&"function"===typeof require?b(require("../moment")):"function"===typeof define&&define.amd?define(["../moment"],b):b(c.moment)})(this,function(c){var b={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u04... |
'use strict'
module.exports = function(value){
return Array.isArray(value)
} |
export default {
repliesFixtures: {
'/replies/doc/testID1': {
text: 'text',
reference: 'ref',
type: 'NOT_ARTICLE',
userId: 'user1',
appId: 'test',
createdAt: '2020-01-01T00:00:00.000Z',
},
'/replies/doc/testID2': {
text: 'text',
reference: 'ref',
type:... |
/**
* socket.io
* Copyright(c) 2011 LearnBoost <dev@learnboost.com>
* MIT Licensed
*/
(function (exports, global) {
/**
* IO namespace.
*
* @namespace
*/
var io = exports;
/**
* Socket.IO version
*
* @api public
*/
io.version = '0.9.5';
/**
* Protocol implemented.
*
... |
function pad(n, width, z) {
z = z || '0';
n = n + '';
return n.length >= width ? n : new Array(width - n.length + 1).join(z) + n;
};
Handlebars.registerHelper('padNumber', function (number, length) {
return pad(number || 0, length);
});
Handlebars.registerHelper('ratingPercentage', function (rating) {
... |
'use strict';
require('../common');
// This test checks that the maxBuffer option for child_process.spawnSync()
// works as expected.
const assert = require('assert');
const spawnSync = require('child_process').spawnSync;
const msgOut = 'this is stdout';
const msgOutBuf = Buffer.from(`${msgOut}\n`);
const args = [
... |
export default class TaskValueModel {
constructor (options) {
this.id = options.id
this.taskId = options.taskId
this.value = options.value
this.created = new Date(options.created)
this.updated = new Date(options.updated)
}
}
|
/*
* Copyright (c) 2006-2009 Sun Microsystems, Inc.
*
*
* 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, mod... |
/* Functions for the advlink plugin popup */
tinyMCEPopup.requireLangPack();
var templates = {
"window.open" : "window.open('${url}','${target}','${options}')"
};
function preinit() {
var url;
if (url = tinyMCEPopup.getParam("external_link_list_url"))
document.write('<script language="javascript" type="text/ja... |
// __Dependencies__
var deco = require('deco');
var es = require('event-stream');
var mongoose = require('mongoose');
var Api = require('./Api');
var Controller = require('./Controller');
var Model = require('./Model');
var RestError = require('rest-error');
var plugins = {
json: require('baucis-json'),
links: requ... |
'use strict';
var GetIntrinsic = require('get-intrinsic');
var $Number = GetIntrinsic('%Number%');
var isPrimitive = require('../helpers/isPrimitive');
var ToPrimitive = require('./ToPrimitive');
var ToNumber = require('./ToNumber');
var Type = require('./Type');
// https://ecma-international.org/ecma-262/6.0/#sec... |
/*echarts pic学生拍题*/
var option_pic = {
tooltip : {
trigger: 'item'
},
grid: {
left: '2%',
right: '3%',
bottom: '2%',
top:'2%',
containLabel: true
},
xAxis :
{
type : 'category',
boundaryGap : true,
axisTick:... |
'use strict';
var chai = require('chai'),
chaiAsPromised = require('chai-as-promised'),
sinon = require('sinon');
if (!global.Promise) {
global.Promise = require('promise-polyfill');
}
chai.use(chaiAsPromised);
chai.should();
var async = require('../../lib/async-as-promised');
describe('async.times()', ... |
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
'use strict';
let createRuntime;
describe('Runtime requireActual', () => {
beforeEach(() => {
crea... |
import CtlLayout from './layout'
export default CtlLayout; |
module.exports = {
css: {
options: {
// cacheBuster: false,
// compress: true,
force: true,
},
files: {
'<%= paths.destination %>/css/main.min.css': '<%= paths.destination %>/css/main.min.css'
}
}
};
|
'use strict';
const cache = require('./fifocache');
const globals = require('./constants').globals;
const cmdopts = require('./cmdparser');
const cbor = require('cbor');
const JAMP = require('./jamprotocol');
const jsys = require('./jamsys');
class JCoreDaemon {
constructor(jc) {
// Maintain only one in... |
'use strict';
/**
* @const {Set} TARGETS Stores targets with event binded
*/
const TARGETS = new Set();
/**
* Abstract properties and methods of all controllers
*
* @abstract
* @class Controller
* @author gfiuza
*/
class Controller {
/**
* @property {Class} classReference Reference to the current class... |
/*! Parker v0.0.0 - MIT license */
var expect = require('chai').expect,
metric = require('../metrics/DeclarationsPerRule.js');
describe('The declarations-per-rule metric', function () {
it('should provide a string identifier for the metric', function() {
expect(metric.id).to.be.a('string');
});
... |
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.hasOwnProperty(p)) d[p] =... |
define(['./_LazyWrapper', './_LodashWrapper', './_baseLodash', './isArray', './isObjectLike', './_wrapperClone'], function(LazyWrapper, LodashWrapper, baseLodash, isArray, isObjectLike, wrapperClone) {
/** Used for built-in method references. */
var objectProto = Object.prototype;
/** Used to check objects for ... |
const debug = require('ghost-ignition').debug('web:admin:app');
const express = require('../../../shared/express');
const serveStatic = express.static;
const config = require('../../../shared/config');
const constants = require('@tryghost/constants');
const urlUtils = require('../../../shared/url-utils');
const shared ... |
const { find, get } = require('lodash')
const { Order } = require('../../../models')
async function editLeadAssignee(req, res, next) {
const adviserId = req.body.adviserId
const orderId = req.body.orderId
if (!adviserId || !orderId) {
return res.redirect(res.locals.ORIGINAL_URL)
}
try {
const allA... |
"use strict";
/**
* @module gallery-layout-datatable
*/
/**********************************************************************
* <p>Plugin for scrolling DataTable to make it fit inside a PageLayout
* module. After you plug it in, it automatically detects the PageLayout
* module, so you don't have to do anythin... |
function createFunctionArrayFromUseArray(useArray) {
return useArray.map(function(useItem) {
return function(data) {
return useItem;
};
});
}
var useArray = createFunctionArrayFromUseArray([
"./loader?second-1",
{
loader: "./loader",
options: "second-2"
},
{
loader: "./loader",
options: {
get:... |
/* @flow */
import React from 'react';
import { mount } from 'enzyme';
import { EditorState, convertFromHTML, ContentState } from 'draft-js';
import ModalHandler from '../../../core/eventHandlers/modals';
import defaultToolbar from '../../../core/config';
import Link from './Link';
describe('<Link />', () => {
cons... |
import log from '../../log'
import React, {
Component, PropTypes
}
from 'react'
import {
reduxForm
}
from 'redux-form'
import {
FileEnhance
}
from '../../hocs/FileEnhance'
import store from '../../redux/store'
import {
setDestination
}
from '../../redux/actionCreators'
import {
AutoSuggestBoxWidget
}
from '..... |
export default {
us_east_1: 'mypurecloud.com',
eu_west_1: 'mypurecloud.ie',
ap_southeast_2: 'mypurecloud.com.au',
ap_northeast_1: 'mypurecloud.jp',
eu_central_1: 'mypurecloud.de',
us_west_2: 'usw2.pure.cloud',
ca_central_1: 'cac1.pure.cloud',
ap_northeast_2: 'apne2.pure.cloud',
eu_west_2: 'euw2.pure.cloud',
a... |
/*global require,Blob,JSHINT*/
/*global gallery_demos*/// defined by gallery/gallery-index.js, created by build
/*global sandcastleJsHintOptions*/// defined by jsHintOptions.js, created by build
require({
baseUrl : '../../Source',
packages : [{
name : 'dojo',
location : '../ThirdParty/doj... |
module.exports = {
isInt: function(n) {
return typeof n == 'number' && n % 1 == 0;
},
getDayName: function(date){
var days = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
return days[date.getDay()];
},
formatDay: function(date){
var day = (date.getDate() <... |
// Copyright (c) 2015 Uber Technologies, Inc.
//
// 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... |
/** vim: et:ts=4:sw=4:sts=4
* @license RequireJS 2.1.11+ Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
//Not using strict: uneven strict support in browsers, #392, and causes
//problems with req... |
export default 'redux-responsive/CALCULATE_RESPONSIVE_STATE'
|
RocketChat.Migrations.add({
version: 18,
up() {
const changes = {
Accounts_Facebook: 'Accounts_OAuth_Facebook',
Accounts_Facebook_id: 'Accounts_OAuth_Facebook_id',
Accounts_Facebook_secret: 'Accounts_OAuth_Facebook_secret',
Accounts_Google: 'Accounts_OAuth_Google',
Accounts_Google_id: 'Accounts_OAuth... |
System.register(['@angular/platform-browser-dynamic', './app.component'], function(exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
var platform_browser_dynamic_1, app_component_1;
return {
setters:[
function (platform_browser_dynamic_1_1) {
... |
import {merge} from './merge'
export function mergeLeft(x, y) {
if (arguments.length === 1) return _y => mergeLeft(x, _y)
return merge(y, x)
}
|
/*
* 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... |
// @flow
declare var IS_WEB: boolean;
|
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang("a11yhelp","uk",{title:"Спеціальні Інструкції",contents:"Довідка. Натисніть ESC і вона зникне.",legend:[{name:"Основне",items:[{na... |
bad syntax
|
// tap is not configured for double-tap, export single-tap
// if using double-tap
export { default } from 'ember-gestures/recognizers/tap';
|
/*global angular*/
"use strict";
var lookAroundApp = angular.module("lookAroundApp", [
"lookAroundApp.services",
"lookAroundApp.controllers",
"lookAroundApp.filters",
"lookAroundApp.directives",
"ui.bootstrap",
"ngRoute"
]);
lookAroundApp.config(['$routeProvider', function ($routeProvider) {
... |
{
"name": "planetary.js",
"url": "https://github.com/BinaryMuse/planetary.js.git"
}
|
/**
* This is method `a`
*/
exports.a = function() {}
/**
* This is method `b`
*/
exports.b = function() {}
/**
* This is method `c`
*/
exports.c = function() {}
|
/**
* Copyright 2015 Telerik AD
*
* 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 ... |
/**
* @date 2015/5/11
* @author Dolphin<dolphin.w.e@gmail.com>
*/
var gulp = require('gulp');
var clean = require('gulp-clean');
var rename = require('gulp-rename');
var uglify = require('gulp-uglify');
var header = require('gulp-header');
var pkg = require('./package.json');
var banner = [
'/*!',
'... |
const app = angular.module('myIndex', []);
app.controller('indexController', ($scope) => {
const index = new InvertedIndex();
$scope.showTable = false;
$scope.searchResults = false;
$scope.titles = [];
$scope.docCount = {};
/*
* Upload a valid JSON file
*/
$scope.uploadFile = (fileName, fileConte... |
/**
* API Facet to make calls to methods in the oauth namespace.
*
* This provides functions to call:
* - access: {@link https://api.slack.com/methods/oauth.access|oauth.access}
*
*/
function OauthFacet(makeAPICall) {
this.name = 'oauth';
this.makeAPICall = makeAPICall;
}
/**
* Exchanges a temporary OA... |
const assert = require('assert');
const Browser = require('../src/zombie');
const DNS = require('dns');
describe("DNS mask", function() {
before(function() {
// This will match www.test.com only
Browser.dns.map('www.test.com', 'A', '1.1.1.1');
// This will match bar.test.com and test.com
Browse... |
'use strict';
// MODULES
// ----------------------------------------------------------------------------
var fs = require('fs');
var path = require('path');
var _ = require('underscore');
var cli = require('./cli');
// CONFIGURATION
// ---------------------------------------------------------------------------... |
/**
* Created by vmaltsev on 5/8/2015.
*/
findMate.factory('fetchUser', function ($rootScope, $http) {
return {
getMeetings : function(params){
return $http.get('../api/meetings')
}
}
}); |
{
types: [
{
name: "HelloWorld",
}
],
resources: [
{
type: "HelloWorld",
}
],
}
|
import React from 'react'
import PropTypes from 'prop-types'
export default class HTML extends React.Component {
render() {
return (
<html {...this.props.htmlAttributes} lang="en">
<head>
<meta charSet="utf-8" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x... |
/**
* 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';
let React = require('react');
let ReactDOM = require('react-dom');
let TestUtils = require... |
( function(Dataflow) {
var Edge = Dataflow.prototype.module("edge");
var template =
'<div class="dataflow-plugin-inspector-title">'+
'<h1>Edge</h1>'+
'<h2 class="dataflow-edge-inspector-id"><%= id %></h2>'+
'</div>'+
'<div class="dataflow-edge-inspector-route-choose"></div>'+
'<ul cla... |
import React, {PropTypes} from 'react'
import LoginStatus from '../../components/LoginStatus'
import {parseWebviewCookiesByDomain} from '../../../electron/ipc_render'
import * as DataUtils from '../client_data'
import styles from './CreateLogin.css'
export default React.createClass({
propTypes: {
states: PropTyp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.