code stringlengths 2 1.05M |
|---|
function switchid(id){
hideallids();
showdiv(id);
}
function hideallids(){
//loop through the array and hide each element by id
for (var i=0;i<ids.length;i++){
hidediv(ids[i]);
}
}
function hidediv(id) {
//safe function to hide an element with a specified id
document.get... |
function Ball() {
// ball id
this.ballId = 'B_'+Math.floor(Math.random() * 100000000);
// at first - we pick the direction randomlly -
// there are 4 possible directions (1,2,3,4)
// 1: up left, 2: up right, 3: down right, 4: down left
this.direction = Math.floor(Math.random() * 2) + 1;
// ball speed
this.bal... |
"use babel";
export default class MrBookmarkView {
constructor() {
this.element = document.createElement("div");
this.element.classList.add("mr-bookmark-panel");
this.link = document.createElement("a");
this.link.classList.add("add-button");
const lineH = document.createElement("span");
co... |
/**
* 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... |
"use strict"
import mongoose from 'mongoose';
import util from 'util';
// config should be imported before importing any other file
import config from './config/config';
import app from './config/express';
const debug = require('debug')('express-mongoose-es6-rest-api:index');
// make bluebird default Promise
Promise... |
import {
simpleHandlerBuilder,
transformFilter, handlerBundle
} from '../lib/export.js'
import chai from 'chai'
import chaiAsPromised from 'chai-as-promised'
chai.use(chaiAsPromised)
const should = chai.should()
describe('bundle component test', () => {
const bundle = handlerBundle(
config => {
let coun... |
import { h, resolveComponent, openBlock, createBlock, normalizeStyle, withKeys, withCtx, createElementBlock, withDirectives, createElementVNode, withModifiers, vModelText, createCommentVNode, Fragment, renderList, toDisplayString, normalizeClass, renderSlot } from 'vue';
// https://developer.mozilla.org/en-US/docs/Web... |
/*
Copyright (c) 2015 NAVER Corp.
name: @egjs/infinitegrid
license: MIT
author: NAVER Corp.
repository: https://github.com/naver/egjs-infinitegrid
version: 4.0.0-beta.2
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === ... |
import { B as Behavior, H as isTouch, f as fixPosition } from './index-16504bb3.js';
class TooltipBehavior extends Behavior {
connected() {
const { host } = this;
const parent = this.parent = this.host.parentNode;
if (parent && parent.nuElement && !parent.hasAttribute('describedby')) {
parent.setA... |
/*
Highcharts JS v9.1.0 (2021-05-03)
(c) 2009-2021 Torstein Honsi
License: www.highcharts.com/license
*/
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/themes/grid",["highcharts"],function(b){a(b);a.Highcharts=b;retu... |
var ydm = require('../../ydm')
, path = require('path')
, fs = require('fs')
, logger = require('winston')
module.exports = function(req, res, next) {
var filePath = path.join(ydm.dropsPath, req.params.name+'.js')
fs.writeFile(filePath, req.body, function(err) {
if (err) {
logger.error(err.stack)
... |
module.exports = function (app,io,jwt) {
io.on('connection', function(socket) {
socket.auth = false;
socket.on('authenticate', function(data){
var user = jwt.decode(data.token, app.get('superSecret'));
app.get('connections')[user._id] = socket;
socket.auth = t... |
module.exports = {
FlatWaterRenderer: require('./FlatWaterRenderer'),
ProjectedGrid: require('./ProjectedGrid'),
ProjectedGridWaterRenderer: require('./ProjectedGridWaterRenderer')
};
if (typeof(window) !== 'undefined') {
for (var key in module.exports) {
window.goo[key] = module.exports[key];
}
} |
import * as assert from 'assert';
import {qw, qwm} from '../src/js-utils';
describe('qw', () => {
it('simple', () => {
const qwRes = qw(`
str1 123
str2 str3\nstr4\tstr5
`);
assert.deepEqual(qwRes, ['str1', '123', 'str2', 'str3', 'str4', 'str5']);
});
it('empty', () => {
const qwRes = qw(`
`);
a... |
Clazz.declarePackage ("JS");
Clazz.load (null, "JS.ScriptExt", ["JU.AU"], function () {
c$ = Clazz.decorateAsClass (function () {
this.vwr = null;
this.e = null;
this.chk = false;
this.st = null;
this.slen = 0;
Clazz.instantialize (this, arguments);
}, JS, "ScriptExt");
Clazz.defineMethod (c$, "init",
funct... |
(function($, cornerstone, cornerstoneTools) {
'use strict';
function multiTouchDragTool(touchDragCallback, options) {
var configuration = {};
var events = 'CornerstoneToolsMultiTouchDrag';
if (options && options.fireOnTouchStart === true) {
events += ' CornerstoneToolsMulti... |
export { browserActions } from './actions';
export { browserReducer } from './reducer';
export { browserSagas } from './sagas';
export { getBrowserMedia } from './selectors';
export { infiniteScroll } from './scroll/infinite-scroll';
|
import test from 'ava';
test('test.js', t => {
t.pass();
});
|
var kunstmaanbundles = kunstmaanbundles || {};
kunstmaanbundles.mediaChooser = (function(window, undefined) {
var init, initDelBtn;
var $body = $('body');
init = function() {
// Save and update preview can be found in url-chooser.js
initDelBtn();
};
// Del btn
initDelBtn = ... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }... |
/*!
* jQuery Simulate v0.0.1 - simulate browser mouse and keyboard events
* https://github.com/jquery/jquery-simulate
*
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* Date: Sun Dec 9 12:15:33 2012 -0500
*/
;(function( $, undefined )... |
function s4() { return Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1); }
function guid() { return s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4(); } |
this.define([
'scaffolding',
'strongforce',
'models/Hexagon',
'models/HexCell'
], function(S, strongforce) {
'use strict';
var Model = strongforce.Model,
selectDirection;
selectDirection = {
N: function(cellId) {
return [
cellId[0] - 2,
cellId[1]
];
},
NE: f... |
// req: glMatrix
T5.Registry.register('renderer', 'webgl', function(view, panFrame, container, params, baseRenderer) {
params = cog.extend({
}, params);
/* some shaders */
var DEFAULT_SHADER_FRAGMENT = [
'#ifdef GL_ES',
'precision highp float;',
'#endif',
... |
import Ember from 'ember';
import FilterContent from 'ember-cli-filter-component/components/filter-content';
export default FilterContent; |
$(function() {
var sidebarId = '#sidebar',
$sidebar = $(sidebarId),
$sidenav = $sidebar.children('.nav');
// Call the ScrollSpy plugin which is for automatically
// updating nav targets based on scroll position.
$('body').scrollspy({
target: sidebarId
});
/**
* Kee... |
import React from 'react'
import Icon from 'react-icon-base'
const FaComments = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m31.4 17.1q0 3.1-2.1 5.8t-5.7 4.1-7.9 1.6q-1.9 0-3.9-0.4-2.8 2-6.2 2.9-0.8 0.2-1.9 0.3h-0.1q-0.3 0-0.5-0.2t-0.2-0.4q0-0.1 0-0.2t0-0.1 0-0.1l0.1-0.2 0-0.1 0.1-0.1 0.1... |
/*
AngularJS v1.2.24-build.438+sha.992101d
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(n,e,A){'use strict';function x(s,g,h){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(a,c,b,f,w){function y(){p&&(p.remove(),p=null);k&&(k.$destroy(),k=null);l&&(h.le... |
// Utility funcitons
module.exports = {};
|
module.exports = (gulp, plugins, utilities) => {
return () => gulp.src(utilities.paths.BUILD_FOLDER, {read: false}).pipe(plugins.clean());
};
|
function js() {
console.log("js/file.js should have tab width 8");
}
|
(function() {
"use strict";
// Place page specific javascript here
})(); |
module.exports = function (d) {
if(!d)return null;
var ds = '';
var f = function(name,o) {
for(var i in o){
var v = o[i];
if((typeof v)==='object'){
f(i,v);
}else{
ds +=(name+'.'+i+'='+(v?v:'')+'&');
}
}
}
... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports['default'] = {
// Options.jsx
items_per_page: '/ صفحه',
jump_to: 'برو به',
jump_to_confirm: 'تایید',
page: '',
// Pagination.jsx
prev_page: 'صفحه قبلی',
next_page: 'صفحه بعدی',
prev_5: '۵ صفحه قبلی',
next_5: '۵ ... |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'preview', 'ro', {
preview: 'Previzualizare'
} );
|
define({
"settingsHeader": "지오룩업 위젯에 대한 세부정보 설정",
"settingsDesc": "맵의 폴리곤 레이어에 대해 CSV 파일에서 위치 목록을 보강합니다. 폴리곤 레이어에서 선택한 필드가 위치에 추가됩니다.",
"settingsLoadingLayers": "레이어를 불러오는 동안 기다려 주세요.",
"settingsConfigureTitle": "레이어 필드 구성",
"layerTable": {
"colEnrich": "보강",
"colLabel": "레이어",
"colFieldSelector":... |
"use strict";
var cache = {},
fs = require('fs'),
path = require('path'),
vm = require('vm');
module.exports = function (file, mocks, context) {
var script;
mocks = mocks || {};
context = context || {};
file = path.join(path.dirname(module.parent.filename), file);
cache[file] = cache[f... |
export const APPEND_FILES = "APPEND_FILES";
export const APPEND_OBS_CARDS = "APPEND_OBS_CARDS";
export const APPEND_TO_SELECTED_OBS_CARDS = "APPEND_TO_SELECTED_OBS_CARDS";
export const CREATE_BLANK_OBS_CARD = "CREATE_BLANK_OBS_CARD";
export const DRAG = "DRAG";
export const INSERT_CARDS_BEFORE = "INSERT_CARDS_BEFORE";
... |
// Testing the main file
describe(".closest(selector)", function() {
afterEach(function(){
// A previous bug that would change the inner of the original reference
expect(base.length).to.equal(1);
});
it("should be a function", function() {
expect(typeof base.closest).to.equal('function');
});
i... |
'use strict'
const {BrowserWindow, MenuItem, webContents} = require('electron')
const EventEmitter = require('events').EventEmitter
const v8Util = process.atomBinding('v8_util')
const bindings = process.atomBinding('menu')
// Automatically generated radio menu item's group id.
var nextGroupId = 0
// Search between s... |
/* global device: false */
/* global PushNotification: false */
var getService = function() {
if (/android/i.test(device.platform)) {
return 'gcm';
} else if (/ios/i.test(device.platform)) {
return 'apn';
} else if (/win/i.test(device.platform)) {
return 'mpns';
}
return 'unknown';
};
/**
* htt... |
var searchData=
[
['randomdouble',['randomDouble',['../namespace_num_utils.html#a402b26db626888d32e79bfab0e6ba5c2',1,'NumUtils']]],
['randomint',['randomInt',['../namespace_num_utils.html#abb2bad9628db7cd63498680a6f84e13c',1,'NumUtils']]],
['read_5fkernels_5ffrom_5ffile',['read_kernels_from_file',['../class_c_l_h... |
export const message = "Hello Chunk";
|
/*!
DataTables Foundation integration
©2011-2014 SpryMedia Ltd - datatables.net/license
*/
(function(){var d=function(e,f){e.extend(f.ext.classes,{sWrapper:"dataTables_wrapper dt-foundation",sProcessing:"dataTables_processing panel"});e.extend(!0,f.defaults,{dom:"<'row'<'small-6 columns'l><'small-6 columns'f>r>t<'row... |
/* global Restivus */
class API extends Restivus {
constructor(properties) {
super(properties);
this.logger = new Logger(`API ${properties.version ? properties.version : 'default'} Logger`, {});
this.authMethods = [];
this.helperMethods = new Map();
this.defaultFieldsToExclude = {
joinCode: 0,
$loki: 0... |
import faker from 'faker'
import React from 'react'
import CardHeader from 'src/views/Card/CardHeader'
import * as common from 'test/specs/commonTests'
describe('CardHeader', () => {
common.isConformant(CardHeader)
common.rendersChildren(CardHeader)
describe('description prop', () => {
it('renders child te... |
/* @flow */
const entries = require('lodash/entries');
module.exports = getDependencyRegistry;
function getDependencyRegistry(file: File, seed: DependencyRegistry = {}): DependencyRegistry { // eslint-disable-line no-use-before-define
return entries(file.dependencies || {})
.reduce((registry, entry) => {
const... |
(function(win) {
var dataType = {
form: getFormData,
json: getJsonData,
data: getData
};
function genUId() {
var date = new Date().getTime();
var uuid = 'xxxxxx4xxxyxxxxxxx'.replace(/[xy]/g, function(c) {
var r = (date + Math.random() * 16) % 16 | 0;
date = Math.floor(date / 16);
return (c == 'x... |
/*! WOW - v1.1.2 - 2015-08-19
* Copyright (c) 2015 Matthieu Aussaguel; Licensed MIT */
(function() {
var a, b, c, d, e, f = function(a, b) {
return function() {
return a.apply(b, arguments) } },
g = [].indexOf || function(a) {
for (var b = 0, c = this.length; c > b; ... |
// Easy Responsive Tabs Plugin
// Author: Samson.Onna <Email : samson3d@gmail.com>
(function ($) {
$.fn.extend({
easyResponsiveTabs: function (options) {
//Set the default values, use comma to separate the settings, example:
var defaults = {
type: 'default', //default... |
/*
* This file is part of the Kreta package.
*
* (c) Beñat Espiña <benatespina@gmail.com>
* (c) Gorka Laucirica <gorka.lauzirika@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import {combineReducers} from 'redux';
im... |
import PolicyBase from './policy_base'
export default class <%= policy_class_name %> extends PolicyBase {
constructor(user, record = null) {
super(user, record)
}
index() {
// return false
}
show() {
// return false
}
create() {
// return false
}
update() {
// return false
}... |
//>>built
define(["dojo/_base/declare","dojo/_base/lang","dojo/_base/connect","dojo/_base/fx","./AnalogIndicatorBase"],function(k,l,m,n,p){return k("dojox.gauges.AnalogArcIndicator",[p],{_createArc:function(e){if(this.shape){var d=this._gauge._mod360(this._gauge.startAngle),a=this._gauge._getRadians(this._gauge._getAng... |
var cluster = require('cluster');
exports.Runner = function (req, res) {
console.log('req.originalUrl :', req.originalUrl);
console.log('req.baseUrl :', req.baseUrl);
console.log('req.protocol :', req.protocol);
console.log('req.hostname :', req.hostname);
console.log('req.query :', req.que... |
describe("HelloKitty", function() {
var helloKitty
, goodPicture = "hk_good.gif"
, badPicture = "hk_bad.gif"
, deadPicture = "hk_dead.png";
beforeEach(function() {
helloKitty = new HelloKitty();
});
it("must have a Tamagocci as Prototype", function() {
// Then
... |
//>>built
define("dojo/_base/lang dojo/_base/declare dojo/_base/Color ../utils ../../RectangularGauge ../../LinearScaler ../../RectangularScale ../../RectangularValueIndicator ../../RectangularRangeIndicator ../../TextIndicator ../DefaultPropertiesMixin".split(" "),function(f,l,k,a,m,n,p,q,u,r,t){return l("dojox.dgauge... |
var SP_NOACTION = 0;
var SP_RESIZETOFIT = 1;
var SP_CUSTOMACTION = 2;
var SP_HISTORY_STATE = 'Apply save preset';
var SP_SETTINGS_PATH = new File(app.preferencesFolder + '/Save%20Panel/').fsName + '/';
function spActionToString(action)
{
if (SP_NOACTION == action)
return 'Nothing';
else if (SP_RESIZETOFIT... |
/**
* @file Visual mapping.
*/
define(function (require) {
var zrUtil = require('zrender/core/util');
var zrColor = require('zrender/tool/color');
var linearMap = require('../util/number').linearMap;
var each = zrUtil.each;
var isObject = zrUtil.isObject;
var CATEGORY_DEFAULT_VISUAL_INDEX = ... |
'use strict';
// Use Applicaion configuration module to register a new module
ApplicationConfiguration.registerModule('blogs'); |
import { useMemo, useCallback } from "react";
import isString from "lodash/isString";
import queryString from "query-string";
import { useHistory } from "react-router-dom";
import useQueryParams from "../useQueryParams";
export function useParsedTags() {
const queryParams = useQueryParams();
const tags = useMemo... |
var path = require('path');
var fs = require('fs');
var paths = {};
// BACKSTOP MODULE PATH
paths.backstop = path.join(__dirname, '../..');
// BACKSTOP CONFIG PATH
paths.backstopConfigFileName = path.join(paths.backstop, '../..', 'backstop.json');
// BITMAPS PATHS -- note: this path is... |
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 = Reflect.decorate(d... |
var assert = require('./assert');
var isTypeName = require('./isTypeName');
var String = require('./String');
var Function = require('./Function');
var isBoolean = require('./isBoolean');
var isObject = require('./isObject');
var isNil = require('./isNil');
var create = require('./create');
var getTypeName = require('.... |
import React from 'react'
import { shallow } from 'enzyme'
import Icon from '../Icon'
it('renders without crashing', () => {
shallow(<Icon />)
})
|
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "m7 14 5-5 5 5z"
}), 'ArrowDropUp'); |
import { getFormJobs } from "./PlanConfigurer";
import path from "path";
const configSchema = {
type: "object",
schemas: {
configFile: {
type: "file",
label: "configfile",
default: "",
tester: (packagePath, dirname) =>
path.basename(packagePath).indexOf("jest.config") !== -1 ||
... |
var chai = require('chai');
var assert = chai.assert;
var expect = chai.expect;
var should = chai.should;
var path = require('path');
var url = require('url');
var rewire = require("rewire");
var handler = rewire('../lib/handler');
var request = require('supertest');
var express = require('express');
var bodyParser =... |
secrets = require("./secrets");
module.exports = {
mixpanel: (function() {
return require('mixpanel').init(secrets.MIXPANEL.TOKEN);
})()
}; |
/**
* Color manipulation functions below are adapted from
* https://github.com/d3/d3-color.
*/
var Xn = 0.950470;
var Yn = 1;
var Zn = 1.088830;
var t0 = 4 / 29;
var t1 = 6 / 29;
var t2 = 3 * t1 * t1;
var t3 = t1 * t1 * t1;
var twoPi = 2 * Math.PI;
/**
* Convert an RGB pixel into an HCL pixel.
* @param {ol.raste... |
const util = require('util');
module.exports = function (req, res, utils) {
var deferred = Promise.defer();
utils.request({
url: 'open/get_posts_by_category',
method: 'POST',
qs: {
siteId: req.site.id,
categoryId: 'susdanwmf4pckzxn7w24jw',
pageSize:... |
angular.module('services.CurrentAppService', [])
.service('CurrentAppService', ['$log', 'config', '$q', '$http', 'AppService',
function ($log, config, $q, $http, AppService) {
return {
getCurrentApp: function () {
var defer = $q.defer();
console.log("getting apps");
$http.get(conf... |
version https://git-lfs.github.com/spec/v1
oid sha256:2099c84446b54becdcbf7a805f82b82bbd692b31a23b8553c957d46e8a180f24
size 27435
|
// This compiler is based on the meteor core Spacebars compiler. The main goal
// of this object is to transform the jade syntax-tree to a spacebars
// syntax-tree.
//
// XXX Source-mapping: Jade give us the line number, so we could implement a
// simple line-mapping but it's not yet supported by the spacebars compiler... |
import { combineReducers } from 'redux';
import forms from './forms';
import user from './user';
import whoami from './whoami';
export default combineReducers({
forms,
user,
whoami,
});
|
'use strict';
/**
* Module dependencies.
*/
var util = require('util');
var request = require('request');
var path = require('path');
var nconf = require('nconf').file({
file: path.join(__dirname, '..', 'config', 'global.json')
});
/**
* Logger
*/
var LogglyStream = function() {
this.options = {
enab... |
var run_tl = new TimelineLite({
onComplete: function() {
run_tl.play(0);
},
}),
jump_tl = new TimelineLite({
paused:true,
onComplete:function() {
run_tl.play(0);
}
}),
dur = 0.125;
TweenLite.defaultEase = Linear.easeNone;
run_tl.timeScale(1.25);
run_tl.add("Step")
.add(bodyTl(), "Step")
.add(ar... |
export default class {
constructor() {
this.name = 'bob';
}
}
|
/*!
* Ext JS Library 3.4.0
* Copyright(c) 2006-2011 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
*/
/*!
* Ext JS Library 3.4.0
* Copyright(c) 2006-2011 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
*/
/*!
* Ext JS Library 3.4.0
* Copyright(c) 2006-2011 Sencha Inc.
... |
'use strict';
var test = require('selenium-webdriver/testing'),
By = require('selenium-webdriver').By,
until = require('selenium-webdriver').until,
Promise = require("bluebird"),
expect = require('chai').expect,
moment ... |
(function () {
'use strict';
var module = angular.module('fim.base');
module.config(function($routeProvider) {
$routeProvider
.when('/wallet', {
templateUrl: 'partials/wallet.html',
controller: 'WalletController'
});
});
module.controller('WalletController', function($scope, $rootScope, WalletSe... |
todoApp = angular.module('todoApp', ['ngRoute'])
.config(function($routeProvider) {
$routeProvider
.when('/', {
templateUrl: '/partials/todo.html',
controller: 'TodoCtrl'
}).otherwise({
redirectTo: '/'
});
}); |
/**
* JQuery tabIndexList - v 0.0.2 - 2013-08-05
* Copyright (c) Mar, G. (Terra Networks Brasil); Licensed MIT
*/
(function($){
'use strict';
var pluginName = 'tabIndexList',
version = '0.0.2',
defaults = {
/**
* a name can be associated to more with one element,
* if this parameter are flagged true ... |
(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.dragula = f()}... |
const remote = require('electron').remote;
const main = remote.require('./main.js');
const texts = main.getTexts('general');
//const state1Msg = 'Hubo uno o varios problemas, inténtalo de nuevo más tarde o contacta con el administrador a través del correo hector.zaragoza.arranz@gmail.com, ¡no muerdo!';
const state1... |
const expect = require('expect.js')
describe('CJS-build', function() {
it('can be imported', function() {
const theLib = require('../dist/cjs')
expect(theLib).not.to.be(undefined)
})
it('import has content', function() {
const { Schema } = require('../dist/cjs')
expect(Schema).not.t... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
// flow-typed signature: b53256ed2969efa65cf5a334cc66b9cf
// flow-typed version: <<STUB>>/eslint-formatter-pretty_v^1.1.0/flow_v0.48.0
/**
* This is an autogenerated libdef stub for:
*
* 'eslint-formatter-pretty'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to... |
Core = {};
Core.Schemas = {};
Core.Helpers = {};
_.extend(Core, {
/**
* Core.schemaIdAutoValue
* @summary used for schemea injection autoValue
* @example autoValue: Core.schemaIdAutoValue
* @return {String} returns randomId
*/
schemaIdAutoValue: function () {
if (this.isSet &&... |
/* global location */
/* Centralized place to reference utilities since utils is exposed to the user. */
var debug = require('./debug');
var deepAssign = require('deep-assign');
var device = require('./device');
var objectAssign = require('object-assign');
var objectPool = require('./object-pool');
var warn = debug('... |
function set_filter_toolbar(select) {
var textarea = select.up('div').down('textarea').readAttribute('id');
var toolbar = textarea + '_toolbar';
var filter = select.getValue();
if (Control.TextArea.ToolBar[filter] != null) {
remove();
if (filter) {
var tb = new Control.TextArea.To... |
Package.describe({
version: '0.1.2',
summary: "Rig the basics for packmeteor"
});
Package.on_use(function (api) {
api.use('webapp', 'server');
api.use('reload', 'client');
api.use('routepolicy', 'server');
api.use('underscore', 'server');
api.use('autoupdate', 'server', {weak: true});
api.export('Pack... |
var browserSync = require('browser-sync');
var changed = require('gulp-changed');
var config = require('../config').images;
var gulp = require('gulp');
var imagemin = require('gulp-imagemin');
gulp.task('images', function() {
return gulp.src(config.src)
.pipe(changed(config.dest)) // Ignore un... |
import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/home'
import About from '@/pages/about'
import Contact from '@/pages/contact'
import Technology from '@/pages/technology'
import c02 from '@/pages/c02'
import c03 from '@/pages/c03'
import solar from '@/pages/solar'
import factory from '@/p... |
/**
* The (inherited) "widget-select" module.
*
* Topics subscribed : "color:add"
* Topics published : "color:preset"
*/
TinyCore.Module.inherit( 'widget-generic', 'widget-select', ['mediator'], function ( _mediator )
{
// The module.
return {
/**
* Topics to automatically subscribe to.
* @type {Object}
... |
var express = require('express');
var fs = require('fs');
var Mustache = require('mustache');
var jsforce = require('jsforce');
var app = express();
app.listen(9000);
app.get('/', function(req, res) {
var METRICS = [{
reportid: '', username: '', password: '', loginurl: 'https://na1.salesforce.com', char... |
/**
* Created by nickrickenbach on 8/11/15.
*/
var app = angular.module('BLANG', ['ngRoute', 'ngResource', 'ngSanitize', 'angularSpinner']);
app.config(['$routeProvider', '$locationProvider', function ($routeProvider, $locationProvider) {
$routeProvider
.when('/', {
templateUrl: 'views/home.h... |
'use strict';
/**
* NodeWithGraph
* =============
*/
const path = require('path');
const inherit = require('inherit');
const Node = require('./node');
module.exports = inherit(Node, {
__constructor(nodePath, makePlatform, cache, graph) {
this.__base(nodePath, makePlatform, cache);
/**
... |
alert('loaded'); |
import React, { Component } from 'react';
import { AppRegistry } from 'react-native';
import App from './src/App';
export default class reactNativeComponentes extends Component {
render() {
return(
<App />
)
}
}
AppRegistry.registerComponent('reactNativeComponentes', () => reactNat... |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M20 8h-3V6.21c0-2.61-1.91-4.94-4.51-5.19C9.51.74 7 3.08 7 6h2c0-1.13.6-2.24 1.64-2.7C12.85 2.31 15 3.9 15 6v2H4v14h16V8zm-2 12H6V10h12v10zm-6-3c1.1 0 2-.9 2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.