text
stringlengths
2
1.04M
const alertCircle = `<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon...
'use strict'; const Advert = require('../dao/advert'); const mongoose = require('mongoose'); const errorFormatter = require('./validate/error_formatter'); const {body, validationResult} = require('express-validator/check'); const controller = {}; /** * Provide list of validation rules * @param {String} method - th...
/** * Permalink base class * * tiledWms=<1|0>: force tiled/untiled WMS * topic=<topic name> * background=<background topic name> * overlays=<comma separated overlay topic names> * extent=<minx>,<miny>,<maxx>,<maxy> * center=<x>,<y> * scale=<scale> * zoom=<zoom> * activeLayers=<comma separated layer names> *...
sap.ui.define(['sap/ui/core/mvc/Controller','sap/ui/model/json/JSONModel'], function(Controller, JSONModel) { "use strict"; return Controller.extend("sap.m.sample.MultiInputDatabinding.controller.MultiInputDatabinding", { onInit: function () { var oModel = new JSONModel(sap.ui.require.toUrl("sap/ui/demo/mock/...
/** * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; module.exports = function(tests) { return { filtered: 'potato', }; };
import { css, html } from 'lit-element' import { connect } from 'pwa-helpers/connect-mixin.js' import { i18next, localize } from '@things-factory/i18n-base' import { openPopup } from '@things-factory/layout-base' import gql from 'graphql-tag' import { client, CustomAlert, PageView, store } from '@things-factory/shell' ...
/* eslint-env webextensions */ import { action, computed, observable, makeObservable } from 'mobx'; import { getSavedOptions } from '../utils/index'; import { KEY } from '../utils/constants'; const isValid = value => value !== undefined && value !== null; class SettingsModel { subfolder = ''; filter = ''; // fi...
const Emitter = require('component-emitter') const has = require('@uppy/utils/lib/hasProperty') const NetworkError = require('@uppy/utils/lib/NetworkError') const fetchWithNetworkError = require('@uppy/utils/lib/fetchWithNetworkError') const parseUrl = require('./parseUrl') // Lazy load socket.io to avoid a console er...
/********************************************* * skel/MoSyncApp/LocalFiles/js/ystorage.js * YeAPF 0.8.49-124 built on 2016-08-22 14:19 (-3 DST) * Copyright (C) 2004-2016 Esteban Daniel Dortta - dortta@yahoo.com * 2016-08-22 14:19:47 (-3 DST) * First Version (C) 2014 - esteban daniel dortta - dortta@yahoo.com ****...
/************************************************************* * * MathJax/jax/output/HTML-CSS/fonts/Gyre-Termes/Variants/Regular/Main.js * * Copyright (c) 2013-2015 The MathJax Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance w...
import { val } from '../utils'; import AnimatedNode from './AnimatedNode'; // These values are established by empiricism with tests (tradeoff: performance VS precision) var NEWTON_ITERATIONS = 4; var NEWTON_MIN_SLOPE = 0.001; var SUBDIVISION_PRECISION = 0.0000001; var SUBDIVISION_MAX_ITERATIONS = 10; var kSplineTable...
import axios from 'axios'; const addCourse = (course, func) => { axios.post("/api/course", course) .then(data => { console.log(data); func(data.data.data); }) .catch(error => { func("error"); }) } export default addCourse;
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _typeof = require("@babel/runtime/helpers/typeof"); Object.defineProperty(exports, "__esModule", { value: true }); exports.MultiStepWithSectionsTearsheet = void 0; var _regenerator = _interopRequireDefault(requ...
//* set up helper functions export function convertToPoints(total) { let rewardsPoints = 0; if (total > 100) { rewardsPoints += 50; let newTotal = total - 100; rewardsPoints = rewardsPoints + (newTotal * 2); } else if (total > 50) { let newTotal = total - 50; rewardsP...
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ * * Version: 5.0.9 (2019-06-26) */ (function () { 'use strict'; ...
/** MIT License Copyright (c) 2016-2018 Devra Garfinkle Johnson Copyright (c) 2016 Christian Johnson 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 l...
import React from 'react'; import { Text } from 'react-native'; import PropTypes from 'prop-types'; import { emojify } from 'react-emojione'; import CustomEmoji from '../EmojiPicker/CustomEmoji'; const Emoji = React.memo(({ content, standardEmojiStyle, customEmojiStyle, baseUrl, getCustomEmoji }) => { const parsedC...
/** * Created by yran on 2016/12/07. */
function() { return async () => () => this; }
const { last, isObject, isEmpty, flatten, find, isString, get, isNil, isArray } = require('lodash'); const { type: itemType } = require('../../content-types/navigation-item/lifecycle'); const { NavigationError } = require('../../../utils/NavigationError'); const { TEMPLATE_DEFAULT } = require('./cons...
module.exports = { siteMetadata: { title: `Patricio Ferraggi Ares`, author: `Patricio Ferraggi Ares`, description: `Personal Website and Blog`, siteUrl: "https://www.patferraggi.dev", social: { twitter: `patferraggi`, }, }, plugins: [ `gatsby-plugin-netlify-cms`, `gatsby-plug...
import React from 'react'; import Icon from 'react-svg-icon'; import _omit from 'lodash/omit'; /** * A reusable button. Uses a <a> tag unless `type` is specified. */ export default React.createClass({ displayName: 'Button', propTypes: { href: React.PropTypes.string, className: React.PropType...
({ type: 'recycle-list', attr: { append: 'tree', listData: [ { type: 'A', number: 24 }, { type: 'A', number: 42 } ], templateKey: 'type', alias: 'item' }, children: [{ type: 'cell-slot', attr: { append: 'tree', templateType: 'A' }, children: [{ type: 'div', ...
var Candy = { Modules : { Mongoose : null, Express : null, Path : null, Http : null, BodyParser : null }, Configs : { DataBase : null, Environments : null }, App : null, Server : null, Routes : null, Rules :...
/** * Pimcore * * This source file is available under two different licenses: * - GNU General Public License version 3 (GPLv3) * - Pimcore Enterprise License (PEL) * Full copyright and license information is available in * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pim...
import {PanelCtrl} from 'app/plugins/sdk'; import moment from 'moment'; export class ClockCtrl extends PanelCtrl { constructor($scope, $injector) { super($scope, $injector); this.updateClock(); } updateClock() { this.time = moment().format('hh:mm:ss'); this.$timeout(() => {...
window.__NUXT__=(function(a,b,c,d,e){return {staticAssetsBase:"https:\u002F\u002Fwww.baca-quran.id\u002Fstatic\u002F1627814429",layout:"default",error:b,state:{notification:{show:a,title:c,message:c},isShowSidebar:a,isSupportWebShare:a,headerTitle:"Baca Qur'an",page:"home",lastReadVerse:b,settingActiveTheme:{name:"dark...
tinyMCE.addI18n("en.example", { desc: "This is just a template button", });
const VerifyAPI = require('../../api/api.js') const MockWallet = require('../mockWallet') const constants = require('../constants') const mockWallet = new MockWallet(constants.verifier_mnemonic, constants.path) // const api = new VerifyAPI(VerifyAPI.standAloneProvider('https://node.glif.io/space06/lotus/rpc/v0' // , ...
import { Provider } from 'react-redux' import { action } from '@storybook/addon-actions' import { PureInboxScreen } from './InboxScreen' import * as TaskListStories from './TaskList.stories' const store = { getState: () => { return { tasks: TaskListStories.Default.args.tasks, } }, subscribe: () => ...
const path = require('path') const roleService = require(path.resolve('./modules/role/services/role.service.js')) module.exports = { /** * Create Role * @async * @param ctx */ createRole: async (ctx) => { const role = ctx.request.body const result = await roleService.createRole(role) if...
'use strict'; /* jshint ignore:start */ /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ /* jshint ignore:end */ var Q = require('q'); /* jshint ignore:line */ var _ = require('lodash'); /* jshint ignore:line */ var util = require('util'); /* jshin...
module.exports = shellescape; // return a shell compatible format function shellescape(a) { var ret = []; a.forEach(function(s) { if (/[^A-Za-z0-9_\/:=-]/.test(s)) { s = "'"+s.replace(/'/g,"'\\''")+"'"; s = s.replace(/^(?:'')+/g, '') // unduplicate single-quote at the beginning .replace(/\...
/* Copyright 2018 Contributors to Hyperledger Sawtooth 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 law or agreed to...
import "react-table/react-table.css"; import { Box, Edit } from 'react-feather'; import { Form, Button, Card, CardBody, CardTitle, Col, Row, Table } from "reactstrap"; import React, { Fragment } from "react"; import Spinner from "../../components/spinner/spinner"; import { toastr } from 'react-redux-toastr'; import a...
angular.module('userCtrl', ['userService']) .controller('userController', function(User){ var vm = this; //set a processing variable to show loading things vm.processing = true; vm.deleteUser = function(id) { vm.processing = true; //accepts the user id as a parameter User.delete(id) .succes...
export let SchemaProvider = class SchemaProvider { getSchema() {} };
//@flow import React from "react"; import gql from "graphql-tag"; import isEmpty from "lodash/isEmpty"; import { Query } from "react-apollo"; import { Trans } from "@lingui/macro"; import { Router } from "@reach/router"; import { Flex, Box } from "@rebass/emotion"; import { LocationParams, SetLocationParamsProp, ...
/* RED Zero Geras Made by Daenerys */ var status = -1; function action(mode, type, selection) { if (mode == 1) { status++; } else if (status == 0) { cm.sendNext("You must have some business to take care of here, right?"); cm.dispose(); status--; } if ...
var searchData= [ ['bind',['bind',['../classtacopie_1_1tcp__socket.html#a910a183d7c45483f1cdacd10a1896155',1,'tacopie::tcp_socket']]], ['buffer',['buffer',['../structtacopie_1_1tcp__client_1_1read__result.html#a50d22ea3a43d085d88d54bbf59a357dc',1,'tacopie::tcp_client::read_result::buffer()'],['../structtacopie_1_1t...
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["uni_modules/uview-ui/components/u-cell/u-cell"],{ /***/ 494: /*!****************************************************************************************************!*\ !*** /Users/gongguojun/uniapp/tianshitongzhuang/uni_modules/uview-ui/components/u-cel...
'use strict'; var is = require('../is-observable-value'); module.exports = function (T, a) { var value = new T(), invoked = false, x = {} , o1, o2, o3; a(is(value), true, "Create"); value.on('change', function (event) { invoked = event.newValue; }); a(invoked, false, "Pre emit"); value.value = 'raz'; a(invok...
"use strict"; module.exports = { 'name': 'log', 'category': 'Arithmetic', 'syntax': ['log(x)', 'log(x, base)'], 'description': 'Compute the logarithm of a value. If no base is provided, the natural logarithm of x is calculated. If base if provided, the logarithm is calculated for the specified base. log(x, bas...
const mix = require('laravel-mix'); mix.webpackConfig({ resolve: { extensions: ['.js', '.vue'], alias: { '@': __dirname + '/resources' } } }); /* |-------------------------------------------------------------------------- | Mix Asset Management |---------------------------...
/** * Return a default logger which writes to stdout and stderr. * * @return {Function} [enhanced log fn] * @api private */ module.exports = function LowLevelLogger ( ) { var _stdout = console.log.bind(console); var _stderr = console.error.bind(console); // Emulate winston's output stream conventions // (so ...
import { range } from './range'; export const permutation = range; export function inverse_permutation(perm, dense) { const inv = dense ? Array(perm.length) : {}; for (let i = 0; i < perm.length; i++) { inv[perm[i]] = i; } return inv; }
* @license * Copyright (c) 2016 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found...
'use strict'; /* dependencies */ const { expect } = require('chai'); const { include } = require('@lykmapipo/include'); const { Schema } = require('mongoose'); const { Alert } = include(__dirname, '..', '..'); const { STATUSES, DEFAULT_STATUS, TYPES, DEFAULT_TYPE, SCOPES, DEFAULT_SCOPE, CATEGORIES, DEF...
$(document).ready(function() { var navigation = $(".js-navigation"); var closeIcon = $(".js-hamburger-close-icon"); var hamburgerIcon = $(".js-hamburger-icon"); var hamburgerBtn = $(".js-hamburger-btn"); hamburgerBtn.click(function(e) { e.preventDefault(); e.stopPropagation(); ...
import { List, Record, declare, Union } from "../fable-library.2.2.0-beta-010/Types.js"; import { Common$002EHelpers$$$classes as Common$0024002EHelpers$0024$0024$0024classes, Size$$$ofSize as Size$0024$0024$0024ofSize, Modifier$$$parseModifiers as Modifier$0024$0024$0024parseModifiers, Modifier$002EIModifier$reflectio...
const assert = require('assert') const { resolve } = require('path') const Adapter = require('../src/index') describe('EJS adapter', () => { describe('#render', () => { it('should render the template with the given data', async () => { const templatePath = resolve(__dirname, 'fixtures', 'template.ejs') ...
/************************************************* * Copyright (c) 2015 Ansible, Inc. * * All Rights Reserved *************************************************/ /** * @ngdoc function * @name forms.function:JobTemplate * @description This form is for adding/editing a Job Template */ export default ['Notificati...
const { ConditionApplier } = require('../../app/Conditions'); describe('Testing Conditions', () => { beforeAll(() => { }); beforeEach(() => { jest.clearAllMocks(); }); describe('in', () => { it('with data', () => { const filter = ConditionApplier('sensor.status', 'in', ['failed', 'stopped']); ...
import { isFunction } from '../Is/isFunction.js'; /** * determines whether a operand is not function * * @param {any} operand * @returns {boolean} */ export const isNotFunction = operand => !isFunction(operand);
//(function($) { $(document).ready(function(){ "use strict"; // Start of use strict // Floating label headings for the contact form $("body").on("input propertychange", ".floating-label-form-group", function(e) { $(this).toggleClass("floating-label-form-group-with-value", !!$(e.target).val()); }).on("focus"...
let nock = require('nock'); module.exports.testInfo = {"container":"container156404672999800401","blob":"blob156404673026506860"} nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) .put('/container156404672999800401') .query(true) .reply(201, "", [ 'Content-Length', '0',...
import { isObservable, of, Subject } from 'rxjs'; import { ɵɵdefineInjectable, Injectable, InjectionToken } from '@angular/core'; /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io...
/* eslint-disable max-len */ const Apify = require('apify'); const { log } = Apify.utils; const { LABEL } = require('./consts'); async function getItems(pageObj, pageData, resultsArr, label) { if (label === LABEL.NEW) { // need to wait after page 1 await pageObj.waitForSelector('.zg-grid-general-f...
'use strict'; var $ = require('../internals/export'); var aCallable = require('../internals/a-callable'); var anObject = require('../internals/an-object'); var getSetIterator = require('../internals/get-set-iterator'); var iterate = require('../internals/iterate'); var $TypeError = TypeError; // `Set.prototype.reduce...
import doRequest from './do-request'; import TokenProvider from './token-provider'; import DeviceStateStore from './device-state-store'; import { version as sdkVersion } from '../package.json'; const INTERESTS_REGEX = new RegExp('^(_|\\-|=|@|,|\\.|;|[A-Z]|[a-z]|[0-9])*$'); const MAX_INTEREST_LENGTH = 164; const MAX_IN...
window._ = require('lodash'); try { window.Popper = require('popper.js').default; window.$ = window.jQuery = require('jquery'); require('bootstrap'); } catch (e) {} window.axios = require('axios'); window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; /** * Echo exposes an expre...
/** * User Class * * @author Karl Tiedt * @website http://twitter.com/ktiedt * @copyright Karl Tiedt 2011 */ User = exports.User = function(irc, /* fully qualified irc hostmask - nick!ident@host */ mask) { this.irc = irc; this.channels = []; this.passive = true; this.nick = ''; this.ident = '';...
import { WebGLRenderTarget } from './WebGLRenderTarget.js' function WebGLRenderTargetCube( width, height, options ) { WebGLRenderTarget.call( this, width, height, options ); this.activeCubeFace = 0; // PX 0, NX 1, PY 2, NY 3, PZ 4, NZ 5 this.activeMipMapLevel = 0; } WebGLRenderTargetCube.prototype = Object....
import React from 'react'; import Header from '../components/Header'; import Footer from '../components/Footer'; import SEO from '../components/SEO'; const PrimaryLayout = (props) => { return ( <div className="welcomePage"> <SEO /> <Header></Header> <div className="container"> <div clas...
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
// 斑竹枝,斑竹枝,泪痕点点寄相思。____刘禹锡《潇湘神·斑竹枝》 import Vue from 'vue'; import App from './App'; Vue.config.productionTip = false; App.mpType = 'app'; import appPush from '@/js_sdk/levine-APPPush/levine-APPPush/plugins/APPPush/index.js' Vue.use(appPush) import baseConfig from '@/config/baseConfig.js' import appUtils from '@/ut...
var bomb = [],gameStatus=true,points=0; function startGame() { document.getElementById("gameScore").innerHTML = `Game Score: ${points}`; for(let i=0;i<10;i++) { let randVar = Math.floor(Math.random()*81)+1; if(!bomb.includes(randVar)) { bomb[i] = randVar; } ...
module.exports = { bracketSpacing: true, jsxBracketSameLine: true, singleQuote: true, trailingComma: 'none', arrowParens: 'avoid' };
// @flow import * as React from 'react'; import { columns, initialCondition } from '../components/fixtures'; import FilterButton from '../components/filter/FilterButton'; import { EQUALS, LESS_THAN } from '../constants'; describe('feature/query-bar/components/filter/FilterButton', () => { const getWrapper = (prop...
import { api } from '@/api' import { Asset } from '../wrappers/asset' import { mapGetters } from 'vuex' import { vuexTypes } from '@/vuex' export default { data: _ => ({ assets: [], }), computed: { ...mapGetters([ vuexTypes.accountId, ]), ownedAssets () { return this.assets.filter(a...
import React from 'react'; import RadioGroup from '../src/RadioGroup'; const exampleChildren = [ { label: '4 radios', value: [1, 2, 3, 4].map(n => <RadioGroup.Radio key={n} value={n} children={`Option ${n}`}/> ) }, { label: '2 radios', value: [ <RadioGroup.Radio key={0} ...
const { join } = require('path'); const { writeFile } = require('fs/promises'); const { getInput } = require('@actions/core'); const { dump } = require('js-yaml'); const getStackConfig = require('./utils/get-stack-config'); const branch_name = getInput('branch_name', { required: true }); const function_name = getInput...
'use strict' const EdmAnnotation = require('../edm/EdmAnnotation') const EdmInclude = require('../edm/EdmInclude') const EdmIncludeAnnotation = require('../edm/EdmIncludeAnnotation') const validateThat = require('../validator/ParameterValidator').validateThat /** * <a href="./../ODataSpecification/odata-v4.0-errata0...
const Path = require('path'); const CleanWebpackPlugin = require('clean-webpack-plugin'); const CopyWebpackPlugin = require('copy-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: { app: Path.resolve(__dirname, '../src/js/index.js') }, output: { path: P...
'use strict'; require('mocha'); const assert = require('assert').strict; const pascalcase = require('.'); describe('pascalcase', () => { it('should uppercase a single character string', () => { assert.equal(pascalcase('a'), 'A'); assert.equal(pascalcase('Z'), 'Z'); }); it('should work with spaces', () ...
jQuery.sap.require("oscon2014.util.Formatter"); sap.ui.controller("oscon2014.view.Master", { handleListItemPress : function (evt) { var context = evt.getSource().getBindingContext(); this.nav.to("Detail", context); } });
#!/usr/bin/env node // Solve the "Coin Change" problem using a bottom-up dynamic programming // approach. The time complexity is O(n * coins.length) since we have a nested // loop. The storage complexity is the same, as we store a matrix. // // * `coins` is an array of the coin values, eg. [ 1, 2, 3 ]. We assume it //...
var options, hoverZoomPlugins = hoverZoomPlugins || [], VK_CTRL = 1024, VK_SHIFT = 2048, actionKeys = ['actionKey', 'hideKey', 'openImageInWindowKey', 'openImageInTabKey', 'saveImageKey', 'fullZoomKey', 'prevImgKey', 'nextImgKey']; function getMilliseconds(ctrl) { var value = parseFloat(ctrl.val())...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
module.exports = function(app) { var autenticar = require('./../middlewares/autenticador') , contatos = app.controllers.contatos; app.get('/contatos', autenticar, contatos.index); app.get('/contato/:id', autenticar, contatos.show); app.post('/contato', autenticar, contatos.create); app.get('/contato/:...
window.addEventListener('DOMContentLoaded', function () { // 两个浮动面板 var flashTablet = document.querySelector('.flash-tablet'); var tableHeight = document.querySelector('.files-table').offsetTop; var toTopBtn = document.querySelector('#to-top'); window.addEventListener('scroll', function () { if (window.p...
import { combineReducers } from 'redux'; import decks from './decks'; import newDeckId from './newDeckId'; export default combineReducers({ decks, newDeckId });
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Ajv = f()}})(f...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[66],{ /***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/Pagination/index.vue?vue&type=script&lang=js&": /*!************************************************************************************...
var searchData= [ ['newframe_0',['newFrame',['../classImGUI.html#a9b99acf420218355453f0ee652b89837',1,'ImGUI']]], ['nodefromindex_1',['nodeFromIndex',['../structglTFModel_1_1Model.html#a4a3e113c048f4bae84ad499ccbff1f16',1,'glTFModel::Model']]] ];
/** * @license Copyright 2016 Google Inc. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or a...
angular.module('angular-carousel') .directive('rnCarouselIndicators', ['$parse', function($parse) { return { restrict: 'A', scope: { slides: '=', index: '=rnCarouselIndex' }, templateUrl: 'carousel-indicators.html', link: function(scope, iElement, iAttributes) { var indexModel =...
/*global module:false, require:false, __dirname:false*/ module.exports = function(grunt) { // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), concat: { dist: { src: ['src/<%= pkg.name %>.js', 'src/<%= pkg.name %>.*.js'], dest: 'dist/<%= pkg.name %>...
import ApplicationSerializer from './application'; import AnswerOption from 'brn/utils/answer-option'; export default class TaskSerializer extends ApplicationSerializer { ATTR_NAMES_MAP = Object.freeze({ order: 'serialNumber', type: 'exerciseType', }); normalize(typeClass, hash) { if (hash.answerOpti...
import { normalizeDataSourceOptions } from '../../../data/data_source/utils'; import { DataSource } from '../../../data/data_source/data_source'; export var getValueExpr = resource => resource.valueExpr || 'id'; export var getDisplayExpr = resource => resource.displayExpr || 'text'; export var getFieldExpr = resource =...
import { fetchJson, DENSHO_REST_BASE_URL } from '../shared'; export const FETCH_ITEM_DETAILS = 'fetch_item_details/fetch'; export const FETCH_ITEM_DETAILS_SUCCESS = 'fetch_item_details/fetch_success'; export const FETCH_ITEM_DETAILS_FAIL = 'fetch_item_details/fetch_fail'; const initialState = { fetchObject: null, ...
var searchData= [ ['implementation_20details_798',['Implementation details',['../detailspage.html',1,'']]], ['id_799',['id',['../classdrain_1_1image_1_1PaletteEntry.html#afd0d68c6d31ff249f3ae8662162663c3',1,'drain::image::PaletteEntry']]], ['identityfunctor_800',['IdentityFunctor',['../structdrain_1_1IdentityFunc...
const linker = require('../helpers/linker.js'); module.exports = (ctx) => { const url = linker.getLink(ctx.message); console.log(url); };
import { combineReducers } from 'redux'; import count from './counter/reducer'; export default combineReducers({ count });
import React from 'react'; import { render } from '@testing-library/react'; import Home from './home'; import { MemoryRouter } from 'react-router-dom'; import { Provider } from 'react-redux'; import configureStore from 'redux-mock-store'; const mockStore = configureStore([]); const store = mockStore({ app: { secon...
/** Copyright (c) 2008-2010 Ricardo Quesada Copyright (c) 2011-2012 cocos2d-x.org Copyright (c) 2013-2014 Chukong Technologies Inc. Copyright (c) 2008, Luke Benstead. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following c...
const itemTemplate = document.getElementById('tk-todo-item-template').content const appTemplate = document.getElementById('tk-todo-app-template').content const storageKey = 'tk:todoList' customElements.define('tk-todo-app', class extends HTMLElement { todoList = [ {text: '1', completed: false}, {tex...
import React from 'react'; import './App.css'; import UserList from './components/UserList'; function App() { return ( <div className="App"> <UserList /> </div> ); } export default App;
import m from 'mithril' import { app } from '../main' import * as qs from 'qs' import io from 'socket.io-client' import { getSuggestions } from '../views/single' const state = { progress: 0, // Current percentage of download progress loading: false } var stdout = [] // Initialize socket const socket = io() /...
//# sourceMappingURL=0-b0b585dbd43111d441bc.js.map