code
stringlengths
2
1.05M
version https://git-lfs.github.com/spec/v1 oid sha256:49c54ee863855e8fa7d43bdb5142596122609269a2e98c9a92e10dffcda1376d size 65177
'use strict'; var util = require('util'); var GtReq = require('../GtReq'); var BaseTemplate = require('./BaseTemplate'); function IncTemplate(options) { BaseTemplate.call(this, options); options = util._extend({ transmissionContent: '', incAppId: '' }, options); util._extend(th...
/** * @module ember-paper */ import Ember from 'ember'; import RippleMixin from '../mixins/ripple-mixin'; import ProxyMixin from 'ember-paper/mixins/proxy-mixin'; const { get, set, isEmpty, computed, run, Component } = Ember; /** * @class PaperItem * @extends Ember.Component * @uses ProxyMixin * @us...
/*jshint unused:false */ var dojoConfig = { async: 1, cacheBust: 0, 'routing-map': { pathPrefix: '', layers: {} }, packages: [ { name: 'oe_dojo', location: '..' } ] };
/** * Generate a function that accepts a variable number of arguments as the last * function argument. * * @param {Function} fn * @return {Function} */ module.exports = function (fn) { var count = Math.max(fn.length - 1, 0); return function () { var args = new Array(count); var index = 0; // ht...
function char2int(c) { return c.charCodeAt(0); } var hexD = [ '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' ]; hexD = ['0'].concat(hexD); function hex(number) { var str = ""; str = hexD[number&0xf] + str str = hexD[(number>>=4)&0xf] + str ; str = hexD[(number>>=4)&0xf]...
import { getTransitionNames, getAvailableTransitionNames, getTransitionStylesName } from 'frontend/transitions'; describe('getTransitionNames', () => { it('returns array of names', () => { const result = getTransitionNames(); expect(result).toContain('scroll'); expect(result).toContain('fade'); ...
/* * Created for OpenROV: www.openrov.com * Author: Dominik * Date: 06/03/12 * * Description: * This file acts as a mock implementation for the camera module. It reads jpg files from a directory and returns them. * * License * This work is licensed under the Creative Commons Attribution-ShareAlike...
module.exports = function (config) { config.set({ basePath: './', files: [ 'www/lib/**/*.js', 'www/**/*.js' ], preprocessors: { 'www/app.js': 'coverage', 'www/**/*.js': 'sourcemap' }, autoWatch: true, framew...
(this => {});
angular.module('App') .controller('AppController', function($scope, $http, URL) { $http.get(URL, {headers: {"X-Requested-With" : "XMLHttpRequest"}}) .success(function (response) {$scope.examples = response.examples;}); });
// Эти данные получаются с помощью метода cars_by_order var result = { // Базовые данные carModel: "INFINITI FX5 PREMIUM", num: "т607ау190", vin: "JN1TANS50U0005180", body: "", // Номер кузова year: "2007", engineDisp: "3498", // Объем двигателя engineHp: "280", // Мощность (л.с....
module.exports = { // mock开发配置 'GET /login?$user&$password': { ok: { code: 100, msg: 'ok', data: { a: 1, b: 2 } }, fail: { code: 200, msg: 'fail' } }, 'POST /signup?$user&$password': { ok: { code: 100, msg: 'ok', data: { ...
/* eslint-env mocha */ /* global expect, testContext */ /* eslint-disable prefer-arrow-callback, no-unused-expressions */ import factory from 'src/test/factories' import {resetDB, runGraphQLMutation, useFixture} from 'src/test/helpers' import {Cycle} from 'src/server/services/dataService' import {COMPLETE, PRACTICE} fr...
'use strict'; let path = require('path'); let ModuleInitializer = require('../../tools/ModuleInitializer'); class CommandHandlerInitializer extends ModuleInitializer { constructor(repositories, buses, options) { super(options); this._repositories = repositories; this._buses = buses; } createModule...
// numeral.js // version : 1.4.8 // author : Adam Draper // license : MIT // http://adamwdraper.github.com/Numeral-js/ (function () { /************************************ Constants ************************************/ var numeral, VERSION = '1.4.8', // internal storage for langu...
import _Set from './internal/_Set.js'; import _curry2 from './internal/_curry2.js'; /** * Returns a new list containing only one copy of each element in the original * list, based upon the value returned by applying the supplied function to * each list element. Prefers the first item if the supplied function produ...
/** * index.js * * The purpose of this module is to provide user model classes * corresponding to DTOs used by the GoomY API. * * Created on: 2015-12-05 * * Author: Eléonore d'Agostino (paranoodle) * Author: Karim Ghozlani (gweezer7) * Author: Yassin Kammoun (yibnl) */ module.exports = { User: function(id)...
/** @member {boolean} Seemple.Array#renderIfPossible @importance 3 @summary The ``renderIfPossible`` property cancels the array rendering if it equals ``false`` @see {@link Seemple.Array#itemRenderer} @example class MyArray extends Seemple.Array { get renderIfPossible() { return false; } // ... }); ...
const Constraint = Jymfony.Component.Validator.Constraint; /** * @memberOf Jymfony.Component.Validator.Constraints */ export default class Choice extends Constraint { /** * @inheritdoc */ static getErrorName(errorCode) { switch (errorCode) { case __self.NO_SUCH_CHOICE_ERROR: ret...
'use strict'; const common = require('../common'); const assert = require('assert'); const async_hooks = require('async_hooks'); const initHooks = require('./init-hooks'); // Verify that if there is no registered hook, then those invalid parameters // won't be checked. assert.doesNotThrow(() => async_hooks.emitInit()...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M21 6h-7.59l3.29-3.29L16 2l-4 4-4-4-.71.71L10.59 6H3c-1.1 0-2 .89-2 2v12c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.11-.9-2-2-2zm0 14H3V8h18v12zM9 10v8l7-4z" /> , 'LiveTv');
'use strict'; module.exports = function setup(options, imports) { // forget to provide E1, that nobody is consuming return { // E1: function() {}, E2: function() {} }; }
/* _/ _/_/ _/_/_/_/_/ _/ _/ _/ _/ _/_/ _/ _/ _/_/_/ _/_/_/ _/ _/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ ...
export {default} from 'koenig-editor/components/koenig-menu-content';
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M9 4v4c-1.1 0-2-.9-2-2s.9-2 2-2m8-2H9C6.79 2 5 3.79 5 6s1.79 4 4 4v5h2V4h2v11h2V4h2V2zm0 12v3H5v2h12v3l4-4-4-4z" /></g></React.Fragment> , 'F...
var exphbs = require('express-handlebars');
version https://git-lfs.github.com/spec/v1 oid sha256:d1b4f8dc9d9f4ae479ea4896a2bc244b2d51382eb978009a23c65d2d9ff28f9f size 5749
var expect = require('chai').expect, Model = require('../lib/model'); describe('attribute initial state', function () { var ModelClass, NestedClass; before(function () { NestedClass = Model.inherit({ attributes: { a: Model.attributeTypes.String.inherit({ ...
if (typeof(console) == "undefined") { console = {}; } if (typeof(console.log) == "undefined") { console.log = function() { return 0; }; }; String.prototype.capitalize = function() { return this.charAt(0).toUpperCase() + this.slice(1); }; if(typeof jQuery !== "undefined") jQuery.support.placeholder = (function ...
import { RELOAD_WEBVIEW, WEBVIEW_ERROR } from '../../middlewares/Webviews/types'; import { ADD_ACCOUNT, REMOVE_ACCOUNT, TOGGLE_SIDEBAR, TOGGLE_SIDEBAR_ITEM_POSITION, UPDATE_SETTINGS, UPDATE_UNREAD_EMAILS } from './types'; const initialState = { accounts: [], settings: { darkTheme: false, hideSidebar: false...
/** * The main AWS namespace */ var AWS = { util: require('./util') }; /** * @api private * @!macro [new] nobrowser * @note This feature is not supported in the browser environment of the SDK. */ var _hidden = {}; _hidden.toString(); // hack to parse macro module.exports = AWS; AWS.util.update(AWS, { /** ...
"use strict"; module.exports = function (app) { app.route('/book') .get(function (req, res) { res.send('Get a random book'); }) .post(function (req, res) { res.send('Add a book'); }) .put(function (req, res) { res.send('Update the book'); ...
if(typeof cptable === 'undefined') cptable = {}; cptable[29001] = (function(){ var d = "ΈΉΊΌΎ°◘○◙♂♀♪♬☼▶◀↕‼¶§£Ώ↑↓→←Ë↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùΑÖÜøαØάΒáíóúñÑβΓγΔδΕεέΖζΗηή│ªÁÂÀΘθ║╗╝ΙΪ┐└º¡¿─΄ãÃ╚╔ιίϊ═ΐΚκΛÊλΜμÍΝν┘┌ΞξΟοόÓßÔΠõÕ...
'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]; } }...
'use strict'; /*global ActiveXObject:true*/ var defaults = require('./../defaults'); var utils = require('./../utils'); var buildUrl = require('./../helpers/buildUrl'); var cookies = require('./../helpers/cookies'); var parseHeaders = require('./../helpers/parseHeaders'); var transformData = require('./../helpers/tra...
angular.module('teamform-manage_team-app', ['firebase']) .controller('ManageTeamCtrl', ['$scope', '$firebaseObject', '$firebaseArray', function($scope, $firebaseObject, $firebaseArray) { initalizeFirebase(); var teamleader; firebase.auth().onAuthStateChanged(function(user) { if (user) { var userPath ...
import m from 'mithril'; import prop from 'mithril/stream'; import h from '../h'; import _ from 'underscore'; const EnterKey = 13; const innerFieldInput = { oninit: function(vnode) { const inputState = { value: vnode.attrs.inputValue, setValue: function(value) { val...
import { expect } from 'chai'; import React from 'react'; import { Provider } from 'react-redux'; import { mount } from 'enzyme'; import fakeStore from './fakeStore'; import CreateRecipe from '../../client/components/CreateRecipe.js'; describe('<CreateRecipe />', () => { let wrapper; before('render CreateRecipe'...
/*! jQuery UI - v1.10.3 - 2013-09-04 * http://jqueryui.com * Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(t){t.datepicker.regional.da={closeText:"Luk",prevText:"&#x3C;Forrige",nextText:"Næste&#x3E;",currentText:"Idag",monthNames:["Januar","Februar","Marts","April","Maj","Jun...
window.codeforcesOptions = []; window.codeforcesOptions.subscribeServerUrl = "http://pubsub.codeforces.com:85/sub";
"use strict"; var FilterDispatcher = require("../dispatcher/filter_dispatcher"); module.exports = { changeDate: function changeDate(key, date) { var pos = arguments.length <= 2 || arguments[2] === undefined ? "start" : arguments[2]; FilterDispatcher.handleChangeDate({ type: "CHANGE_DATE", date:...
/*jshint jquery:true, devel:true */ (function (n64js) {'use strict'; var kDebugTLB = 0; var kDebugDynarec = 0; var kEnableDynarec = true; var hitCounts = {}; var fragmentMap = {}; var fragmentInvalidationEvents = []; var kHotFragmentThreshold = 500; var accurateCountUpdating = false; var COUNTER_I...
"use strict"; var helpers = require("../../helpers/helpers"); exports["Pacific/Rarotonga"] = { "guess:by:offset" : helpers.makeTestGuess("Pacific/Rarotonga", { offset: true, expect: "Pacific/Honolulu" }), "guess:by:abbr" : helpers.makeTestGuess("Pacific/Rarotonga", { abbr: true, expect: "Pacific/Honolulu" }), "...
import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; import Ember from 'ember'; import wait from 'ember-test-helpers/wait'; const { Service, RSVP, Object:EmberObject } = Ember; const { resolve } = RSVP; moduleForComponent('leadership-search', 'Integration | Component |...
'use strict'; var React = require('react'); var SvgIcon = require('../../svg-icon'); var ImageCrop169 = React.createClass({ displayName: 'ImageCrop169', render: function render() { return React.createElement( SvgIcon, this.props, React.createElement('path', { d: 'M19 6H5c-1.1 0-2 .9-2 2v8c0...
var makeIterator = require('../function/makeIterator_'); /** * Array some */ /** * Description * @method some * @param {} arr * @param {} callback * @param {} thisObj * @return result */ function some(arr, callback, thisObj) { callback = makeIterator(cal...
//________________________________________________________________________________________________ // statevector.js //todo: update description // // cStateVector object - This is a generic container useful for ... // Every item added to the queue is time stamped for time series analyis, playback, etc. // There ...
export function seed(db) { const table = 'states' let id = 1 return Promise.all([ db(table).del(), // `id` is autoincrement and not generally necessary to explicitly define // However, for the `company_state` seed, having a consistent `id` to // reference makes things easier. db(table).insert({ id: id++...
import { put, takeEvery } from 'redux-saga/effects'; import { push } from 'react-router-redux'; import { CRUD_CREATE_FAILURE, CRUD_CREATE_SUCCESS, CRUD_DELETE_FAILURE, CRUD_DELETE_SUCCESS, CRUD_GET_LIST_FAILURE, CRUD_GET_MANY_FAILURE, CRUD_GET_MANY_REFERENCE_FAILURE, CRUD_GET_ONE_FAILURE...
#!/usr/bin/env node 'use strict'; // Pseudo-constants: var DEFAULT_OPTIONS = { "format": "manifest" , "compactUrls": true , "includeErrors": false , "includeTypes": false }; // “Global” variables: var Nightmare = require("nightmare") , phantomjs = require("phantomjs-prebuilt") , pth = r...
'use strict' const db = require('APP/db') const User = db.model('users') const {mustBeLoggedIn, forbidden,} = require('./auth.filters') module.exports = require('express').Router() .get('/', forbidden('only admins can list users'), (req, res, next) => User.findAll() .then(users => res.json(users)) .catch(nex...
var React = require('react/addons'); var blacklist = require('blacklist'); var classNames = require('classnames'); module.exports = React.createClass({ displayName: 'FormLabel', propTypes: { className: React.PropTypes.string, htmlFor: React.PropTypes.string, id: React.PropTypes.string, style: React.PropTypes...
'use strict'; require('../configfile').watch_files = false; var vm_harness = require('./fixtures/vm_harness'); var fs = require('fs'); var vm = require('vm'); var config = require('../config'); var path = require('path'); var util_hmailitem = require('./fixtures/util_hmail...
// flow-typed signature: 51fe58a87c9b5ce4a9e89ea80ffebcc3 // flow-typed version: <<STUB>>/babel-plugin-add-module-exports_v^0.2.1/flow_v0.39.0 /** * This is an autogenerated libdef stub for: * * 'babel-plugin-add-module-exports' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we ...
var gulp = require('gulp'); var tingpng = require('gulp-tinypng'); gulp.task('default', function () { gulp.src('source/*.png') .pipe(tingpng('q3BNdXVPRfkwwful4l0Hlf1cb8KlhmUE')) .pipe(gulp.dest('destination')); });
export * from './MenuButton'; export * from './ScoreRecap.js';
/** * Module dependancies */ var express = require('express') , models = require('../../models'); var router = express.Router() , Applicant = models.applicant() , JobPosting = models.jobPosting(); var ObjectIdBase64Conv = require('../../util').ObjectIdBase64Conv , objectIdToBase64 = ObjectIdBase64Con...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2019 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ // Adapted from [gl-matrix](https://github.com/toji/gl-matrix) by toji // and [vecmath](https://github.com/mattdesl/vecmath) by mattdesl var ...
module.exports = { <% if (modules === 'systemjs') { -%> templateUrl: 'app/header.html' <% } else { -%> template: require('./header.html') <% } -%> };
it("should load the component from container", () => { return import("./App").then(({ default: App }) => { const rendered = App(); expect(rendered).toBe( "App rendered with [This is react 2.1.0] and [ComponentA rendered with [This is react 2.1.0]] and [ComponentB rendered with [This is react 2.1.0]]" ); ret...
'use strict'; // Adapted from https://github.com/tleunen/babel-plugin-module-resolver/blob/master/src/normalizeOptions.js const path = require('path'); const { createSelector } = require('reselect'); const defaultExtensions = ['.js']; const normalizeRoots = (optsRoot, cwd) => { return Object.keys(optsRoot).reduce...
function MemoryCache() { } MemoryCache.prototype.get = function() { } MemoryCache.prototype.set = function() { } exports = module.exports = function() { return new MemoryCache(); } exports['@singleton'] = true; exports.MemoryCache = MemoryCache;
/*global App*/ /* Backbone View */ App.View.NodeView = App.View.BaseView.extend({ templateId: 'node', model: App.models.nodePage });
/*global SixSpeed */ var Fs = require('fs'), Path = require('path'); var $type = process.argv[2]; if ($type === 'babel') { require('babel-polyfill'); } if ($type === 'traceur') { require('traceur/bin/traceur-runtime'); } require('./runner'); var testDir = Path.join(__dirname, '..', 'build/tests'); Fs.readdir...
App.CreateResponseView = Ember.View.extend({ templateName: "studentapp/create_response", didInsertElement: function() { this.get('controller').send('loadFields'); }.observes('controller.model') });
require('./harness')({ numRuns: 10000, concurrency: 1 }, function (err, time) { console.log('Ran 10000 jobs through Bull with concurrency 1 in %d ms', time); });
import baseIteratee from './_baseIteratee'; import basePickBy from './_basePickBy'; /** * The opposite of `_.pickBy`; this method creates an object composed of * the own and inherited enumerable properties of `object` that `predicate` * doesn't return truthy for. The predicate is invoked with two arguments: * (val...
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v1.1.0-rc3-master-30e6657 */ (function( window, angular, undefined ){ "use strict"; /** * @ngdoc module * @name material.components.progressLinear * @description Linear Progress module! */ angular.module('material.components....
export const PAGINATION_PIECE_PREVIOUS = 'Previous' export const PAGINATION_PIECE_ELLIPSIS = 'ellipsis' export const PAGINATION_PIECE_PAGE_NUMBER = 'page-number' export const PAGINATION_PIECE_NEXT = 'Next' export const DEFAULT_MAX_PAGE_NUMBER_LINKS = 5
/*{"name":"Control Panel","elements":[{"name":"Components link"},{"name":"Features link"},{"name":"Step Definitions link"},{"name":"Mock Data link"},{"name":"Run Protractor button"},{"name":"Server Status badge"}],"actions":[{"name":"go to Components","parameters":[]},{"name":"go to Features","parameters":[]},{"name":"...
"use strict"; var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProp...
const { assign, set } = require('lodash') const { renderDocuments } = require('../documents') describe('Contacts documents controller', () => { beforeEach(() => { this.breadcrumbStub = sinon.stub().returnsThis() this.resMock = assign({}, globalRes, { breadcrumb: this.breadcrumbStub, render: sino...
const should = require('should'); const sinon = require('sinon'); const Promise = require('bluebird'); const mail = require('../../../../../core/server/services/mail'); const settingsCache = require('../../../../../core/shared/settings-cache'); const configUtils = require('../../../../utils/configUtils'); const urlUtil...
/** * Created by moshensky on 6/17/15. */ import {inject} from 'aurelia-dependency-injection'; import {Session} from './session'; import {Logger} from './logger'; import {Locale} from './locale'; import {Config} from './config'; import {Redirect} from 'aurelia-router'; class BaseAuthorizeStep { constructor(sessio...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
import React from 'react' import Icon from 'react-icon-base' const IoMerge = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m30 17.5c2.7 0 5 2.3 5 5s-2.3 5-5 5c-1.9 0-3.4-1-4.3-2.5h-0.8c-4.7 0-9-2-12.4-5.8v9c1.5 0.9 2.5 2.4 2.5 4.3 0 2.7-2.3 5-5 5s-5-2.3-5-5c0-1.9 1-3.4 2.5-4.3v-16.4c-1.5-0....
import React from 'react' import Icon from 'react-icon-base' const TiMicrophoneOutline = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m20 26.7c-3.7 0-6.7-3-6.7-6.7v-10c0-3.7 3-6.7 6.7-6.7s6.7 3 6.7 6.7v10c0 3.7-3 6.7-6.7 6.7z m0-20c-1.8 0-3.3 1.5-3.3 3.3v10c0 1.8 1.5 3.3 3.3 3.3s3.3-1.5 3....
version https://git-lfs.github.com/spec/v1 oid sha256:2dedd72ad88f001dd7d65d94d327a0ea91999927a59d328fa4a7628fbb4c81f3 size 4281
/** * Baobab Cursors * =============== * * Cursors created by selecting some data within a Baobab tree. */ import Emitter from 'emmett'; import {Monkey} from './monkey'; import type from './type'; import { Archive, arrayFrom, before, coercePath, deepClone, getIn, makeError, shallowClone, solveUpd...
function ResourceLoader(baseurl) { this.BASEURL = baseurl; } ResourceLoader.prototype.loadResource = function(resource, callback) { var self = this; evaluateScripts([resource], function(success) { if(success) { var resource = Template.call(self); callback.call(self, resource); } else { ...
var _ = require('lodash'), moment = require('moment-timezone'); function dateStringToTimestampWithZone(timeIn, zone) { // 07/09/2015 11:00 AM var pieces = timeIn.split(' '), dateString = pieces[0], timeString = pieces[1], ampm = pieces[2], datePieces = dateString.split('/')...
'use strict'; var util = require('util'); var events = require('events'); var _ = require('lodash'); var table = require('text-table'); var chalk = require('chalk'); // padding step var step = ' '; var padding = ' '; // color -> status mappings var colors = { skip: 'yellow', force: 'yellow', create: 'green'...
(this["webpackJsonpcarbonphp-documentation-react"]=this["webpackJsonpcarbonphp-documentation-react"]||[]).push([[2],{860:function(e,a,t){"use strict";function n(e){e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|else|extends|finally|for|function|...
'use strict'; angular.module('core').controller('TimelineController', ['$scope', function($scope) { // Timeline controller logic // ... } ]);
'use strict'; angular.module('testing').controller('TestingController', ['$scope', '$http', '$location', 'Authentication', 'Appprogress', 'Users', 'Registrations', 'creditCardMgmt', 'createDialog', 'bankAccountMgmt', function ($scope, $http, $location, Authentication, Appprogress, Users, Registrations, creditCardMgmt,...
'use strict'; /** * Module dependencies. */ var should = require('should'), mongoose = require('mongoose'), User = mongoose.model('User'); /** * Globals */ var user, user2; /** * Unit tests */ describe.skip('User Model Unit Tests:', function() { before(function(done) { user = new User({ firstName: 'Ful...
import { moduleForComponent, test } from 'ember-qunit'; moduleForComponent('model-selector', 'Unit | Component | model selector', { // Specify the other units that are required for this test // needs: ['component:foo', 'helper:bar'], unit: true }); test('it renders', function(assert) { assert.expect(2); //...
{ "name": "jquery.thumbs.js", "url": "https://github.com/nfort/jquery.thumbs.js.git" }
'use strict'; import eachLimit from './eachLimit'; import doLimit from './internal/doLimit'; /** * Applies the function `iteratee` to each item in `coll`, in parallel. * The `iteratee` is called with an item from the list, and a callback for when * it has finished. If the `iteratee` passes an error to its `callbac...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "M16 7h-1l-1-1h-4L9 7H8c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2zm-4 7c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z" }, "0"), /*#__PU...
KISSY.add("brix/gallery/switchable/index", function(S,Brick,KSSwitchable) { /** * kissy switchable 组件的封装。 * @extends Brix.Brick * @class Brix.Gallery.Switchable * <a target="_blank" href="http://docs.kissyui.com/docs/html/api/component/switchable/">其他配置、方法、事件请参考KISSY API</a> * @param {Obje...
/*! * Flowtime.js * http://marcolago.com/flowtime-js/ * MIT licensed * * Copyright (C) 2012-2013 Marco Lago, http://marcolago.com */ var Flowtime = (function () { /** * test if the device is touch enbled */ var isTouchDevice = 'ontouchstart' in document.documentElement; /** * test if the HTML History...
import React from 'react'; import xhttp from 'xhttp'; import {Modal, Button, Input, Alert} from 'react-bootstrap'; import ee from './../Emitter.js'; import ModalComponent from '../components/ModalComponent.js' import RegistrationForm from './../forms/RegistrationForm.js' export default class RegisterModal extends M...
/* * @flow */ import type {Suite} from "flow-dev-tools/src/test/Suite"; const { suite, test } = require("flow-dev-tools/src/test/Tester"); module.exports = (suite(({ addFile, addFiles, addCode }) => [ test("BigInt invalid decimal type literal", [ addCode(` type InvalidDecimal = 1.0n; `).newErrors( ...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jssPluginPropsSort = {})); }(this, (...
var isObject = require('./isObject'); /** `Object#toString` result references. */ var regexpTag = '[object RegExp]'; /** Used for built-in method references. */ var objectProto = Object.prototype; /** * Used to resolve the * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype...
/** * Module dependencies */ var _ = require('lodash'); var async = require('async'); var path = require('path'); var router = require('express') .Router(); /** * Models */ var Account = require('../models/Account'); var App = require('../models/App'); var Invite = require('../models/Invite'); /** * Polici...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M11 17h10v-2H11v2zm-8-5 4 4V8l-4 4zm0 9h18v-2H3v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z" }), 'FormatIndentDecrease');
const makeUnique = array => [...new Set(array)]; export default makeUnique;