code stringlengths 2 1.05M |
|---|
module.exports = {
description: "",
ns: "react-material-ui",
type: "ReactNode",
dependencies: {
npm: {
"material-ui/svg-icons/maps/directions-run": require('material-ui/svg-icons/maps/directions-run')
}
},
name: "MapsDirectionsRun",
ports: {
input: {},
output: {
component: {
... |
/**
* Created by Thomas on 05/07/2015.
*/
(function () {
'use strict';
angular.module('tg.docs')
.provider('settingsService', [settingsProvider]);
/**
* @ngdoc provider
* @name settingsServiceProvider
* @module tg.docs
* @description A Provider to register app availaible in ... |
import assert from 'assert';
import tddTest from '../lib';
describe('tdd-test', function () {
it('2nd test', function () {
assert(true, 1===1);
});
it('2nd test', function () {
assert(true, 1===1);
});
});
|
let exercise = require('workshopper-exercise')(),
filecheck = require('workshopper-exercise/filecheck'),
execute = require('workshopper-exercise/execute'),
comparestdout = require('workshopper-exercise/comparestdout'),
babelProcessor = require('../babel-processor');
// checks that the submission file actu... |
/* Copyright (C) 2011-2014 Mattias Ekendahl. Used under MIT license, see full details at https://github.com/developedbyme/dbm/blob/master/LICENSE.txt */
dbm.registerClass("dbm.constants.status.ReadyStateTypes", null, function(objectFunctions, staticFunctions) {
//console.log("dbm.constants.status.ReadyStateTypes");
... |
var jayson = require(__dirname + '/../..');
var format = require('util').format;
var methods = {
add: function(a, b, callback) {
callback(null, a + b);
}
};
var server = jayson.server(methods, {
router: function(method) {
// regular by-name routing first
if(typeof(this._methods[method]) === 'functio... |
export class BinaryWriter
{
constructor (byteLength, isLittleEndian)
{
this.arrayBuffer = new ArrayBuffer (byteLength);
this.dataView = new DataView (this.arrayBuffer);
this.isLittleEndian = isLittleEndian;
this.position = 0;
}
GetPosition ()
{
return this.po... |
var commands = {
LL: function(){
if(app.pointerA <= 1){
app.pointerA = 1
}
else{
app.pointerA--
}
},
LR: function(){
if(app.pointerA >= app.registryLength){
app.pointerA = app.registryLength;
}
else{
if(a... |
'use strict';
import optimist from 'optimist';
import fs from 'fs';
import { resolve } from 'path';
// import { renderPath } from '../dist/server-bundle';
// nginx will look for $uri with the .html extension
const prerenderRoutes = [
{
path: '/',
filename: 'index.html'
},
{
path: '/counters',
fil... |
module.exports = function (sequelize, DataTypes) {
return sequelize.define('inventarios', {
inventarioId: {type: DataTypes.UUID, primaryKey: true, defaultValue: DataTypes.UUIDV4},
descripcion: {type: DataTypes.STRING, allowNull: false, unique: true},
cuentaContable: {type: DataTypes.STRING},
estado: {... |
define(['knockout', 'app/dataservice', 'app/config'], function (ko, dataservice, config) {
return function (params) {
var question = ko.observable();
var url = ko.observable(params.url);
var userComponent = ko.observable(config.userComponent);
var tagsComponent = ko.observable(confi... |
#!/usr/bin/env node
require('babel/polyfill');
var commander = require('commander');
var fs = require("fs");
var each = require("lodash/collection/each");
var keys = require("lodash/object/keys");
var pkg = require("../package.json");
var glob = require("glob");
var path = require("path");
var colors = require('colors'... |
export default function generateEmailMarkdown({to, beginning, url, title, content}) {
const titleMakrdown = title ? `# ${title}\n` : '';
return `
Hi ${to},
${beginning}
You can read it [here](${url})
---
${titleMakrdown}
${content}
---
Thanks,<br />KB
`;
}
|
export const ic_brightness_auto_outline = {"viewBox":"0 0 24 24","children":[{"name":"path","attribs":{"d":"M0 0h24v24H0V0z","fill":"none"},"children":[]},{"name":"path","attribs":{"d":"M11 7l-3.2 9h1.9l.7-2h3.2l.7 2h1.9L13 7h-2zm-.15 5.65L12 9l1.15 3.65h-2.3zM20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69... |
fs = require('fs');
function ControllerObject(command, mediaName){
this.command = command;
this.mediaName = mediaName;
};
var Search = require('./apiSearch.js')
var newSearch = new Search();
ControllerObject.prototype.getTweets = function(){
newSearch.tweets(this.command, this.mediaName, this.display2Console, ... |
import { getWikiHtml } from './helpers.js'
import execAll from 'execall'
// Get the current claim ticket offers
export default async function blackLionStatuette () {
let page = await getWikiHtml('Black_Lion_Statuette')
// Find all items sold for Black Lion Statuette with their costs
let regex = /<tr[\s\S]*?<a h... |
import React from 'react';
import { Link } from 'react-router-dom';
import { sparqlConnect } from 'sparql-connect';
import Spinner from 'components/shared/spinner';
import { simsLink } from '../routes';
import D, { getLang } from 'i18n';
/**
* Builds the query that retrieves the products issued of a given series.
*/... |
// TBD: create templateBase (like @sss)
// +++ use templateBase HERE and in server/frontend/render.js
export default function getStaticIndexHtml({js, css}) {
return `<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<... |
const fs = require('fs');
const jsesc = require('jsesc');
const template = require('lodash.template');
function format(object) {
return jsesc(object, {
json: true,
compact: false,
}) + '\n';
}
function parse(source) {
const indexByCodePoint = {};
const indexByPointer = {};
let decoded = '';
const encoded = ... |
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ ret... |
const command = () => ({
method: 'GET',
endpoint: '/session/:sessionId/element',
body: {using: 'css selector', value: 'img'},
result: {value: {x: 75, y: 11, width: 160, height: 160}},
cid: '0-0',
sessionId: '4d1707ae-820f-1645-8485-5a820b2a40da',
capabilities: {}
})
const screenShotCommand =... |
/*jslint browser: true, sloppy: true */
/*global UNIVERSE, THREE */
/**
A set of default objects to add to the Universe Object Library
@constructor
@param {UNIVERSE.Universe} universe - A Universe instance to use the default objects in
*/
UNIVERSE.DefaultObjects = function (universe) {
universe.setObj... |
import Component from '@ember/component';
import { run } from "@ember/runloop";
export default Component.extend({
classNames: ['ember-content-editable'],
classNameBindings: ['clearPlaceholderOnFocus:clear-on-focus'],
attributeBindings: [
'contenteditable',
'placeholder',
'spellcheck',
'tabindex',... |
//this controller simply tells the dialogs service to open a mediaPicker window
//with a specified callback, this callback will receive an object with a selection on it
angular.module('umbraco').controller("Umbraco.PropertyEditors.MediaPickerController",
function ($scope, entityResource, mediaHelper, $timeout, user... |
let nextTodoId = 0;
export const addTodo = (text) => ({
type: 'ADD_TODO',
id: nextTodoId++,
text: text,
});
export const toggleTodo = (id) => {
debugger;
return ({
type: 'TOGGLE_TODO',
id
});
};
export const setVisibilityFilter = (filter) => ({
type: 'SET_VISIBILITY_FILTER',
filter: filter
})... |
var webpack = require('webpack');
var path = require('path');
var nib = require('nib');
var fs = require('fs');
var options = {
devtool: "inline-source-map",
debug: true,
cache: true,
module: {
loaders: [
{
test: /\.ts$/,
loader: 'ts'
},
... |
'use strict';
var React = require('React');
var StyleSheet = require('StyleSheet');
var Text = require('Text');
var View = require('View');
var DummyProgressViewIOS = function (_React$Component) {
babelHelpers.inherits(DummyProgressViewIOS, _React$Component);
function DummyProgressViewIOS() {
babelHelpers.... |
var card = {
rank: 3,
suit: "spades"
};
console.log(
JSON.stringify(card));
|
/**
* @license Copyright (c) 2014, Viet Trinh All Rights Reserved.
* Available via MIT license.
*/
/**
* A collection hs index request/response.
*/
define([ 'framework/request/base_request' ],
function(BaseRequest)
{
return BaseRequest.create([], [ 'sets' ]);
}); |
import React from 'react';
import { connect } from 'react-redux';
import {Router, Route, IndexRedirect, browserHistory} from 'react-router';
import { updatePlayersArray, updateLastNumberRolled, updateNextPlayerIndexTurn, setFirstPlayerTurn, startGame, buy, receivingMoney, receiveMoney } from '../reducers/gameReducer';
... |
module.exports = class RedirectionException extends Error {
constructor(redirectionUrl, queryParams = {}, ...params) {
super(...params);
Error.captureStackTrace(this, RedirectionException);
this.redirectionUrl = redirectionUrl;
this.queryParams = queryParams;
this.message = `Redirection due to $... |
function get_tour_dates(songkick) {
$.ajax({
url: songkick,
type: "GET",
dataType: 'json',
success: function (data) {
var gigs = data.resultsPage.results.event;
if ( gigs == undefined )
{
var no_dates = '<div class="timeline-left... |
/**
* @ngdoc overview
* @name Angularjs::routes Configuration
* @description
* @property $urlRouterProvider
* # AngularUI Router is a routing framework for AngularJS, which allows you to organize the parts of your interface into a state machine.
* # @link https://github.com/angular-ui/ui-router
* @property $loc... |
/**
* @popperjs/core v2.7.0 - MIT License
*/
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
function getBoundingClientRect(element) {
var rect = element.getBoundingClientRect();
return {
width: rect.width,
height: rect.height,
top: rect.top,
right: rect.right,
... |
import React from 'react';
import PropTypes from 'prop-types';
import { values, pickBy, has, omit, map, startCase, pick, remove } from '../../../utils/lodash';
import moment from 'moment';
import PieGraph from './PieGraph';
import { PieColors } from '../GraphColors';
import config from '../../../config';
import { compa... |
const mongoose = require('mongoose');
const bcrypt = require('bcrypt-nodejs');
const Schema = mongoose.Schema;
const UserSchema = new Schema({
username: {
type: String,
lowercase: true,
unique: true,
required: true,
},
password: {
type: String,
required: true,
},
}, {
timestamps: tru... |
/**
* Module dependencies.
*/
var fs = require('fs')
, package = JSON.parse(fs.readFileSync(__dirname+ '/../package.json'))
, uglify = require('uglify-js');
/**
* License headers.
*
* @api private
*/
var template = '/*! sink.%ext% build:' + package.version + ', %type%. Copyright(c) 2013 Eric Zhang, Michell... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
Ext.define('sisprod.view.WorkRequestSource.AddWorkRequestSource', {
extend: 'sisprod.view.base.BaseDataWindow',
alias: 'widget.addWorkRequestSource',
require: [
'sisprod.view.ba... |
import { PRINTABLE_ASCII } from '../const';
import v from '../voca';
describe('isUpperCase', function() {
it('should return true for an upper case string', function() {
expect(v.isUpperCase('A')).toBe(true);
expect(v.isUpperCase('HELLOWORLD')).toBe(true);
expect(v.isUpperCase('WELCOMETOEARTH')).toBe(true... |
/*! UIkit 3.6.18 | https://www.getuikit.com | (c) 2014 - 2021 YOOtheme | MIT License */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
typeof define === 'function' && define.amd ? define('uikitparallax', ['uikit-uti... |
'use strict';
var gulp = require('gulp');
var paths = gulp.paths;
var util = require('util');
var browserSync = require('browser-sync');
var middleware = require('./proxy');
function browserSyncInit(baseDir, files, browser) {
browser = browser === undefined ? 'default' : browser;
var routes = null;
if(base... |
/*
*
*/
'use strict';
moduloPlaza.controller('PlazaNewController', ['$scope', '$routeParams', '$location', 'serverService', 'plazaService', 'sharedSpaceService', '$filter', '$uibModal',
function ($scope, $routeParams, $location, serverService, plazaService, sharedSpaceService, $filter, $uibModal) {
$sco... |
/*globals define, module, Symbol */
(function (globals) {
'use strict';
var strings, messages, predicates, functions,
assert, not, maybe, collections, slice;
strings = {
v: 'value',
n: 'number',
s: 'string',
b: 'boolean',
o: 'object',
t: 'type',
a: 'array',
al: 'array-like... |
var FormWizard = function () {
return {
init: function () {
function e(e) {
return e.id ? "<img class='flag' src='../../assets/global/img/flags/" + e.id.toLowerCase() + ".png'/> " + e.text : e.text
}
if (jQuery().bootstrapWizard) {
... |
import models from '../models'
import uuid from 'uuid'
export async function findAll (ctx) {
return models.Image.findAll()
}
export async function findById (id) {
return models.Image.findOne({
where: { id }
})
}
export async function create (params) {
return models.Image.create({
uuid: uuid.v4(),
... |
'use strict'
module.exports = compile
const ejs = require('ejs')
const set = require('set-options')
const DEFAULT_OPTIONS = {
compileDebug: false,
rmWhitespace: true,
_with: false,
strict: true
}
function compile (content, options, callback) {
options = set(options, DEFAULT_OPTIONS)
ejs.localsName = op... |
app.provider("shared", function () {
var sharedProperties = {
lastPage: "",
currentRegion: "US",
currentBracket: { text: "3v3"},
regions: ["us", "eu", "kr", "tw", "cn"],
brackets: {
"2v2": 2,
"3v3": 3,
"5v5": 5,
"rbg": 10
... |
var inText = {top: "2.75rem", left: "0.75rem"};
var outText = {top: "0.5rem", left: 0};
function check() {
$(".login").each(function() {
if ($(this).val() != "") {
$(this).parent().children("label").animate(outText, 250);
} else {
$(this).parent().children("label").animate(i... |
/*!
* better-scroll / better-scroll
* (c) 2016-2021 ustbhuangyi
* Released under the MIT License.
*/
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or wi... |
/**
* @file index
* @author Jim Bulkowski <jim.b@paperelectron.com>
* @project Paperelectron.com
* @license MIT {@link http://opensource.org/licenses/MIT}
*/
/**
* Main routes
* @module index
*/
module.exports = function(Router){
Router.get('/', function(req, res){
res.render('Frontpage');
})
retur... |
/*!
* phone-codes/phone-be.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2018 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 4.0.0-beta.42
*/
!function(factory) {
"function" == typeof define && define.amd ? define([ "../inputma... |
/**
* 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... |
/**
*
* Bucket Settings Component
* @parent ToolSettings
* @author Robert P.
*
*/
import React from 'react';
import BaseComponent from '../../../base-component/base-component';
import {branch} from 'baobab-react/higher-order';
import ColorPicker from 'react-color';
import * as actions from '../../actions';
con... |
/* @flow */
declare module 'meteor/mhagmajer:server-router' {
declare type Path = {|
path: string,
options?: {|
sensitive?: boolean,
strict?: boolean,
end?: boolean,
delimiter?: string,
|},
args: ArgsMapper,
route: Route,
|};
declare type ArgsMapper = (
params: { ... |
// Chat actions
export const UPDATE_CHAT = 'UPDATE_CHAT';
export const FLUSH_CHAT_MESSAGES = 'FLUSH_CHAT_MESSAGES';
// Room actions
export const GET_ROOMS = 'GET_ROOMS';
export const CREATE_ROOM = 'CREATE_ROOM';
export const ADD_USER_TO_ROOM = 'ADD_USER_TO_ROOM';
export const REMOVE_USER_FROM_ROOM = 'REMOVE_USER_FROM_... |
'use strict';
var yeoman = require('yeoman-generator');
module.exports = yeoman.generators.Base.extend({
initializing: function() {
this.argument('name', {type: String, required: true});
this.composeWith('yangular:filter', {
args: [this.name],
options: {
scriptsDir: this.config.get('scr... |
(function () {
module.exports = {
load: function (plugin) {
plugin.on('fire-scene:open', function () {
plugin.openPanel('default');
});
},
unload: function (plugin) {
},
};
})();
|
/*!
* css-vars-ponyfill
* v2.4.3
* https://jhildenbiddle.github.io/css-vars-ponyfill/
* (c) 2018-2021 John Hildenbiddle <http://hildenbiddle.com>
* MIT license
*/
function _extends() {
_extends = Object.assign || function(target) {
for (var i = 1; i < arguments.length; i++) {
var source = ... |
import React from 'react';
import { Link } from 'mirrorx';
import { List, DataTable, TextField, EditButton, ShowButton, RemoveButton } from '../../../../src';
import Filters from './Filters';
export default (props) => (
<List model="users" filters={<Filters />} {...props}>
<DataTable>
<TextField source="id... |
//
// _ _ _
// (_) | | | |
// _ __ ___ _ _ __ ___| |_ _ __ ___| |
// | '_ ` _ \| | '_ \/ __| __| '__/ _ \ |
// | | | | | | | | | \__ \ |_| | | __/ |
// |_| |_| |_|_|_| |_|___/\__|_| \___|_|
//
// Author: Alberto Pettarin (www.albertopettarin.it)
// C... |
/**
* @license Highmaps JS v8.2.0 (2020-08-20)
* @module highcharts/highmaps
*
* (c) 2011-2018 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
import Highcharts from './highcharts.src.js';
import './modules/map.src.js';
Highcharts.product = 'Highmaps';
export default Highcharts;
|
// // index GET tournaments
// // create POST tournaments
// // show GET tournaments/:tournament
// // update PUT tournaments/:tournament
// // destroy DELETE tournaments/:tournament
// // start POST tournaments/:tournament/start
// // finalize POST tournaments/:tournament/finalize
// // reset POST tournaments/:tournam... |
/**
* @ngdoc object
* @name ui.router.util.type:UrlMatcher
*
* @description
* Matches URLs against patterns and extracts named parameters from the path or the search
* part of the URL. A URL pattern consists of a path pattern, optionally followed by '?' and a list
* of search parameters. Multiple search paramete... |
/****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
http://www.cocos2d-x.org
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 Sof... |
module.exports = {
execQuery: function () {
var query, cb;
if (arguments.length == 2) {
query = arguments[0];
cb = arguments[1];
} else if (arguments.length == 3) {
query = this.query.escape(arguments[0], arguments[1]);
cb = arguments[2];
}
return this.execSimpleQuery(query, cb);
},
eage... |
'use strict';
var path = require('path');
var util = require('util');
var yeoman = require('yeoman-generator');
var Generator = module.exports = function Generator() {
yeoman.generators.Base.apply(this, arguments);
};
util.inherits(Generator, yeoman.generators.Base);
Generator.prototype.setupEnv = function setupE... |
"use strict";
exports.__esModule = true;
exports.default = function (Ctor, val) {
return val != null && val.constructor === Ctor || val instanceof Ctor;
}; |
(function webpackUniversalModuleDefinition(root, factory) {
if (typeof exports === "object" && typeof module === "object") module.exports = factory(); else if (typeof define === "function" && define.amd) define([], factory); else {
var a = factory();
for (var i in a) (typeof exports === "object" ? exports : r... |
/*!
* pinia v2.0.11
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/
var Pinia = (function (exports, vueDemi) {
'use strict';
/**
* setActivePinia must be called to handle SSR at the top of functions like
* `fetch`, `setup`, `serverPrefetch` and others
*/
let activePinia;
/**
* ... |
import{p as promiseResolve,b as bootstrapLazy}from"./index-245f2fc2.js";const patchEsm=()=>promiseResolve(),defineCustomElements=(e,i)=>"undefined"==typeof window?Promise.resolve():patchEsm().then(()=>bootstrapLazy([["ion-icon",[[1,"ion-icon",{mode:[1025],color:[1],ariaLabel:[1537,"aria-label"],ariaHidden:[513,"aria-hi... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.TWEEN = factory());
}(this, (function () { 'use strict';
var NOW;
// Include a performance.now polyfill.
... |
import"redux";import"./turn-order-b69ce3d4.js";import"immer";import"lodash.isplainobject";import"./reducer-ad5fe719.js";import"rfc6902";import"./initialize-546bf75c.js";import"./transport-0079de87.js";import"./base-13e38c3e.js";export{L as Local,S as SocketIO}from"./socketio-dc20fe9b.js";import"./master-deac3bd6.js";im... |
/*!
* vue-i18n v8.25.1
* (c) 2021 kazuya kawaguchi
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.VueI18n = factory());
}(this... |
/* *
*
* Exporting module
*
* (c) 2010-2021 Torstein Honsi
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import Chart from '../Core/Chart/Chart.js';
import chartNavigationMixin from '../Mixins/Navigation.js';
impor... |
import { HandleableMiddleware } from 'quiver-component-base'
import { assertConfig, componentConstructor } from 'quiver-component-base/util'
const configHandlerToMiddleware = configHandler =>
async function(config, builder) {
const newConfig = await configHandler(config)
return builder(newConfig)
}
export... |
version https://git-lfs.github.com/spec/v1
oid sha256:1d9240cbeffe56c957891f9e3d847c636e433f843b70bc823242dbe9363c83eb
size 31238
|
"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")... |
module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
clean: {
release: {
options: {
'force': true
},
src: [
'dist/css',
'dist/fonts',
'dist/img',
'dist/js',
'dist/favicon.ico'... |
'use strict';
const chalk = require('chalk');
const EventEmitter = require('events').EventEmitter;
const FlatReporter = require('lib/reporters/flat-factory/flat');
const logger = require('lib/utils').logger;
const Events = require('lib/constants/events');
describe('Reporter#Flat', () => {
const sandbox = sinon.s... |
import bluebird from "bluebird";
import {omit, difference} from "lodash";
import {makeError} from "../../shared/utils/error";
import AbstractController from "../../shared/controllers/abstract";
import MailController from "./mail";
export default class OptOutController extends AbstractController {
static realm = "ma... |
import { valueConverter } from 'aurelia-framework';
import { parsePhoneNumberFromString } from 'libphonenumber-js';
import { _ as __decorate } from './_tslib.js';
import 'date-fns';
import 'kramed';
import 'numeral';
import { U as UIFormat } from './ui-format.js';
let SplitValueConverter = class SplitValueConverter {
... |
const a = 1212;
const b = 43535;
const util = require('util');
/**
* @param man <human>
* @param {Boolean} flag
* @returns {number}
*/
const convertShopToClient = (man, flag) => {
man.age = 34;
} |
const AbstractComparison = Jymfony.Component.Validator.Constraints.AbstractComparison;
const Constraint = Jymfony.Component.Validator.Constraint;
/**
* @memberOf Jymfony.Component.Validator.Constraints
*/
export default class LessThan extends AbstractComparison {
/**
* @inheritdoc
*/
static getErro... |
// gulp-series
var gulp = require("gulp");
module.exports = new function() {
var self = this;
this.tasks = {};
function getSeriesTaskName(index, seriesOrName) {
return index+"."+(Array.isArray(seriesOrName) ? seriesOrName[index] : seriesOrName);
}
function runSeriesTask(series) {
var tasks = self.tasks;
s... |
consts: function() {
let $I18N_0$;
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
/**
* @suppress {msgDescriptions}
*/
const $MSG_EXTERNAL_7428861019045796010$$APP_SPEC_TS_1$ = goog.getMsg(" Count: {$startTagXhtmlSpan}5{$closeTagXhtmlSpan}", {
"startTagXhtmlSpan": "\uFF... |
(function() {
var MainView, stripTags,
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return c... |
'use strict';
const Config = require('../../../config');
const UnsupportedMethods = require('./unsupportedMethods');
const SupportedMethod = require('./supportedMethod');
module.exports = function (settings) {
const exportEndpoint = {};
const path = Config.get('/apiUrlPrefix') + '/' + settings.name;
cons... |
/*
*
* Fold sections to optimize page load
*
* @author Robert Haritonov (http://rhr.me)
*
* */
define([
"jquery",
"source/load-options",
"sourceModules/utils",
"sourceModules/browser",
"sourceModules/sections",
"sourceModules/innerNavigation"
], function($, options, utils, browser, sections... |
/**
* @memberof moduleName
* @ngdoc controller
* @name XxxxController
*/
class SampleController {
/**
* Constrctor : inyección de servicios ...
* @memberof ActividadesController
* @function constructor
* @param $scope {service} scope del controller
*/
construct... |
(function( $ ) {
$.fn.serializeFormExt = function(callback) {
var form = $(this);
var ret = new FormData();
var loading = 0;
var xcallback = function () {
if (loading > 0)
setTimeout(xcallback, 250);
else
... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... |
/**
* @fileoverview Build file
* @author nzakas
*/
/* global cat, cd, cp, echo, exec, exit, find, ls, mkdir, mv, pwd, rm, target, test*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//-----------------------------------------------------------------... |
// flow-typed signature: 113e0d46b29531ba54c76e52e6d30bfb
// flow-typed version: <<STUB>>/nyc_v^15.1.0/flow_v0.143.1
/**
* This is an autogenerated libdef stub for:
*
* 'nyc'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community... |
{
bounceBack: true,
spinTo: ['side-1', 'side-2', …, or 'side-6'],
spinToX: [number from 0 to 360],
spinToY: [number from 0 to 360],
spinToZ: [number from 0 to 360]
} |
import { AppRegistry, } from 'react-native';
import Routes from './src/routes';
AppRegistry.registerComponent('RNBoilerplate', () => Routes);
|
import * as through from 'through2';
import * as es from 'event-stream';
import path from 'path';
import gutil from 'gulp-util';
import config from './../config';
import notifier from 'node-notifier';
export default (param = '') => {
let message = `${param}`;
let stream = es.through(
function write(data) {... |
var GlobalSystem = window.System;
require("./utils_test");
require("./crawl_test");
require("./normalize_test");
require("./import_test");
require("./load_test");
require("./locate_test");
var makeIframe = function(src){
var iframe = document.createElement('iframe');
window.removeMyself = function(){
delete windo... |
/*
* Utils for working with getting values out of nodes aggregations (different
* information about nodes because of data changing after node restart)
*/
import { last, sortBy, get } from 'lodash';
// Get the key from the aggregation with the latest timestamp
export function getLatestAggKey(buckets) {
return las... |
const execWrapPath = require.resolve('./exec-wrap')
, os = require('os')
, path = require('path')
, fs = require('fs')
, assert = require('assert')
, xtend = require('xtend')
, after = require('after')
function fix (exercise) {
var dataPath = pa... |
define(function(require) {
'use strict';
var WidgetPickerFilterView;
var _ = require('underscore');
var BaseView = require('oroui/js/app/views/base/view');
WidgetPickerFilterView = BaseView.extend({
template: require('tpl!oroui/templates/widget-picker/widget-picker-filter-view.html'),
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.