code stringlengths 2 1.05M |
|---|
version https://git-lfs.github.com/spec/v1
oid sha256:ced03d673daaf62a712c8b067fe1a211aa8febe60802a13eb96d76d81b82eed7
size 779
|
define([
'backbone',
'underscore',
'find/app/util/model-any-changed-attribute-listener',
'find/app/util/topic-map-view',
'i18n!find/nls/bundle',
'find/app/configuration',
'text!find/templates/app/page/search/results/entity-topic-map-view.html',
'text!find/templates/app/page/loading-spinn... |
var searchData=
[
['esp_2dnow_20apis',['ESP-NOW APIs',['../group__ESPNow__APIs.html',1,'']]]
];
|
import Component from '@ember/component';
import { setProperties, getProperties, get } from '@ember/object';
/**
* `donation-goal-edit` used to edit new and existing donation goals
*
* ## default usage
*
* ```handlebars
* {{donation-goal-edit
* canCancel=externalCancellableFlag
* cancel=(action externalCan... |
'use strict';
var _ = require('underscore'),
expect = require('expect.js'),
sinon = require('sinon'),
proxyquire = require('proxyquire').noCallThru();
describe('Projcts collection `_archiveUnarchive` method', function() {
var getMocks = function(params) {
return {
projects: {
get: sinon.stub().returns(p... |
import init from "./init";
class TestPluginClass {
constructor(element, options, name) {
this.name = name;
this.element = element;
this.options = options;
}
}
describe("`init` helper", () => {
let TestPlugin = {};
beforeEach(() => {
document.body.innerHTML = `<div class="test test_1">test</div... |
// For a test author to enable code covergage instrumentation,
// they make a single call
var ass = require('ass').enable();
var cp = require('child_process'),
should = require('should'),
fs = require('fs'),
request = require('request');
describe('a test', function() {
var kid, url;
it('server... |
// This is the RequireJS configuration that is used by all examples.
//
// Curran Kelleher November 2014
require.config({
paths: {
// Use "modelContrib/someModule" as the module name to load
// reusable modules provided by modelContrib.
modelContrib: "../../modules",
d3: "../../bower_components/d3/d... |
const Boom = require('@hapi/boom')
const Hoek = require('@hapi/hoek')
exports.register = function HapiRateLimit (plugin, _options) {
// Apply default options
const options = Hoek.applyToDefaults(defaults, _options)
// Create limiter instance
// const limiter = new RedisRateLimit(options)
let Driver = option... |
// read this article for more info on what's going on here
// http://bahmutov.calepin.co/hooking-into-node-loader-for-fun-and-profit.html
// based on https://github.com/bahmutov/node-hook
// based on https://github.com/gotwarlost/istanbul/blob/master/lib/hook.js
/*
Copyright (c) 2012, Yahoo! Inc. All rights reserv... |
function ColorPickerController($scope) {
$scope.isConfigured = $scope.model.config && $scope.model.config.items && _.keys($scope.model.config.items).length > 0;
if ($scope.isConfigured) {
for (var key in $scope.model.config.items) {
if (!$scope.model.config.items[key].hasOwnProperty("valu... |
'use strict';
import assign from 'object-assign';
import Constants from '../constants/AppConstants';
import BaseStore from './BaseStore';
class ContainerStore extends BaseStore {
constructor() {
super();
this.subscribe(() => this._registerToActions.bind(this));
this._containers = [];
... |
// flow-typed signature: 3350ac60247e5d21911065431eacf53e
// flow-typed version: <<STUB>>/@babel/plugin-proposal-class-properties_v^7.0.0/flow_v0.94.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/plugin-proposal-class-properties'
*
* Fill this stub out by replacing all the `any` types.
*
* Once... |
function checkBoxesTicked() {
// Get the value of both the line graphs together
var lineGraphsCheckedVal = document.getElementById("norm-line-graphs").checked &&
document.getElementById("cumulative-line-graphs").checked;
// Set the line graph check box to that value
document.getElementById("line-graphs")... |
/* eslint-env node */
'use strict';
module.exports = {
name: 'affinity-engine-stage'
};
|
ModuleLoader.require([
], function() {
var inlineEditor2;
module("tinymce.plugins.Lists", {
setupModule: function() {
document.getElementById('view').innerHTML = (
'<textarea id="elm1"></textarea>' +
'<div id="elm2"></div>' +
'<div id="lists">' +
'<ul><li>before</li></ul>' +
'<ul id="elm3"... |
tinyMCE.addI18n('cs.media_dlg',{
title:"Vlo\u017Eit/upravit vkl\u00E1dan\u00E1 m\u00E9dia",
general:"Hlavn\u00ED",
advanced:"Pokro\u010Dil\u00E9",
file:"Soubor/URL",
list:"Seznam",
size:"Rozm\u011Bry",
preview:"N\u00E1hled",
constrain_proportions:"Zachovat proporce",
type:"Typ",
id:"ID",
name:"N\u00E1zev",
... |
'use strict';
module.exports = function (app) {
// User Routes
var users = require('../controllers/users.server.controller');
// Setting up the users profile api
app.route('/api/users/me').get(users.me);
app.route('/api/users').put(users.update);
app.route('/api/users/accounts').delete(users.removeOAuthPr... |
ko.bindingHandlers.dateString = {
update: function (element, valueAccessor, allBindingsAccessor, viewModel) {
var value = valueAccessor(),
allBindings = allBindingsAccessor();
var valueUnwrapped = ko.utils.unwrapObservable(value);
var dateString = valueUnwrapped;
var pars... |
var fs = require('fs');
var path = require('path');
var exec = require('child_process').exec;
var should = require('should');
var MistRender = require('../bin/mist-render.js');
var MistClean = require('../bin/mist-clean.js');
var ninjaExec = path.join(process.cwd(), 'bin/ninja/ninja');
var fixtureDir = path.join(__di... |
module.exports = function( THREE ){
/**
* @author qiao / https://github.com/qiao
* @author mrdoob / http://mrdoob.com
* @author alteredq / http://alteredqualia.com/
* @author WestLangley / http://github.com/WestLangley
* @author erich666 / http://erichaines.com
*/
// This set of controls performs orbiti... |
import Koa from 'koa'
import convert from 'koa-convert'
import webpack from 'webpack'
import webpackConfig from '../build/webpack.config'
import historyApiFallback from 'koa-connect-history-api-fallback'
import serve from 'koa-static'
import proxy from 'koa-proxy'
import _debug from 'debug'
import config from '../confi... |
/*!
* remark v1.0.6 (http://getbootstrapadmin.com/remark)
* Copyright 2015 amazingsurge
* Licensed under the Themeforest Standard Licenses
*/
(function(document, window, $) {
'use strict';
var Site = window.Site;
$(document).ready(function($) {
Site.run();
$('.wb-search').magnificPopup({
type... |
// api/hooks/sails-permissions.js
module.exports = require('sails-permissions/api/hooks/sails-permissions');
|
'use strict';
/**
* Key command controller tests.
*/
describe('Key command controller', function () {
});
|
{
"AFN_currencyISO" : "AFN",
"AFN_currencySymbol" : "Af",
"ALK_currencyISO" : "AFN",
"ALK_currencySymbol" : "Af",
"ALL_currencyISO" : "AFN",
"ALL_currencySymbol" : "Af",
"AMD_currencyISO" : "AFN",
"AMD_currencySymbol" : "Af",
"ANG_currencyISO" : "ANG",
"ANG_currencySymbol" : "NAf.",
"AOA_currencyISO" : "AOA"... |
import HelloWebpackCSS from '../components/hello-webpack-css'
export default () => <HelloWebpackCSS />
|
import chai from 'chai';
import { scaleOrdinal, scaleLinear, scaleLog } from 'd3';
const expect = chai.expect;
import {
clampedScale,
domainToRange,
getScale,
getScaleTypes,
rangeToDomain,
} from '../scale';
import {
percentOfRange,
} from '../domain';
describe('scale utilities', () => {
describe('get... |
/* global isIFrameWithoutSrc:true */
import hammerhead from '../deps/hammerhead';
import * as styleUtils from './style';
import * as domUtils from './dom';
export const getElementRectangle = hammerhead.utils.position.getElementRectangle;
export const getOffsetPosition = hammerhead.utils.position.getOffsetPosition... |
(function( App ){
'use strict';
/**
* example:
* {{view App.Select2SelectView
id="mySelect"
contentBinding="App.staticData"
optionValuePath="content.id"
optionLabelPath="content.label"
selectionBinding="controller.selectedId"}}
{{view App.Select2SelectView
... |
var webpack = require('webpack');
var path = require('path');
var isProduction = process.env.NODE_ENV === 'production';
var node_modules = path.resolve(__dirname, 'node_modules');
var config = {
entry: {
// split vendor to another file
vendors: ['react', 'cerebral', 'immutable-store', 'event-emitter'],
a... |
/*globals define*/
/*jshint node:true, browser:true*/
/**
* Generated by PluginGenerator from webgme on Fri Jul 17 2015 22:13:17 GMT-0500 (CDT).
*/
define([
'plugin/PluginConfig',
'plugin/PluginBase',
'plugin/OtherPlugin/OtherPlugin/meta'
], function (PluginConfig, PluginBase, MetaTypes) {
'use strict... |
var grunt = require('grunt');
var fs = require('fs');
var path = require('path');
// In Nodejs 0.8.0, existsSync moved from path -> fs.
var existsSync = fs.existsSync || path.existsSync;
/*
======== A Handy Little Nodeunit Reference ========
https://github.com/caolan/nodeunit
Test methods:
test.expect(numAs... |
import gql from 'util/GraphQL';
import { loadFixtures, unloadFixtures } from 'util/fixtures';
import fixtures from '../__fixtures__/GetCategory';
describe('GetCategory', () => {
beforeAll(() => loadFixtures(fixtures));
it('Get specified category and articleCategories with NORMAL status', async () => {
expect(... |
var crypto = require('crypto');
var Memcached = function(){
var cache = {};
this.cas = function(key, value, cas, callback){
var err,
curr_value = cache[key],
curr_hash = crypto.createHash('md5').update(curr_value).digest('hex');
if (curr_hash === cas){
try{
cache[key] = valu... |
'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]; } }... |
var server = require('./server')
, assert = require('assert')
, request = require('../main.js')
, Cookie = require('../vendor/cookie')
, Jar = require('../vendor/cookie/jar')
var s = server.createServer()
s.listen(s.port, function () {
var server = 'http://127.0.0.1:' + s.port;
var hits = {}
var passed ... |
'use strict';
angular.module('SmartAdmin.Forms').directive('smartClockpicker', function () {
return {
restrict: 'A',
compile: function (tElement, tAttributes) {
tElement.removeAttr('smart-clockpicker data-smart-clockpicker');
var options = {
placement: 'top'... |
'use strict';
describe('Service: accordion', function () {
// load the service's module
beforeEach(module('uiAccordion'));
// instantiate service
var accordionService, accordionGroupService;
beforeEach(inject(function (_accordion_, _accordionGroup_) {
accordionService = _accordion_;
accordionGroupS... |
var gulp = require("gulp"),
Script = require("./script");
/*
* 脚本编译
*
* 将 *.app.less 编译成为同目录下的*.app.css
*
* 优先级 (最大级若存在且不为空文件,则只编译最大级别到 *.app.css。若*.app.js以上级别的文件都为空文件,则不进行编译 )
*
*
* *.app.css <_ *.app.less
*/
gulp.task("less", function () {
return Script.less();
});
/*
* 脚本编译 (release)
*
* 将 *... |
describe('mdNavBar', function() {
var el, $compile, $scope, $timeout, ctrl, tabContainer, $material, $mdConstant;
/** @ngInject */
var injectLocals = function(
_$compile_, $rootScope, _$timeout_, _$material_, _$mdConstant_) {
$compile = _$compile_;
$scope = $rootScope.$new();
$timeout = _$timeo... |
/*
* Copyright (C) 2015 Glyptodon LLC
*
* 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, publi... |
var filesys = require('fs'),
pathsys = require('path'),
readFekitConfig = require('./readFekitConfig.js');
var fekitModule = 'fekit_modules';
var level = 0;
function resolveModule(modulePath) {
var configPath = pathsys.resolve(modulePath, 'fekit.config'),
packageJsonPath = pathsys.resolve(modulePath, 'package.j... |
// Generated by CoffeeScript 1.9.3
var CONCURRENT_DESTROY, ERRORMSG, LIMIT_UPDATE, MAX_RETRIES, Message, Process, RemoveAllMessagesFromMailbox, async, log, ref,
bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
extend = function(child, parent) { for (var key in parent) { if (hasProp.... |
define({
"taskUrl": "가시권역 서비스 URL",
"portalURL": "ArcGIS Online 기관 또는 Portal for ArcGIS의 URL을 지정합니다.",
"portalURLError": "ArcGIS Online 기관 또는 Portal for ArcGIS에 구성된 URL이 유효하지 않습니다.",
"privilegeError": "귀하의 사용자 역할은 분석을 수행할 수 없습니다. 분석을 수행하려면 내 기관의 관리자가 특정 <a href=”http://doc.arcgis.com/en/arcgis-online/reference/... |
"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")... |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat... |
/*
* HP Enterprise | TSRnD Bengaluru, India
* @author: Akshay Kr Singh
* @date: 1/28/2017
* @email: akshay.singh@hpe.com
*/
module.exports = {
"db": {
"url": "mongodb://db-admin:db-admin@3.234.160.235:27017/wiperr-dev",
"name": "db",
"connector": "mongodb"
}
};
|
import sortBy from "lodash/sortBy";
export default {
/**
* [Please add a description.]
*
* 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
*/
name: "internal.blockHo... |
'use strict';
module.exports = function(req, res, next) {
req.second = true;
next();
};
|
import avatar from "./avatar";
import upload from "./upload";
export default {
avatar,
upload,
};
export {
avatar,
upload,
};
|
function iconHover() {
var image = document.getElementById("plan-icon");
var link = document.getElementById("applicationLink");
if (!("ontouchstart" in document.documentElement) &&
! (navigator.maxTouchPoints > 0) &&
! (navigator.msMaxTouchPoints > 0) ){
link.addEventListener("mouseover", function(){
if (w... |
// example 1
type Type = Name | ListType;
type Name = {kind: 'Name', value: string};
type ListType = {kind: 'ListType', name: string};
function getTypeASTName(typeAST: Type): string {
if (typeAST.kind === 'Name') {
return typeAST.value; // OK, since typeAST: Name
} else {
return typeAST.name; // OK, since... |
// Icelandic
jQuery.extend(jQuery.fn.pickadate.defaults, {
monthsFull: [ 'janúar', 'febrúar', 'mars', 'apríl', 'maí', 'júní', 'júlí', 'ágúst', 'september', 'október', 'nóvember', 'desember' ],
monthsShort: [ 'jan', 'feb', 'mar', 'apr', 'maí', 'jún', 'júl', 'ágú', 'sep', 'okt', 'nóv', 'des' ],
weekdaysFull:... |
/*!
* jQuery JavaScript Library v1.6
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
*... |
define(function(require) {
'use strict';
var L10nManager = require('backend/modules/L10nManager');
var React = require('react');
var L10nSpan = React.createClass({
propTypes: {
l10nId: React.PropTypes.string.isRequired,
l10nParams: React.PropTypes.object
},
getDefaultProps: function()... |
/*
* Facebox (for jQuery)
* version: 1.3
* @requires jQuery v1.2 or later
* @homepage https://github.com/defunkt/facebox
*
* Licensed under the MIT:
* http://www.opensource.org/licenses/mit-license.php
*
* Copyright Forever Chris Wanstrath, Kyle Neath
*
* Usage:
*
* jQuery(document).ready(function() {
... |
/* ************************************ */
/* Define helper functions */
/* ************************************ */
function evalAttentionChecks() {
var check_percent = 1
if (run_attention_checks) {
var attention_check_trials = jsPsych.data.getTrialsOfType('attention-check')
var checks_passed = 0
for (v... |
define({
root: ({
instruction: "Select and configure layers that will be shown in Attribute Table initially.",
label: "Layer",
show: "Show",
actions: "Configure Layer Fields",
field: "Field",
alias: "Alias",
visible: "Visible",
linkField: "Link Field",
noLayers: "No feature layers ... |
'use strict';
/* global describe, it, beforeEach */
let assert = require('assert');
let Cycle = require('@cycle/core');
let CycleDOM = require('../../src/cycle-dom');
let {Rx} = Cycle;
let {h, makeHTMLDriver} = CycleDOM;
describe('renderAsHTML()', function () {
it('should output HTML when given a simple vtree stream... |
/*jshint expr:true */
'use strict';
const Crawler = require('../lib/crawler');
const expect = require('chai').expect;
const sinon = require('sinon');
// settings for nock to mock http server
const nock = require('nock');
// init variables
let cb;
let crawler;
describe('Direct feature tests', function() {
before(f... |
"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")... |
var path = require('path')
var utils = require('./utils')
var webpack = require('webpack')
var config = require('../config')
var merge = require('webpack-merge')
var baseWebpackConfig = require('./webpack.base.conf')
var CopyWebpackPlugin = require('copy-webpack-plugin')
var HtmlWebpackPlugin = require('html-webpack-pl... |
import Vue from 'vue';
import { HomePage } from 'src/pages/home';
describe('home/HomePage.vue', () => {
it('should render correct contents', () => {
const vm = new Vue({
el: document.createElement('div'),
render: (h) => h(HomePage)
});
expect(vm.$el.className).to.equal('invite-hot');
});
})... |
import { createContext } from 'react';
const FormModalNavigationContext = createContext();
export default FormModalNavigationContext;
|
'use strict'
var RouteConfig = function(application) {
this.application = application;
};
var registerRoutes = function() {
var config = loadRouteConfig();
var routesLength = config.routes.length;
for(var i = 0; i < routesLength; i++) {
var routeItem = config.routes[i];
var Controller = loadControl... |
/**
* jqMobi is a query selector class for HTML5 mobile apps on a WebkitBrowser.
* Since most mobile devices (Android, iOS, webOS) use a WebKit browser, you only need to target one browser.
* We are able to increase the speed greatly by removing support for legacy desktop browsers and taking advantage of browser featur... |
/**
* The command line interface for interacting with the Protractor runner.
* It takes care of parsing command line options.
*
* Values from command line options override values from the config.
*/
'use strict';
var args = [];
process.argv.slice(2).forEach(function(arg) {
var flag = arg.split('=')[0];
swit... |
var http = require('http');
var express = require('express');
var wsServer = require('ws').Server;
var date = require('date-utils');
var subscriber = require('./subscriber');
startServer([]);
function startServer(init){
var port = process.env.PORT || 8080;
console.log('port:' + port);
var app = express();
app.... |
define([
'backbone',
'text!app/tpl/Sidebar.html'
], function(Backbone, Tpl) {
'use strict';
return Backbone.View.extend({
events: {
'change input,select': 'saveSettings'
},
initialize: function(options) {
// Compile Template
this.options = ... |
/* ========================================================================
* login.js
* Page/renders: page-login.html
* Plugins used: parsley
* ======================================================================== */
'use strict';
(function (factory) {
if (typeof define === 'function' && define.amd) {
... |
'use strict';
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
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)) newOb... |
/*! Copyright (c) 2011 Piotr Rochala (http://rocha.la)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* Improved by keenthemes for Metronic Theme
* Version: 1.3.2
*
*/
(function($) {
jQuery.fn.exte... |
'use strict';
var assert = require('assert'),
fs = require('fs'),
path = require('path'),
WritableStream = require('stream').Writable,
SAXParser = require('../../lib').SAXParser,
testUtils = require('../test_utils');
function getFullTestName(test, idx) {
return ['SAX - ', idx, '.', test.name].... |
const expect = require('chai').expect;
const path = require('path');
const projRoot = process.env.PWD;
const controller = require(path.join(projRoot, 'src/server/controllers/heartbeat'));
module.exports = {
get: get
};
function get(done) {
const data = controller.get();
expect(data).to.be.an('object');
expec... |
/*!
*
* Super simple wysiwyg editor v0.8.14
* https://summernote.org
*
*
* Copyright 2013- Alan Hong. and other contributors
* summernote may be freely distributed under the MIT license.
*
* Date: 2019-12-28T14:35Z
*
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === '... |
import sum from '../sum';
describe('General Test', () => {
it('adds 1 + 2 equal 3', () => {
expect(sum(1, 2)).toBe(3);
})
})
|
'use strict'
let component = require('omniscient')
let immutable = require('immutable')
let S = require('underscore.string.fp')
let logger = require('@arve.knudsen/js-logger').get('workshopsExplore')
let R = require('ramda')
let h = require('react-hyperscript')
let React = require('react')
let ReactDOM = require('react... |
/**
* name : activeResources.js
* Location : /norris/test/dataLayer/activeResources
*
* History :
* Version Date Programmer
* =================================================
* 0.0.1 2015/05/15 Meneguzzo Francesco
* -------------------------------------------------
* Codifica modul... |
/*global define*/
///////////////////////////////////////////////////////////////////////////
// Copyright © 2015 Esri. All Rights Reserved.
//
// 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 a... |
const chalk = require('chalk')
const checkpoint = require('../checkpoint')
const figures = require('figures')
const formatCommitMessage = require('../format-commit-message')
const runExec = require('../run-exec')
const runLifecycleScript = require('../run-lifecycle-script')
module.exports = function (newVersion, pkgPr... |
version https://git-lfs.github.com/spec/v1
oid sha256:c4dd1d1fdefb8933c974ed0b535ae98025befca15b472d0503a456083d0ad9a7
size 5352
|
import { get } from '../lib/apiService';
export function getAffiliation(affiliationId) {
return get('nominations', `affiliations/${affiliationId}`);
}
export function getAffiliationsByType(type) {
return get('nominations', 'affiliations', { type });
}
export function getAffiliationList(pageNumber = 1, search, si... |
import {REQUEST, DISMISS} from './actions';
export default function({hasBeenDismissed}) {
const initialState = {
dismissed: hasBeenDismissed,
visible: false
};
return function(state = initialState, action) {
switch (action.type) {
case REQUEST:
if (!state.dismissed) {
return {
... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M7 1v5h2V4h10v16H9v-2H7v5h14V1z" /><path d="M9.5 15.5c.29-.12.55-.29.8-.48l-.02.03 1.41.55 1.27-2.2-1.18-.95-.02.03c.02-.16.05-.32.05-.48s-.0... |
/**
* Requires all tasks in gulp/tasks, including subfolders
* Dependencies:
* - require-dir
*/
var requireDir = require('require-dir');
requireDir('./gulp/tasks', {recurse:true}); |
// This file is used to load the video.js source files into a page
// in the correct order based on dependencies.
// When you create a new source file you will need to add
// it to the list below to use it in sandbox/index.html and
// test/index.html
// You can use the projectRoot variable to adjust relative urls
// t... |
var http = require('http'),
path = require('path'),
url = require('url'),
request = require('request'),
_ = require('underscore'),
jschardet = require('jschardet'),
jsdom = require('jsdom'),
zlib = require("zlib"),
fs = require("fs"),
Pool = require('generic-pool').Pool;
// Fallback... |
/**
* Testing our Button component
*/
import Button from '../index';
import { mount } from 'enzyme';
import React from 'react';
const handleRoute = () => {};
const href = 'http://mxstbr.com';
const children = (<h1>Test</h1>);
const renderComponent = (props = {}) => mount(
<Button href={href} {...props}>
{chi... |
version https://git-lfs.github.com/spec/v1
oid sha256:71723b08bbf195b8908ec9d7dba9c3284281e3dd09eef9711906e81f3c0e26da
size 62894
|
const Promise = require(`bluebird`)
const {
GraphQLObjectType,
GraphQLBoolean,
GraphQLString,
GraphQLInt,
GraphQLFloat,
GraphQLEnumType,
} = require(`graphql`)
const qs = require(`qs`)
const base64Img = require(`base64-img`)
const _ = require(`lodash`)
const ImageFormatType = new GraphQLEnumType({
name: ... |
import { frameworks, url } from "../settings";
import { ClientFunction } from "testcafe";
const assert = require("assert");
const title = `customCss`;
const initSurvey = ClientFunction((framework, json) => {
Survey.defaultBootstrapCss.navigationButton = "btn btn-primary";
Survey.StylesManager.applyTheme("bootstrap"... |
import Ember from 'ember';
export default Ember.View.extend({
elementId: "user"
}); |
import gulp from 'gulp';
import del from 'del';
import runSequence from 'run-sequence';
import babel from 'rollup-plugin-babel';
import {rollup} from 'rollup';
import file from 'gulp-file';
const MODULE_NAME = 'myModule';
/**
* @name SRC
* @type {string}
*/
const SRC = './src/**/*.js';
/**
* @name DIST
* @type ... |
var assert = require('assert');
var html2epub = require('../lib/');
describe('Constructor with no arguments', function() {
var epub = new html2epub();
it('valid UUID', function(done) {
var uuid = /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/;
assert.ok(uuid.test(epub.identifier));
don... |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M13 10H3c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1zm0-4H3c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1zM3 16h6c.55 0 1-.45 1-1s-.... |
// Generated by CoffeeScript 1.11.1
/*
clientside HAML compiler for Javascript and Coffeescript (Version 5)
Copyright 2011-12, Ronald Holshausen (https://github.com/uglyog)
Released under the MIT License (http://www.opensource.org/licenses/MIT)
*/
(function() {
var Buffer, CodeGenerator, CoffeeCodeGenerator... |
'use strict';
module.exports = function(type) {
if (type === 'removeListeners') {
window.removeEventListener('scroll', this.pauseWhenNotInViewNameSpace);
return;
}
window.addEventListener('scroll', this.pauseWhenNotInViewNameSpace);
this.pauseWhenNotInViewNameSpace();
};
|
/* automatically built from ReflectionException.php*/
PHP.VM.Class.Predefined.ReflectionException = function( ENV, $$ ) {
ENV.$Class.New( "ReflectionException", 0, {Extends: "Exception"}, function( M, $, $$ ){
M.Create()});
ENV.$Class.Get( "DateTime").prototype.Native = true;
}; |
version https://git-lfs.github.com/spec/v1
oid sha256:e9601d8f50c26ec09e8c182fff75f8d43a09fbf5ce34bb896636df2e54729114
size 6764
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.