code
stringlengths
2
1.05M
/** * Created by guangqiang on 2017/10/16. */ import React, { StyleSheet, Platform } from 'react-native' class _EnhancedStyleSheet { static create(styleSheets) { let keys = Object.keys(styleSheets) keys.map((key) => { Object.keys(styleSheets[key]).map((property) => { if (Platform.OS === 'ios...
version https://git-lfs.github.com/spec/v1 oid sha256:310dd07a39933a80dd38e086a5915027c2e72fe082586428b54a6bbcc1a25800 size 846
version https://git-lfs.github.com/spec/v1 oid sha256:f357010c6d6198a65e01c586726e59f06825e8e9d2deb32a092d85c225dc9330 size 21065
"use strict"; var _getSert = require("./../getsert"); var generateCode = require("../../../src/utils/code-generator"); class RangeDiscProductDataUtil { getSert(input) { var ManagerType = require("../../../src/managers/master/range-disc-product-manager"); return _getSert(input, ManagerType, (data) =...
/* ----------------------------------------------------------------------------- This source file is part of Cell Cloud. Copyright (c) 2009-2014 Cell Cloud Team (www.cellcloud.net) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "So...
import Ember from 'ember'; import Validator from 'ember-cli-data-validation/validator'; import { hasValue } from 'ember-cli-data-validation/utils'; /** * Validator that uses a RegExp pattern to test * the attribute value. * * You should be able to create a PatternValidator by * just assigning a `pattern` value. ...
import React from 'react'; import Example from '../Example'; import Checkbox from '../../../lib/Checkbox'; import Radio from '../../../lib/Radio'; import Switch from '../../../lib/Switch'; import IconToggle from '../../../lib/IconToggle'; import RadioGroupExample from './RadioGroupExample'; export default( props ) =...
var MAX_PERFORMATIVE_MEMORY = 10; var MAXIMUM_DISTANCE_TO_BE_CONSIDERED_THIS = 128; var NLDereferenceHint = /** @class */ (function () { function NLDereferenceHint(c, r) { this.clause = c; this.result = r; } return NLDereferenceHint; }()); var NLContextEntity = /** @class */ (function () { ...
(function () { 'use strict'; angular .module('AppThree.profiles', []); })(); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFwcC9wcm9maWxlcy9wcm9maWxlcy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsQ0FBQztJQUNBLFlBQVksQ0FBQztJQUViLE9BQU87U0FDTCxNQUFNLENBQUMs...
var fs = require('fs'); var path = require('path'); var request = require('request'); var crypto = require('crypto'); var readWXConfig = function() { var wxConf = fs.readFileSync(path.resolve(__dirname, '../', 'config/', 'weixin_config.json')); return wxConf; } var writeWXConfig = function(wxConf) { fs.w...
var Promise = require('promise'); var zlib = require('zlib'); var http = require("https"); function stackExchange(args, fname){ return new Promise((resolve, reject) =>{ console.log("In StackExchange API, switch functionality now"); console.log(fname); var queryUrl = 'https://api.stackexchange.com/2.2/'; ...
{ switch (bundleType) { case NODE_DEV: case FB_DEV: case RN_DEV: return "\n})();\n}\n"; default: return ""; } }
window.Status = (function() { var loadersList = {}, registeredRefreshes = {}, refreshInteralMultiplier = 1; function registerRefresh(name, callback, interval, paused) { var refreshData = { name: name, func: callback, interval: interval, ...
(function () { //'use strict'; define(['app'], function (app) { app.controller('articleListCtrl', articleListCtrl); articleListCtrl.$inject = ['$http', 'mainViewFactory']; function articleListCtrl($http, mainFac) { var vm = this; vm.article_list_data = ''; vm.goToArticle = goToArticle; getArticleLi...
// https://github.com/stefanpenner/ember-cli/blob/master/lib/ext/promise.js /*jshint node:true*/ 'use strict'; var RSVP = require('rsvp'); var Promise = RSVP.Promise; module.exports = PromiseExt; // Utility functions on on the native CTOR need some massaging module.exports.hash = function() { return this.resolv...
export const ic_stars_outline = {"viewBox":"0 0 24 24","children":[{"name":"path","attribs":{"d":"M0 0h24v24H0V0z","fill":"none"},"children":[]},{"name":"path","attribs":{"d":"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm7.48 7.16l-5.01-.43-2-4.71c3.21.19 5.91 2.27 7.01 5.14zm-5....
;(function() { /** * Concenctration game service factory * * Stores the state of the game, performs all the actions and notifies the app about changes * */ angular .module('concentrationGameApp') .factory('ConcentrationGame', ConcentrationGame); ConcentrationGame.$inject = []; functi...
$.widget('tableau.radioWidget',{ options:{ element: '', filterEnum: { replace: 'REPLACE', add: 'ADD', remove: 'REMOVE' }, template: '{{each appliedValues}}<div class="radio">\ <label>\ <input type="radi...
const {basename, join} = require('path'); const promiseLens = require('../functional/promise-lens'); const curryOptions = require('../functional/curry-options'); const categorise = require('../functional/categorise'); const defaults = require('./defaults'); const isValid = (listed) => ({canonical, checksum, birthtim...
import Picker from './js/picker'; export default Picker;
/* eslint-env node */ 'use strict'; module.exports = { name: 'yet-another-ember-table' };
import { connect } from 'react-redux' import { default as React, Component, PropTypes } from 'react' import { Button, Panel } from 'react-bootstrap' import { Route, withRouter } from 'react-router-dom' import { SectionHeader } from 'components' import { InvoiceItem, InvoiceItems } from 'containers' import { INVOICE_ID...
while (true) { b(a = 1); }
/** * Highshelf Filter * * @plugin * @param {Object} [params] map of optional values * @param {Number} [params.frequency=440] frequency * @param {Number} [params.q=0] Q * @param {Number} [params.gain=0] gain */ //create & connect white noise and a highshelf filter //(with a frequency of 880, gain of 1 & Q of 1...
function emove(){ } function collide(){ } function dispchr(){ } function putn(){ } function chrname(stg){ switch(stg){ case "circle": return chr1; break; case "heart": return chr2; break; case "fill": return chr3; break; case "sw": return chr4; break; case "se": return chr5; break; case "wave...
import StockStore from './stock_store.coffee'; const ArticleStore = new StockStore({ sortKey: 'character_sum', descKeys: { character_sum: true, view_count: true }, modelKey: 'article' } ); export default ArticleStore.store;
import { firebaseAuth } from '../firebase'; import { loadRecos, importRecosFromLocalStorage } from '../recos/actions'; import { INIT_AUTH, LOGIN, LOGIN_ERROR, SIGNUP_ERROR, LOGOUT_ERROR, LOGOUT } from './action-types'; const _initAuthAction = (user) => ({ type: INIT_AUTH, user }); export const initAu...
'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.definePrope...
const webpack = require('webpack') const path = require('path') const { NODE_ENV } = process.env const plugins = [ new webpack.optimize.OccurenceOrderPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify(NODE_ENV) }) ] const filename = `horizon-redux${NODE_ENV === 'production' ? '.min...
/* Ratings and how they work: -2: Extremely detrimental The sort of ability that relegates Pokemon with Uber-level BSTs into NU. ex. Slow Start, Truant -1: Detrimental An ability that does more harm than good. ex. Defeatist, Normalize 0: Useless An ability with no net effect during a singles battle. ex...
var big_image; $().ready(function () { $('.selector').click(function () { SelectColor(this); }); var selectCol = 0; if (selectCol == 0) { if ($('body').hasClass('landing-page1')) { } } }); $(window).on('scroll', function () { responsive = $(window).width(); if (res...
"use strict"; const runPrettier = require("../run-prettier.js"); describe("write cursorOffset to stderr with --cursor-offset <int>", () => { runPrettier("cli", ["--cursor-offset", "2", "--parser", "babel"], { input: " 1", }).test({ status: 0, }); }); describe("cursorOffset should not be affected by ful...
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(m,w,q){m instanceof String&&(m=String(m));for(var x=m.length,B=0;B<x;B++){var J=m[B];if(w.call(q,J,B,m))return{i:B,v:J}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUN...
import test from 'ava' import Promise from 'bluebird' import { assert } from '../../../../helpers/chai' import { normalizeHandler } from '../../../../helpers/normalizer' import { mock } from '../../../../helpers/boleto' import * as boletoHandler from '../../../../../build/resources/boleto' const create = normalizeHand...
(function(window, $, undefined) { $(function() { // 初始化赠品数据 fnInitGiftList(); // 初始化配件数据 fnInitListParts(); }); // init gift list data function fnInitGiftList() { var $wrapper = $('#giftWrapper'), $btnPrev = $wrapper.find('.btn-prev'), $btnNext = $wrapper.find('.btn-next'), ...
export class Circle { constructor() { let i; let circles = document.getElementsByTagName('circle'); for (i = 0; i < circles.length; i++) { this.findCircleElement(circles[i]); } let circleClasses = document.getElementsByClassName('circle'); for (i = 0...
(function() { 'use strict'; angular .module('lumx.checkbox', []) .directive('lxCheckbox', lxCheckbox) .directive('lxCheckboxLabel', lxCheckboxLabel) .directive('lxCheckboxHelp', lxCheckboxHelp); function lxCheckbox() { return { restrict: 'E', ...
import React from 'react'; import AddTodo from './AddTodo'; import TodoList from './TodoList'; import Footer from './Footer'; const styles = { todoContainer: { display: 'flex', flexDirection: 'column', margin: 12 } }; const TodoApp = () => ( <div style={styles.todoContainer}> <AddTodo /> <To...
/*jshint curly:false, expr: true */ var should = require('should'), mongoose = require('mongoose'), kabamKernel = require('./../index.js'), kabam, User; describe('User model OAuth methods', function(){ before(function(done){ var config = {MONGO_URL: 'mongodb://localhost/kabam_test'}; var connection ...
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Schema = mongoose.Schema; /** * ProductBrand Schema */ var ProductBrandSchema = new Schema({ created: { type: Date, default: Date.now }, name: { type: String, default: '', trim: true }, number: { type: String, uniq...
// // Created by CaoTao, 2018/03/08 // /* * LeetCode link: * https://leetcode.com/problems/maximum-subarray/description/ */ /** * @param {number[]} nums * @return {number} */ var maxSubArray = function(nums) { var length = nums.length if (length < 2) { return nums[0] } var maxSum = nums[0], current...
/* * angular-ui-bootstrap * http://angular-ui.github.io/bootstrap/ * Version: 1.0.0-SNAPSHOT - 2015-12-29 * License: MIT */ angular.module("ui.bootstrap", ["ui.bootstrap.tpls", "ui.bootstrap.${name}","ui.bootstrap.${name}","ui.bootstrap.${name}","ui.bootstrap.${name}","ui.bootstrap.${name}","ui.bootstrap.${name}"...
"use strict"; if (!('contains' in String.prototype)) { String.prototype.contains = function (str, startIndex) { return -1 !== String.prototype.indexOf.call(this, str, startIndex); }; } //set up global vars var datavar = {'limit': '50'};//party bitches var loading = false;//shits not loading var after;...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M20 5h-3.17l-1.24-1.35c-.37-.41-.91-.65-1.47-.65H9.88c-.56 0-1.1.24-1.47.65L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-8 4c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9...
import Ember from 'ember'; const { RSVP: { resolve, reject } } = Ember; export default class QueryLoader { constructor() { this.state = { isLoading: false, isLoaded: false, isError: false, error: null }; this.needed = true; this.promise = null; } // getProxy() { // ...
import { delay } from 'redux-saga'; import { call, put, takeEvery, select } from 'redux-saga/effects'; import * as apiClient from '../utils/apiClient'; import { success, error } from '../actions/message'; import actions, { QUERY_COMMENTS, DELETE_COMMENT } from '../actions/comment'; const getCommentState = state => s...
(function() { /** Implementation of the 'convert' verb for HackMyResume. @module verbs/convert @license MIT. See LICENSE.md for details. */ /** Private workhorse method. Convert 0..N resumes between FRESH and JRS formats. */ /** Private workhorse method. Convert a single resume. */ var ConvertVerb, HM...
import React from 'react' import { Link } from 'gatsby' import Layout from '../components/Layout' export default ({ location }) => ( <Layout location={location}> <Link to="/"> <h1>NOT FOUND</h1> </Link> </Layout> )
(window.webpackJsonp=window.webpackJsonp||[]).push([[87],{452:function(t,a,s){"use strict";s.r(a);var e=s(1),r=Object(e.a)({},(function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h2",{attrs:{id:"examples"}},[s("a",{staticClass:"header-an...
'use strict'; module.exports = Routes Routes.$inject = ['$routeProvider', '$locationProvider'] function Routes($routeProvider, $locationProvider) { $locationProvider.html5Mode(false); $routeProvider.when('/', { templateUrl: '/partials/find-station.html' ,controller: 'findStation' }) $routeP...
/* * Kendo UI v2015.1.408 (http://www.telerik.com/kendo-ui) * Copyright 2015 Telerik AD. All rights reserved. * * Kendo UI commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete * If you do not own a commercial license, this file shall be governed by the trial licen...
//module.exports = require("./bin/DevToolsDetector"); module.exports = require("./lib/DevToolsDetector");
'use strict'; const scribble = require('../'); const theChords = scribble.getChordsByProgression('G minor', 'i III v VI'); const notesArr = scribble.arp({ chords: theChords, count: 4, // you can set any number from 2 to 8 // The default value of order is 01234567 as count is 8 by default // but here we set co...
/** * Finds verse references and highlights them * * @author John Dyer (http://j.hn/) */ docs.plugins.push({ init: function(docManager) { // insert style $('<style id="verse-popup-style">.tagged-reference { cursor: pointer; color: #779; }</style>').appendTo($(document.body)); // create popup va...
"use strict"; var _interopRequire = function (obj) { return obj && obj.__esModule ? obj["default"] : obj; }; var dispatcher = _interopRequire(require("./dispatcher")); /* rxtx should be object like: { 'rxEvent1': 'txEvent1', 'rxEvent2': 'txEvent2' } */ module.exports = function (nodelist, rxtx) { // ...
'use strict'; function getData({ url, method = 'post' } = {}, callback) { callback(url, method); } getData({ url: 'myposturl.com' }, function (url, method) { console.log(url, method); }); getData({ url: 'myputurl.com', method: 'put' }, function (url, method) { console.log(url, method); });
// @flow export type Range = {| start: number, end: number, |} export type Resolved = | {| type: "url", url: string |} | {| type: "file", filename: ?string |} type ExternalModule = {| local: string, start: number, end: number, moduleName: string, imported: string, |} export type SuggestionFromImpo...
var request = require('request'); var _ = require('underscore'); var cheerio = require('cheerio'); var baseURL = 'http://news.ycombinator.com'; var call = function (path, callback) { request(baseURL + path, function(err, res, body) { if(err) return callback(err); parsePage(body, callback); }); }; var par...
module.exports = function (grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), sass: { dist: { files: { 'css/framework.css': 'sass/barebone.scss' } } }, watch: { css: { ...
var async = require('async'); var helpers = require('./helpers'); /** * TODO: Add discription here ... * */ var Dependence = module.exports = function(shared) { this.shareDependencies = shared === undefined ? true : !!shared; this.dependencies = {}; this.shared = {}; this.providers = []; this.use = Dependenc...
version https://git-lfs.github.com/spec/v1 oid sha256:e18f876039ea5216f19c9ce3ad1cbebffb9e230d2a5c74d5b000d759a78c2e2d size 29766
// Regular expression that matches all symbols in the Halfwidth and Fullwidth Forms block as per Unicode v5.2.0: /[\uFF00-\uFFEF]/;
/** * Simple Alert * * This little function allows us to display alerts to the user. The alerts * append to a wrapper of choice, and takes on two other variables. * * Licensed under the MIT license. * http://www.opensource.org/licenses/mit-license.php * * Copyright 2014, Call Me Nick * http://callmenick.com ...
'use strict'; angular.module('applicationApp') .controller('AdminCtrl', function ($scope, $http, Auth, User) { // Use the User $resource to fetch all users $scope.users = User.query(); $scope.delete = function(user) { User.remove({ id: user._id }); angular.forEach($scope.users, function(u, ...
var spawn = require('./spawn'); var createOptions = require('./create-options'); function grabModuleData(context, next) { // launch npm info as a child process, using the tmp directory // as the working directory. var proc = spawn( 'npm', ['view', '--json', context.module.raw], createOption...
function Stats(simulation, configuration) { function DataSet(stats, interval, avgMultiplier, eventsAsArrays) { this.events = []; this.avg = null; this.avgHistory = []; this.interval = interval || 1; this.avgMultiplier = avgMultiplier || 1; this.stats = stats; ...
"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...
// // Rule: color.js // Description: // ------------------------------------------------ dry.addRule((function(){ var init = function(parser, callback) { var colorMap = []; parser.addListener("property", function(event){ if(/color/g.test(event.property)) { if(/\\/g.test(event.va...
'use strict'; angular.module('myApp.view1', ['ngRoute']) .config(['$routeProvider', function($routeProvider) { $routeProvider.when('/view1', { templateUrl: 'view1/view1.html', controller: 'View1Ctrl' }); }]) .controller('View1Ctrl', ['$scope', '$http', '$sce', function($scope, $http, $sce) { $h...
import * as ActionTypes from '../actions' import {isEqual, without} from 'lodash' export default function productsReducer(state = {}, action) { switch (action.type) { case ActionTypes.LOAD_ORDERS: return {...state, orders: action.orders} case ActionTypes.ADD_ORDER: return {...state, orders: actio...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M15 19v-2H8.41L20 5.41 18.59 4 7 15.59V9H5v10h10z" /> , 'SouthWestOutlined');
import React from 'react'; const Section = props => ( <section> <h2 id={props.title}> <a href={`#${props.title}`}>{props.title}</a> </h2> {props.children} </section> ); export default Section;
const webpack = require('webpack'); const webpackDevMiddleware = require('webpack-dev-middleware'); const webpackHotMiddleware = require('webpack-hot-middleware'); const config = require('./webpack.config'); const app = new (require('express'))(); const port = 4000; const compiler = webpack(config); app.use(webpackDe...
var game; var speedMult = 0.7; // this is the friction which will slow down the map. Must be less than 1 var friction = 0.99; window.onload = function() { game = new Phaser.Game(480, 480, Phaser.AUTO, ""); game.state.add("PlayGame", playGame); game.state.start("PlayGame"); } var playGame = function(game) {}; play...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createTyped = void 0; var _is = require("../../utils/is"); var _typedFunction = _interopRequireDefault(require("typed-function")); var _number = require("../../utils/number"); var _factory = require("../../utils/factory"); func...
/** * Created by Neil on 2015-4-13. */ var app = angular.module('ngb1.chp2.demo11', []); app.controller('ParentController', function ($scope) { $scope.parent = 'parent'; }); app.controller('ChildController', function ($scope) { $scope.child = 'child'; //$scope.parent = 'child2'; });
{ throw new Error("this is unexpected."); }
import React, {PropTypes} from 'react'; import {Link} from 'react-router'; const AuthorListRow = ({author}) => { return ( <tr className="authorRow"> <td><Link to={'/author/' + author.id}>{author.firstName} {author.lastName}</Link></td> <td>{author.courseCount}</td> </tr> ); }; AuthorListRow.pr...
import { Fragment, createElement, Component, useEffect, useRef, useState, } from '@wordpress/element' import classnames from 'classnames' import { getDefaultFonts } from './default-data' import { humanizeVariations, fontFamilyToCSSFamily } from './helpers' import { FixedSizeList as List } from 'react-window' impo...
'use strict'; var jsonSql = require('../lib')(); var expect = require('chai').expect; describe('Insert', function() { it('should throw error without `values` property', function() { expect(function() { jsonSql.build({ type: 'insert', table: 'users' }); }).to.throw('`values` property is not set in `...
var React = require('react'); var Fluxible = require('fluxible'); var app = new Fluxible({ component: require('./components/SpaApp.react') }); app.registerStore(require('./stores/RouteStore')); app.registerStore(require('./stores/ApplicationStore')); app.registerStore(require('./stores/NewsStore')); var context = a...
'use strict'; module.exports = function(app) { var users = require('../../app/controllers/users'); var answers = require('../../app/controllers/answers'); // Answers Routes app.route('/answers') .get(answers.list) .post(users.requiresLogin, answers.create); app.route('/answers/:answerId') .get(answers.re...
// Copyright (c) 2006-2009 by Martin Stubenschrott <stubenschrott@vimperator.org> // // This work is licensed for reuse under an MIT license. Details are // given in the License.txt file included with this file. /** @scope modules */ const Modes = Module("modes", { requires: ["config", "util"], init: functio...
module.exports={A:{A:{"2":"H D G E A B HB"},B:{"1":"0 C p J L N I"},C:{"1":"0 1 2 3 4 6 7 8 9 F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s t u v w x y z AB BB aB UB","16":"cB"},D:{"1":"0 1 2 4 6 7 8 9 F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a c d e f g h i j k l m ...
var fspath = require("path"); /* * Match a tree against a string, regex, or custom function. A custom function * should accept a tree as its first argument and return a boolean value. * * string: returns true if the path contains the string * regex: returns true if the path matches the regex * functio...
var express= require('express'); var router = express.Router(); var mongojs = require('mongojs'); var db = mongojs('mongodb://st:st123@ds145208.mlab.com:45208/st123',['tasks']) var Sequelize = require('sequelize'); var User= require('../database/Db object/user').User; module.exports = router;
function traverse(matrix) { const DIRECTIONS = [[0, 1], [0, -1], [1, 0], [-1, 0]]; const rows = matrix.length; const cols = matrix[0].length; const visited = matrix.map(row => Array(row.length).fill(false)); function dfs(i, j) { if (visited[i][j]) { return; } visited[i][j] = true; DIRECT...
import Validator from 'validator'; import isEmpty from 'lodash/isEmpty'; export function validateLogin(data) { let errors = {}; if (Validator.isEmpty(data.email)) { errors.email = 'Email is required'; } if (!Validator.isEmail(data.email)) { errors.email = 'Invalid email format'; } if (Validator....
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { Router, useRouterHistory } from 'react-router'; import { createHashHistory } from 'history'; import configureStore from './store/configure'; import routes from './routes'; const history = useRouterHistory(crea...
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2017 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides control sap.m.LightBoxItem sap.ui.define([ 'jquery.sap.global', './library', 'sap/ui/core/Element', './Image', '....
const Util = require('../util'); const InterceptorArray = require('./interceptor-array'); const constants = require('../constants'); module.exports = class TypeBuilder { static buildDetectorMock(object) { object._handle = {}; return new Proxy(object, { get: function(target, name) { let value =...
'use strict'; 'format es6'; /*eslint no-unused-vars: [0] */ import routes from './ng-routes'; export default ['$stateProvider', '$urlRouterProvider', function($stateProvider, $urlRouterProvider) { angular.forEach(Object.keys(routes), function routesRegister(stateName) { $stateProvider.state(stateName, ro...
"use strict"; function merge(left, right) { return function () { left(); right(); }; } function observable(left) { left.map = function (lambda) { return observable(function (listener) { return left(function (value) { listener(lambda(value));...
'use strict'; angular.module("ngLocale", [], ["$provide", function ($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function ...
angular.module('ngCordova.plugins', [ 'ngCordova.plugins.actionSheet', 'ngCordova.plugins.adMob', 'ngCordova.plugins.appAvailability', 'ngCordova.plugins.appRate', 'ngCordova.plugins.appVersion', 'ngCordova.plugins.backgroundGeolocation', 'ngCordova.plugins.badge', 'ngCordova.plugins.barcodeScanner', ...
var default_consumer = { consumer_key: 'yBSjn0E6IH5ccRcFqu5Bg', consumer_secret: 's6mmPCRVKFFz6lp6c2npBZ3tcUDPFolZX2A2Kr4kvs' }; Ripple.setupConsumer(default_consumer); var sub_consumer = { consumer_key: 'Lp3DKTAhhUwaBvEOIrAqA', consumer_secret: 'LuVB86K07thONyg8ypI4nrJm85zInHBTAPaNV93BY' }; function getViewHeigh...
version https://git-lfs.github.com/spec/v1 oid sha256:0d3ca8a6eac7771d9fa00d7a9f68ec36a60b4f97628593d60c0c36de32907592 size 1951
const helper = require('./helper') const net = require('net') const portfinder = require('portfinder') const test = require('tape') test('TCP connect works (echo test)', function (t) { portfinder.getPort(function (err, port) { t.error(err, 'Found free port') let child const server = net.createServer() ...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("smiley","af",{options:"Lagbekkie opsies",title:"Voeg lagbekkie by",toolbar:"Lagbekkie"});
export class MessagePortTarget { constructor(sender, receiver) { this.sender = sender || []; this.receiver = receiver || []; if (!(this.sender instanceof Array)) { this.sender = [this.sender]; } if (!(this.receiver instanceof Array)) { this.receiver = [this.receiver]; } } /*...