code stringlengths 2 1.05M |
|---|
import buble from 'rollup-plugin-buble'
export default {
entry: 'src/index.js',
plugins: [buble()],
moduleName: 'mostCreate',
globals: {
'@most/multicast': 'mostMulticast',
'most': 'most'
},
targets: [
{ dest: 'dist/create.js', format: 'umd' },
{ dest: 'dist/create.es.js', format: 'es' }
... |
import React, { Component } from 'react';
import Book from './Book';
class BookList extends Component {
render() {
const { booklist } = this.props
return (
<div>
{booklist.map(entry=>{
return (
<Book key={entry._id} entryId={entry._id} {...this.props}/>
... |
module.exports = function (api) {
api.addEndpointDescription('_put_percolator', {
priority: 10, // to override doc
methods: ['PUT', 'POST'],
patterns: [
"{index}/.percolator/{id}"
],
url_params: {
"version": 1,
"version_type": ["external", "internal"],
"op_type": ["create"]... |
module.exports = {
"passport": {
"Google": {
"clientID": "GOOGLE_CLIENT_ID",
"clientSecret": "GOOGLE_CLIENT_SECRET",
"callbackURL": "GOOGLE_CALLBACK_URL"
},
"Facebook": {
"clientID": "FACEBOOK_CLIENT_ID",
"clientSecret": "FACEBOOK_CLIENT_SECRET",
"callbackURL": "FACEBO... |
/*! jQuery UI - v1.10.3 - 2013-07-28
* http://jqueryui.com
* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.accordion.js, jquery.ui.autocomplete... |
DomTable = function(params){
this.init = function(params){
this.parent = params.parent;
// Limpiar la tabla de soluciones
this.clean();
this.table = dojo.create("table");
this.parent.appendChild(this.table);
this._addLine([
{data: "Iteración"},
... |
'use strict';
/**
* @namespace HashBrown.Client.Entity.View.ListItem
*/
namespace('Entity.View.ListItem')
.add(require('./ListItemBase'))
.add(require('./PanelItem'))
.add(require('./Project'))
.add(require('./User'));
|
/**
* Router
*/
module.exports = Route;
function Route () {
this.routes = [];
};
/**
* Add a new route
*/
Route.prototype.add = function (method, path, partial) {
this.routes.push({
method: method,
path: path,
partial: partial,
hash: null
});
};
/**
* Returns all routes
*/
Route.prototyp... |
Vue.component("greeting", {
template:"<p>Hey there {{name}}; <button @click='changeName'>Change To Mario</button></p>",
data : function () {
return {
name: "Yoshi"
}
},
methods:{
changeName: function (){
this.name = "Mario";
}
}
});
new Vue({
el: "#vue-app-one",
});
new Vue({
... |
/**********************************************************************************************
The MIT License (MIT)
Copyright (c) 2016 Michael Juliano
https://github.com/micha3ldavid
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation fil... |
import loaderReducer from '../../app/reducers/loader';
test('Loader Reducer: returns correct output', () => {
const state = {};
const action1= {
type: 'Loading'
};
const action2= {
type: 'Loaded'
};
const action3= {
type: 'Error'
};
expect(loaderReducer(state, action1)).toEqual('loading');... |
var tagCloud = require('./src/tag-cloud')
module.exports = tagCloud
|
import SettingsContainer from '../../containers/SettingsContainer'
export default [
{
path: 'settings',
getComponents(location, cb) {
cb(null, SettingsContainer)
},
},
]
|
module.exports = _request;
var _ = require("lodash");
var Promise = require("bluebird");
var request = require("request");
function _request(options, cb) {
var params = _.merge({
jar: request.jar()
}, options.requestOptions);
var r = request.defaults(params);
var results = []
Promise.each(options.items, ... |
function map(key,value) {
Meguro.log(key);
}
|
version https://git-lfs.github.com/spec/v1
oid sha256:9cb7b5dc53bdec6fb03c8483146ab059ab9a95dcaa1d079eb1fa6ba86aa25a12
size 1757
|
const { readdirSync } = require("fs");
import rollupTypescript from "@rollup/plugin-typescript";
import commonjs from "@rollup/plugin-commonjs";
import { nodeResolve } from "@rollup/plugin-node-resolve";
import cleaner from "rollup-plugin-cleaner";
import multi from "@rollup/plugin-multi-entry";
const getDirectories =... |
/* jshint undef: true, unused: true, undef: true */
/* global global, console, MODULE_CHROME, TASK_LOADER */
/* exported activeModule */
console.log('in device_updater_service.js');
var q = global.require('q');
function createDeviceUpdaterService() {
// console.log('Available tasks', Object.keys(TASK_LOADER.tasks... |
(function () {
'use strict';
function main($resource) {
return $resource(
'/files',
{},
{
query: {
method: 'GET',
isArray: true
}
}
);
}
angular.module('GroupDocsAnn... |
/*
Copyright 2014, KISSY v1.49
MIT Licensed
build time: May 22 12:27
*/
/*
Combined processedModules by KISSY Module Compiler:
editor/plugin/xiami-music/dialog
*/
KISSY.add("editor/plugin/xiami-music/dialog", ["editor", "../flash/dialog", "../menubutton"], function(S, require) {
var Editor = require("editor");
... |
'use strict';
var mongoose = require('mongoose');
var ShortId = require(require('path').join(__dirname, 'generator'));
var defaultSave = mongoose.Model.prototype.save;
mongoose.Model.prototype.save = function (cb) {
if (typeof cb === 'undefined') {
cb = function () {
};
}
if (this.isNew && this.shortI... |
"use strict";
var __extends = (this && this.__extends) || (function () {
var 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] = b[p]; };
return function (d, b)... |
'use strict';
angular.module('weatherApp.citySelector.citySelector-service', [])
.factory('weatherInfoProvider', ['$http', function($http) {
return function (cityIds) {
var data = {
id: cityIds.join(','),
units: 'metric',
APPID: ${appId}
};
return $http({
method: 'GET',
... |
/*globals before, describe, it*/
'use strict'
const path = require('path')
const assert = require('yeoman-generator').assert
const helpers = require('yeoman-generator').test
const os = require('os')
describe('lanetix-microservice:app', function () {
before(function (done) {
helpers.run(path.join(__dirname, '../... |
'use strict';
var app = angular.module('app', [
'ui.router',
'home',
'books'
]);
app.config(
[ '$stateProvider', '$urlRouterProvider', '$locationProvider',
function ($stateProvider, $urlRouterProvider, $locationProvider) {
$stateProvider
//////////////////////////
// State Conf... |
export { default as Chart } from './Chart';
export { default as Table } from './Table'; |
function numberToArray( number ) {
let result = [];
while ( number ) {
result.unshift( number % 10 );
number = Math.floor( number / 10 );
}
return result;
} |
/**
* Copyright (c)2005-2009 Matt Kruse (javascripttoolbox.com)
*
* Dual licensed under the MIT and GPL licenses.
* This basically means you can use this code however you want for
* free, but don't claim to have written it yourself!
* Donations always accepted: http://www.JavascriptToolbox.com/donate/
*
* Pl... |
import gulp from 'gulp'
export default function lint_watch (done) {
return gulp.series(
gulp.task('lint'),
function watch () {
gulp.watch([
'.jscsrc',
'alchemist.js',
'alchemist-lite.js',
'lib/**/*.js',
'tests/**/*.js',
'tasks/**/*.js',
'gulpfile.... |
import {
USER_IS_LOADING,
BACKPACK_IS_LOADING,
ITEMS_IS_LOADING
} from '../../actions/types';
export default function(state = {}, action) {
switch (action.type) {
case BACKPACK_IS_LOADING:
//console.log('isLoadingReducer_BACKPACK', action);
return action.isLoading;
case ITEMS_IS_LOADING:
//console.log... |
import { combineReducers } from 'redux';
import arch from './arch'; // 基础档案
import accountingSubject from './accountingSubject'; // 基础档案
import mappingDef from './mappingDef'; // 转换规则定义
import entity from './entity'; // 实体模型
import externalDataModelling from './externalDataModelling'; // 外部数据建模
import entityMap from '... |
// TODO : getter/setter function
/**
* @param {pipeDataSet} pipeDataSet
* @constructor
*/
diCrm.model.Pipeline = function(pipeDataSet) {
this.nId = pipeDataSet.nId;
this.name = pipeDataSet.name;
this.categoryName = pipeDataSet.categoryName;
this._status = [];
this._leads =... |
var assert = require("assert"),
mocha = require('mocha'),
describe = mocha.describe,
it = mocha.it;
var nDI = require('..');
describe('Container', function() {
var serviceId = 'example.service',
parameterName = 'example.test';
describe('#get', function() {
it('should throw error when servic... |
var searchData=
[
['valueholder',['ValueHolder',['../classValueHolder.html#ad7d05df1aba8e391546e253aab762525',1,'ValueHolder']]],
['visit',['visit',['/home/shannaracat/dev/gitlab/workspace_oss/LostInCompilation/docs/doxygen/shacat/html/classTreeWalker.html#ad42b3a79f21114d0275a94797b3292cf',1,'TreeWalker::visit()']... |
var norwayCitiesNames = (function () {
"use strict";
var rules = {
elementsMinNumber: 4,
elementsMaxNumber: 16,
elementsPositionRules: true,
postProcess: function (values) {
var name = values.join('');
name = name.charAt(0).toUpperCase() + name.slice(1);
... |
var crypto = require('crypto');
var md5 = crypto.createHash('md5');
md5.update('cryptostring');
var md5digest = md5.digest();
console.log("The result is : " + md5digest);
|
import segmentsTemplate from './segmentsTemplate.html';
import segments from './segments';
export default function ($stateProvider) {
$stateProvider.state('segments', {
parent: 'ng-admin',
url: '/segments',
params: { },
controller: ['$scope', ($scope) => {
$scope.segment... |
'use strict';
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistr... |
//
// gencov: generate random covariance matrices, and MVN samples using them.
//
// Covariance matrix:
// The eigenvalues (principal component variances) V for the
// covariance matrix may be specified, or may be randomly generated
// from within a specified range. A random orthogonal matrix Q is
// generated and its... |
function getData(url, callback){
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function () {
if(xhr.readyState == 4){
if ((xhr.status >= 200 && xhr.status < 300) || xhr.status == 304) {
//renderHotList(xhr.responseText);
//console.log(xhr.responseText);
var data = JSON.parse(xhr.responseTe... |
var common = require('./common');
var Promise = require('bluebird');
var yfm = require('hexo-front-matter');
var pathFn = require('path');
exports.process = function(file){
if (this.render.isRenderable(file.path)){
return processPage.call(this, file);
} else {
return processAsset.call(this, file);
}
};
... |
// 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 any plugin's vendor/assets/javascripts directory can be referenced here using a relative ... |
import Vue from 'vue'
import App from './App.vue'
import ToggleButton from 'plugin'
import { library } from '@fortawesome/fontawesome-svg-core'
import { faCheck, faTimes } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
library.add([faCheck, faTimes])
Vue.compone... |
require('./interface').coverageInterface()
|
'use strict';
// Init the application configuration module for AngularJS application
var ApplicationConfiguration = (function() {
// Init module configuration options
var applicationModuleName = 'customers';
var applicationModuleVendorDependencies = ['ngResource', 'ngCookies', 'ngAnimate', 'ngTouch', 'ngSanitize... |
(function (angular) {
var module = angular.module('org.afterspring.dashboard.directives.WidgetContainerDirective', []);
/**
* WidgetContainer directive
*/
module.directive('widgetcontainer', ['$compile',
function ($compile) {
return {
'scope': true,
... |
const featureStore = require('../stores/featurestore');
const updateFeatureDispacther = require('../dispatchers/updatefeaturesdispatcher')();
module.exports = function rename(obj, options = {}) {
const features = options.features || featureStore().getFeatures();
const props = Object.keys(obj);
props.forEach((pro... |
/*
(c) Copyright 2016-2017 Hewlett Packard Enterprise Development LP
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... |
'use strict';
var path = require('path');
var gulp = require('gulp');
var conf = require('./conf');
var $ = require('gulp-load-plugins')();
gulp.task('constants', function () {
var configPath = 'app.constants.dev.json',
constants = {};
if (process.env.NODE_ENV === 'prod') {
configPath = 'app.... |
'use strict';
// MODULES //
var parse = require( 'url' ).parse;
var npmv = require( 'shields-badge-url-npm-version' );
var npmd = require( 'shields-badge-url-npm-downloads' );
var codecov = require( 'shields-badge-url-codecov' );
var coveralls = require( 'shields-badge-url-coveralls' );
var david = require( 'shields-... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.16/esri/copyright.txt for details.
//>>built
define({"esri/widgets/Sketch/nls/Sketch":{widgetLabel:"Esb\u00f3s",move:"Mou",pan:"Panor\u00e0mica",reset:"Restableix",reshape:"Canvia la forma",rotate:"Gira",scal... |
agregarEstiloTablaDatatable = function (win) {
$(win.document.body)
.css('font-size', '10pt');
$(win.document.body).find('table')
.addClass('compact')
.css('font-size', 'inherit');
// Tamaño de la letra de la tabla
$(win.document.body).find('table').addClass('display').css('fo... |
// Generated by CoffeeScript 1.7.1
(function() {
var fs, log, mkdirp, os, path, request, _;
path = require('path');
fs = require('fs');
mkdirp = require('mkdirp');
os = require('os');
request = require('request');
_ = require('underscore')._;
log = require('./log');
exports.getFileLocation = f... |
var gulp = require('gulp'),
notify = require('gulp-notify'),
browserify = require('browserify'),
source = require('vinyl-source-stream'),
buffer = require('vinyl-buffer'),
reactify = require('reactify')
;
var adminSrc = './react/admin/main.jsx';
var jsAdminDest = './public/js/admin';
//transform ... |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* @namespace Phaser.Input.Gamepad
*/
module.exports = {
Axis: require('./Axis'),
Button: require('./Bu... |
/**
* @fileoverview Externs for easeljs
* @externs
*/
/**
* @constructor
* @param {string} type
* @param {number} stageX
* @param {number} stageY
* @param {createjs.DisplayObject} target
* @param {Event} nativeEvent
* @param {number} pointerID
* @param {boolean} primary
* @param {number} rawX
* @param {nu... |
import isFunction from './isFunction';
/**
* Finds if ancestor is parent of ancestor class of value.
*/
export default function isAncestor(ancestor, value) {
if (!isFunction(ancestor) || !isFunction(value) || ancestor === Function || value === Function) {
return false;
}
if (ancestor === value) {
return tr... |
//imports
var fs = require('fs');
var utils = require(__dirname + '/../../index');
var GINA_PATH = _( getPath('gina').core );
var readline = require('readline');
var rl = readline.createInterface(process.stdin, process.stdout);
function iniProject(name) {
var self = this;
self.task = 'init';//important for l... |
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
S3Object = mongoose.model('S3Object'),
Bucket = mongoose.model('Bucket'),
util = require('./util'),
AWS = require('aws-sdk'),
_ = require('lodash');
/**
* Find s3object by id
*/
exports.s3object = function(req, res, next, id) {
... |
export { default } from 'ember-flexberry-designer/components/fd-config-panel'; |
version https://git-lfs.github.com/spec/v1
oid sha256:f7646817d4565dbd459914c97fcee0bd64253090bedd9b7b01e296a4bf5dc9c8
size 8088
|
/**
* Created by arlando on 7/26/14.
*/
'use strict';
var GridNode = require('./GridNode');
var Vector = require('./Vector');
var SETTINGS = require('./SETTINGS').GRID;
var async = require('async');
var PIXI = require('pixi');
var stage = require('./stage');
function Grid() {
this.setup();
}
Grid.prototype = {
... |
import dva from 'dva';
import './index.html';
import './index.css';
// 1. Initialize
const app = dva();
// 2. Plugins
// app.use({});
// 3. Model
// app.model(require('./models/example'));
app.model(require('./models/requestModel'));
// 4. Router
app.router(require('./router'));
// 5. Start
app.start('#root');
|
'use strict'
const tap = require('tap')
const seneca = require('seneca')({log: 'silent'})
const brreg = require('../../index')
var counter = 0
const total = 3
const finished = () => {
counter++
if (counter === total) {
tap.end()
process.exit(0)
}
}
seneca.use(brreg)
tap.test('It returns error on empt... |
var auth = require('http-auth');
var crypto = require('crypto');
var expect = require('chai').expect;
var express = require('express');
var fmt = require('util').format;
var RemoteObjects = require('../');
var User = require('./e2e/fixtures/user');
describe('support for HTTP Authentication', function() {
var server... |
Vue.component('auth-simple-registration-screen', {
/*
* Bootstrap the component. Load the initial data.
*/
ready: function () {
$(function() {
$('.auth-first-field').filter(':visible:first').focus();
});
var queryString = URI(document.URL).query(true);
if ... |
var socket = io('http://localhost:'+locals.uploadPort);
var uploader = new SocketIOFileClient(socket);
var form = document.getElementById('form');
var fileEl = document.getElementById('file');
uploader.on('start', function(fileInfo) {
console.log('Start uploading', fileInfo);
});
uploader.on('stream', function(fileI... |
/**
* Write a script that finds the maximal sequence of equal elements in an array.
* Example:
* input result
* 2, 1, 1, 2, 3, 3, 2, 2, 2, 1 2, 2, 2
*/
var arr = [2, 1, 1, 2, 3, 3, 2, 2, 2, 1];
console.log(getMaxEqualSequence(arr));
function getMaxEqualSequence(arr) {
var best ... |
(function() {
'use strict';
angular
.module('app')
.config(config);
config.$inject = [
'$stateProvider',
'$urlRouterProvider',
'$translateProvider',
'routes',
'appConfig'
];
function config($stateProvider, $urlRouterProvider, $translateProvider, routes, appConfig) {
createRo... |
/* jshint bitwise: false */
'use strict';
exports.BitReader = function (data, bitOffset) {
this.readValue = function (bitLength) {
var value = 0;
for (var i = bitLength; i > 0; i -= 1) {
var byteOffset = (bitOffset + i - 1) >> 3;
value = (value << 1) | ((data[byteOffset] ... |
// --------------------------------------------------------
// Cookies
// --------------------------------------------------------
// Create cookie
export const createCookie = (name, value, days) => {
let expires
if (days) {
const date = new Date()
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1... |
module.exports = function (node, ctx, data, c) {
return c.process(node.body, ctx.concat(node.value.split('.')));
}; |
version https://git-lfs.github.com/spec/v1
oid sha256:8fb3b40e8c4b6fbf1294eceb699ad4dea9b09125257c8481b33e6b1c617a71db
size 1151
|
/*
* grunt-stylenguard
* https://github.com/avrelian/Stylenguard
*
* Copyright (c) 2013 Sergey Radchenko
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
// Please see the Grunt documentation for more information regarding task
// creation: http://gruntjs.com/creating-t... |
'use strict';
/* global $, CartUtility */
module.exports = function($scope, $modalInstance) {
CartUtility.log('CartBlogLabelModalCtrl');
$scope.newName = '';
$scope.enterData = function(event) {
event.preventDefault();
$modalInstance.close($scope.newName);
};
}; |
import appState from './appstate';
function defineCurrency(state = appState, action) {
switch (action.type) {
case 'SELECT_LEFT_CURRENCY':
return {
...state,
leftCurrency: action.leftCurrency,
};
case 'SELECT_RIGHT_CURRENCY':
return {
...state,
rightCurrency:... |
import React from 'react';
import PropTypes from 'prop-types';
import PresenceAvatar from '@webex/react-container-presence-avatar';
import classNames from 'classnames';
import styles from './styles.css';
const propTypes = {
avatarId: PropTypes.string,
isTyping: PropTypes.bool,
name: PropTypes.string.isRequire... |
'use strict';
var Collection = require('../lib'),
utils = require('./utils');
var fns = utils.fns('item', 'return item * item + Math.random()');
var input1 = [1,2,3];
var input2 = Collection(1,2,3);
exports['Array::map()'] = function () {
return input1.map(fns());
};
exports['Collection::map()'] = function ()... |
export { default } from 'ember-material-components-web/components/mdc-list/item';
|
// Regular expression that matches all symbols in the Malayalam block as per Unicode v5.1.0:
/[\u0D00-\u0D7F]/; |
import React, { Component, Fragment } from 'react'
import Avatar from './Avatar'
class WithPeople extends Component {
render () {
const { people, prefix } = this.props
const withPeople = conjunctions(people)
return <Fragment>{withPeople && withPeople.length > 0 && (
<Fragment>
{prefix}{' ... |
var page = require('webpage').create();
page.open('http://example.com', function() {
page.render('example.png');
phantom.exit();
}); |
var os = require('os');
var host = os.hostname();
module.exports = {
'default': {
'host': host,
'base_url': "http://"+host+":3000"
}
}
|
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2019 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* Determine whether the source object has a property with the specified key.
*
* @function Phaser.Utils.Objects... |
/**
* React Starter Kit (http://www.reactstarterkit.com/)
*
* Copyright © 2014-2015 Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
function format(time) {
return time.toTimeString().repl... |
var WebSocket = require('ws').Server,
wss = new WebSocket({port:8007}, function () {
console.log('WebSocket Server has running on port %d', 8007);
}),
_ = require('underscore'),
util = require('util'),
db = require('./mongo');
var Clients = {},
Allclients = [],
TT = {};
// 获取全... |
/*
* A smart sortable sudoku grid for react-native apps
* https://github.com/react-native-component/react-native-smart-sortable-sudoku-grid/
* Released under the MIT license
* Copyright (c) 2016 react-native-component <moonsunfall@aliyun.com>
*/
import React, {
PropTypes,
Component,
} from 'react'
import ... |
/*
* Copyright 2016 Grzegorz Sebastian Korkosz.
*
* 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 ... |
require('dotenv').load();
var keystone = require('keystone'),
expressHandlebars = require('express-handlebars');
// configuration
keystone.init({
'name': 'Web Fish Daily',
'brand': 'Web Fish Daily',
'static': 'public',
'favicon': 'public/favicon.ico',
'views': 'templates/views',
'view engine': 'hbs',
'custom ... |
import {
addClass,
getScrollbarWidth,
getScrollLeft,
getWindowScrollTop,
hasClass,
outerWidth,
innerHeight,
removeClass,
setOverlayPosition,
resetCssTransform
} from './../../../../helpers/dom/element';
import {WalkontableOverlay} from './_base';
/**
* @class WalkontableLeftOverlay
*/
class Walk... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var ic_cloud_done = exports.ic_cloud_done = { "viewBox": "0 0 24 24", "children": [{ "name": "path", "attribs": { "d": "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24... |
var path = require("path");
module.exports = {
entry: "./src/index.tsx",
output: {
filename: "bundle.js",
path: path.resolve(__dirname, "dist/js"),
publicPath: "/js/"
},
// Enable sourcemaps for debugging webpack's output.
devtool: "cheap-eval-source-mapService",
devServer: {
contentBase:... |
function Grid(raphaelID, paper, rows, cols, cellWidth, cellHeight, gridLeft, gridTop, defaultLineAttr) {
var self = this;
this.raphaelID = raphaelID;
this.paper = paper;
this.rows = rows;
this.cols = cols;
this.cellWidth = cellWidth;
this.cellHeight = cellHeight;
this.gridLeft = gridLeft;
thi... |
import React from 'react';
import {createSafexAddress, verify_safex_address, structureSafexKeys} from '../../utils/migration';
import {openMigrationAlert, closeMigrationAlert} from '../../utils/modals';
const fs = window.require('fs');
import {encrypt} from "../../utils/utils";
import MigrationAlert from "../migratio... |
var base = require('./src/_base.scss');
var container = require('./src/_container.scss');
var grid = require('./src/_grid.scss');
var helpers = require('./src/_helpers.scss');
var mixinsFunctions = require('./src/_mixins-functions.scss');
var normaliseReset = require('./src/_normalise-reset.scss');
var settings = requi... |
/**
* @module denali
* @submodule data
*/
import assert from 'assert';
import { singularize } from 'inflection';
import Serializer from '../serializer';
import Model from '../model';
import {
isArray,
assign,
mapValues,
forEach,
isUndefined } from 'lodash';
/**
* Renders the payload as a flat JSON object... |
/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
* File Name : block_statement.js
* Created at : 2017-08-18
* Updated at : 2020-09-07
* Author : jeefo
* Purpose :
* Description :
_._._._._._._._._._._._._._._._._._._._._.*/
// ignore:start
"use strict";
/* globals*/
/* exported*/
// ignore:end
const {STATEME... |
var isWin = /^win/.test(process.platform);
var through = require('through2').obj;
var cjsx = require('coffee-react');
var gutil = require('gulp-util');
var Buffer = require('buffer').Buffer;
var applySourceMap = require('vinyl-sourcemaps-apply');
var path = require('... |
// CommonJS require()
function require(p){
var path = require.resolve(p)
, mod = require.modules[path];
if (!mod) throw new Error('failed to require "' + p + '"');
if (!mod.exports) {
mod.exports = {};
mod.call(mod.exports, mod, mod.exports, require.relative(path));
}
return mod.... |
'use strict';
describe('prettifyProvider', function() {
beforeEach(module('ng-code-mirror.prettify', function($provide) {
$provide.value('$window', {
prettyPrint: jasmine.createSpy('global'),
prettyPrintOne: jasmine.createSpy('one')
});
}));
it('should call $window.functionName', inject(fu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.