text stringlengths 2 1.04M |
|---|
Ext.define("Hatimeria.tour.view.TourMainView", {
extend: 'Ext.container.Viewport',
title: 'Tour',
layout: 'border',
items: [
{
region: 'north',
xtype: 'container',
padding: 10,
style: 'font-size: 18px; background: white',
html: 'Hatimer... |
/*
* Copyright (C) 2022 Huawei Device Co., Ltd.
* 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 ... |
/***
* Excerpted from "Test-Driving JavaScript Applications",
* published by The Pragmatic Bookshelf.
* Copyrights apply to this code. It may not be used to create training material,
* courses, books, articles, and the like. Contact us if you are in doubt.
* We make no guarantees that this code is fit for any purp... |
var data = {
"body": "<path d=\"M17 16.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5s-.5.22-.5.5s.22.5.5.5z\" fill=\"currentColor\"/><circle cx=\"9\" cy=\"12\" r=\"1\" fill=\"currentColor\"/><circle cx=\"13\" cy=\"8\" r=\"1\" fill=\"currentColor\"/><circle cx=\"13\" cy=\"16\" r=\"1\" fill=\"currentColor\"/><path d=\"M17 12.5c.28 ... |
import React, { useState, useEffect, useRef } from 'react'
import '../App.css'
import InfoCard from './Info'
import {fontList, INP_TYPES, BORDER_STYLES, FONT_WEIGHTS} from './Constants'
import { builders, constructRGB } from './Utils'
import {ChromePicker} from 'react-color'
import { Evaluators } from './evaluator'
l... |
import * as types from "./actionTypes";
import axios from "axios";
import { getToken, getUserIdFromUserData } from "../../token.helper";
import { API_URL } from "../../app.json";
export function addUserData(formData) {
return function (dispatch) {
dispatch({ type: "CLIENT_POST_LOADING", payload: true });
// ... |
import React, { useState, useEffect, useContext } from 'react'
import '../Styles/Graphics.css'
import { Doughnut } from 'react-chartjs-2'
import Context from '../GlobalState/context';
const DonnutChart = props => {
const {state, actions} = useContext(Context)
const [chartData, setChartData] = useState({})
... |
/* eslint-env mocha */
'use strict'
const chai = require('chai')
chai.use(require('dirty-chai'))
const expect = chai.expect
const parallel = require('async/parallel')
const series = require('async/series')
const signalling = require('eth-libp2p-webrtc-star/src/sig-server')
const rendezvous = require('eth-libp2p-websoc... |
'use strict';
angular.module('artstudio.prices', ['ngRoute'])
.controller('pricesCtrl', [function() {
}]); |
module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['import'],
parserOptions: {
ecmaVersion: 6,
sourceType: 'module',
},
env: {
es6: true,
},
settings: {
'import/resolver': {
node: {
extensions: ['.mjs', '.js', '.js... |
/* eslint-disable no-undef */
/*import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
xit('renders without crashing', () => {
const div = document.createElement('div');
ReactDOM.render(<App />, div);
ReactDOM.unmountComponentAtNode(div);
});*/
test('Fake test', () =>{
expect(tru... |
/*
* Copyright © 2016-2018 The BeiDouApp Authors
*
* 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 ... |
/**
* Copyright © 2014 Elastic Path Software 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 r... |
import {
shape,
objectOf,
arrayOf,
number,
} from 'prop-types';
import MediaType from './Medium';
export default shape({
byId: objectOf(MediaType),
allIds: arrayOf(number),
}); |
import Hex from './models/Hex';
class GridGenerator {
static getGenerator(name) {
if (GridGenerator.hasOwnProperty(name))
return GridGenerator[name];
return null;
}
static parallelogram(q1, q2, r1, r2) {
let hexas = [];
for (let q = q1; q <= q2; q++) {
for (let r = r1; r <= r2; r++... |
jQuery(document).ready(function() {
jQuery('#itemNo').blur(function() {
validateItem(jQuery('#itemNo'));
});
jQuery('#submitBid').click(function() {
submitBid();
});
setInterval('getItemList()',1000);
getItemList();
});
// This function works
function validateItem(itemNumber) {
if (itemNumber.val() != "... |
/**
* omi v5.0.16 http://omijs.org
* Omi === Preact + Scoped CSS + Store System + Native Support in 3kb javascript.
* By dntzhang https://github.com/dntzhang
* Github: https://github.com/Tencent/omi
* MIT Licensed.
*/
(function () {
'use strict';
/** Virtual DOM Node */
function VNode() {}
function ge... |
"use strict";
const trendStore = require("../../lib/trendStore");
const sampleTrends = require("../../lib/sampleTrends.json");
module.exports = {
/**
* The sample trends for the "DEMO" account
*
* @type {object[]}
*/
sampleTrends,
/**
* Creates multiple new test records, and updates the source o... |
//objects assignment; file holding faunctional code
var message = '';
var student;
var search;
function print(message) {
var outputDiv = document.getElementById('output');
outputDiv.innerHTML = message;
}
function getStudentReport( student ) {
var report = '<h2>Student: ' + student.name + '</h2>';
report +=... |
import styled from "styled-components";
// Used for wrapping a page component
export const Screen = styled.div`
background-color: var(--primary);
background-image: ${({ image }) => (image ? `url(${image})` : "none")};
background-size: cover;
background-position: center;
width: 100%;
min-height: 100vh;
di... |
/**
* Copyright 2012-2017, Plotly, Inc.
* 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 = require('../src/traces/histogram'); |
module.exports = {
root: true,
env: {
node: true
},
parser: '@typescript-eslint/parser',
parserOptions: {
project: [
'./tsconfig.json',
'./tsconfig.test.json'
]
},
ignorePatterns: [
'.eslintrc.js',
'jest.config.js'
],
plugins: [
'@typescript-eslint',
'jest'
],... |
module.exports = {
preset: "ts-jest",
testEnvironment: "jsdom",
roots: ["<rootDir>"],
modulePaths: ["<rootDir>"],
moduleNameMapper: {
"filebridge-client": "<rootDir>/packages/filebridge-client/src",
},
}; |
var classAdobeXMPCommon_1_1IConfigurationManager__v1 =
[
[ "~IConfigurationManager_v1", "classAdobeXMPCommon_1_1IConfigurationManager__v1.html#aab2f368cf6883a6cd92fe688a95516b5", null ],
[ "DisableMultiThreading", "classAdobeXMPCommon_1_1IConfigurationManager__v1.html#acf69fdd4ec5c1eb47b6a41b052372504", null ],... |
// entry-server.js
import { createApp } from './app'
export default context => {
// 因为有可能会是异步路由钩子函数或组件,所以我们将返回一个 Promise,
// 以便服务器能够等待所有的内容在渲染前,
// 就已经准备就绪。
return new Promise((resolve, reject) => {
const { app, router } = createApp()
// 设置服务器端 router 的位置
router.push(context.ur... |
'use strict';
/**
* Module dependencies
*/
// Node.js core.
const path = require('path');
const { exec, execSync } = require('child_process');
// Public node modules.
const _ = require('lodash');
const {green, cyan} = require('chalk');
const fs = require('fs-extra');
const npm = require('enpeem');
const ora = requ... |
/* globals Vue, Vuetify, firebase */
const gAuthProvider = new firebase.auth.GoogleAuthProvider()
const admins = [
'Kpz3afszjBR0qwZYUrKURRJx2cm2', // Dylan
'g0G3A7FxieN333lZ2RKclkmv9Uw1' // Svante
]
firebase.firestore().enablePersistence()
const dateFormatter = new Intl.DateTimeFormat()
new Vue({
el: '#app',
... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[72],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/src/components/timeline/VxTimeline.vue?vue&type=script&lang=js&":
/*!*****************************************************************************... |
import Api from 'app/api';
import ApiConstants from '../ApiConstants';
export default function registerUser(username, password, email, phone, address, city, country, name, nid, bio, firstName, lastName, profileType) {
const payload = {
username: username,
password: password,
email: email,... |
export default function() {
const store = this.riotx.get();
const maxSize = 5;
this.names = store.getter('endpoints.namesFiltered', maxSize);
// `tag`はriotの予約後なので_を付けとく。
this._tags = store.getter('endpoints.tagsFiltered', maxSize);
this.isEmpty = (!this.names.length && !this._tags.length);
this.listen('... |
import React from 'react';
import { connect } from 'react-redux';
import cx from 'classnames';
import './styles.css';
import UI from './UI';
import Item from './Item';
import Activity from './Activity';
import Vendor from './Vendor';
import { Checklist, Record, Node } from './Maps';
import CollectionsBadge from './Co... |
module.exports = {
interval: 60000, // Feed check interval, in miliseconds
userAgent: 'Mozilla/5.0 (Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0', // Experimental: User agent string to bypass possible fetching limits on GitHub
/**
* Provide your GitHub token below to bypass the rate limit
* and to get... |
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(['exports', '../createIcon'], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require('../createIcon'));
} else {
var mod = {
exports: {}
};
factory(mod.exports, global.createIc... |
/*
* Copyright (C) 2019 Intel Corporation
* SPDX-License-Identifier: MIT
*/
/* global
require:true
*/
const JSZip = require('jszip');
onmessage = (e) => {
const zip = new JSZip();
if (e.data) {
const { start, end, block } = e.data;
zip.loadAsync(block).then((_zip) => {
let ind... |
/*
@licstart The following is the entire license notice for the JavaScript code in this file.
The MIT License (MIT)
Copyright (C) 1997-2020 by Dimitri van Heesch
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to... |
module.exports = {
env: {
browser: true,
},
extends: 'airbnb',
parser: 'babel-eslint',
parserOptions: {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true
}
},
rules: {
//"class-methods-use-this": ["error", { "exceptMethods": ["render"] }],
//rea... |
const createExcludeRegex = require("../lib/to-abstract-base-template-utils/oc-webpack/lib/configurator/createExcludeRegex");
test("should create a regex that match against any node module set aside given ones", () => {
const regex = createExcludeRegex([
"ot-oc-template-react-email-compiler/utils",
"@ot-react... |
(function()
{
/**
* Download from following URL as TSV and convert using https://jgraph.github.io/drawio-tools/tools/convert.html:
* https://docs.google.com/spreadsheets/d/1sAL1zn-UtmJtKPH4cLApGjRX-TRSJa5dYdfZ9NKYfRs
* Maps package and stencil names to additional tags.
*/
/**
* To update this, go to https:... |
module.exports = {
//---------------------------------------------------------------------
// Action Name
//
// This is the name of the action displayed in the editor.
//---------------------------------------------------------------------
name: "Control Variable",
//-------------------------------------------------... |
const express = require('express');
const router = express.Router()
router.use((req, res, next) => {
if (req.method === 'POST') {
console.log(JSON.stringify(req.session.data, null, 2))
}
next()
})
// Query
router.post('/legacy/sprint49d/query', function(req, res) {
if (req.body['query'] === 'eligibility')... |
import React, { Component } from "react";
import Fade from "react-reveal";
import Grid from '@material-ui/core/Grid';
import TextField from '@material-ui/core/TextField';
import Typography from '@material-ui/core/Typography';
import Button from '@material-ui/core/Button';
import Paper from '@material-ui/core/Paper';
im... |
"use strict";!function(r,i){r(function(){r(".anonymize").each(function(t,n){var n=r(n),a=String(n.attr("data-anonymize")),e=0;n.empty().text(i(function(){var t=a.substr(4*e++,4);return parseInt(t,16)/65536}))})})}(jQuery,sillyName); |
const fs = require('fs');
const ChromeExtension = require('crx');
/* eslint import/no-unresolved: 0 */
const argv = require('minimist')(process.argv.slice(2));
const name = require('../src/manifest.json').name;
const keyPath = argv.key || 'key.pem';
const existsKey = fs.existsSync(keyPath);
const crx = new ChromeExte... |
var callbackArguments = [];
var argument1 = function callback(a,b,c,d) {
callbackArguments.push(JSON.stringify(arguments))
argument3[1] = [843,595,823,0,607,823]
base_0 = 82
argument3[0] = false
return a*b*c/d
};
var argument2 = function callback(a,b,c,d) {
callbackArguments.push(JSON.stringify(arguments))
argument4[... |
import React, {Component} from 'react';
import axios from 'axios';
import {Link} from 'react-router';
class EditItem extends Component {
constructor(props) {
super(props);
this.state = {name: '', price: ''};
// The .bind(this) is to indic that function is about this current component "EditI... |
import { useState, useEffect } from "react";
import "./styles.css";
//yarn add react-dock, react-dock é a bliblioteca do sidebar, com algumas funções pré defina
import Dock from "react-dock";
import Product from "../product/list";
const Sidebar = () => {
const [opened, setOpened] = useState(false);
//recebendo o ... |
"use strict";
if (!require("./is-implemented")()) {
Object.defineProperty(Number, "isNaN", {
value: require("./shim"),
configurable: true,
enumerable: false,
writable: true
});
} |
/*
Code modified from:
http://www.lostdecadegames.com/how-to-make-a-simple-html5-canvas-game/
using graphics purchased from vectorstock.com
*/
/* Initialization.
Here, we create and add our "canvas" to the page.
We also load all of our images.
*/
// let canvas;
// let ctx;
var image = new Image();
var imageOb... |
/*! jQuery UI - v1.12.1 - 2018-12-06
* http://jqueryui.com
* Includes: keycode.js, widgets/datepicker.js
* Copyright jQuery Foundation and other contributors; Licensed MIT */
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define([ "jquery" ], f... |
(function( $ ) {
var productTaggedAs = '.woocommerce-page.single-product div.product .product_meta>span.tagged_as';
// Method for Control's event handlers: sh_pp_sty_tag_typography.
wp.customize('mk_cz[sh_pp_sty_tag_typography]', function (value) {
$(productTaggedAs).css(
mkPreviewTypography(value(), true, ['... |
// Initialize Firebase
let config = {
apiKey: "AIzaSyBbGawQb-iggUU-OYQ-c0kXeHj9mXLfEgk",
authDomain: "quick-bytes-c7a3c.firebaseapp.com",
databaseURL: "https://quick-bytes-c7a3c.firebaseio.com",
projectId: "quick-bytes-c7a3c",
storageBucket: "quick-bytes-c7a3c.appspot.com",
messagingSenderId: "2... |
'use strict';
const BoxCommand = require('../../box-command');
const { flags } = require('@oclif/command');
class FilesMoveCommand extends BoxCommand {
async run() {
const { flags, args } = this.parse(FilesMoveCommand);
let updates = {
parent: {
id: args.parentID
}
};
if (flags.etag) {
updates.... |
const querystring = require('querystring')
const https = require('https')
const { debug } = require('../helpers/debug')
const { generateErrorResponse } = require('../helpers/generate-response')
function validateCaptcha(app, captchaResponse) {
const config = app.config
return new Promise((resolve, reject) => {
... |
import React from 'react';
import { mount } from 'enzyme';
import { spyElementPrototype } from 'rc-util/lib/test/domHook';
import Popconfirm from '..';
import mountTest from '../../../tests/shared/mountTest';
import { sleep } from '../../../tests/utils';
import rtlTest from '../../../tests/shared/rtlTest';
import Butto... |
// source ../src/head.js
(function (root, factory) {
'use strict';
var _global, _exports;
if (typeof exports !== 'undefined' && (root === exports || root == null)){
// raw nodejs module
_global = _exports = global;
}
if (_global == null) {
_global = typeof window === 'undefined' ? global : wind... |
"use strict";
const _Common = require("./rolelib.common");
const _Targeting = require("./rolelib.targeting");
const _Military = require("./rolelib.military");
const Logger_1 = require("./tools.Logger");
var State;
(function (State) {
State[State["Waiting"] = 1] = "Waiting";
State[State["MovingToPosition"] = 2] ... |
import '../styles/gameScreen.css';
import PropTypes from 'prop-types';
function playingTitle(player, gameState, allPicked, isCzar) {
return (
<div>
{isCzar(player) ? (
<div className="gameScreenTitle">
You are the Czar, judge the following card combos:
</div>
) : (
<... |
/**
* @license Angular v12.2.6
* (c) 2010-2021 Google LLC. https://angular.io/
* License: MIT
*/
import { ɵAnimationGroupPlayer, NoopAnimationPlayer, AUTO_STYLE, ɵPRE_STYLE, sequence, style } from '@angular/animations';
import { Injectable } from '@angular/core';
/**
* @license
* Copyright Google LLC All Rights... |
/* ------------------------------------------------------------------------- *
* Copyright 2002-2021, OpenNebula Project, OpenNebula Systems *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may *
* n... |
const React = require('react')
const ampHtmlValidator = require('amphtml-validator')
const Application = require('./Application')
const ampReactRenderer = require('../../../dist/AmpHtmlRenderer.js')
test('render a valid AMP page with amp-soundcloud component', async () => {
// arrangement
const AppComponent = <App... |
export default {
props: {
myClass: 'one two',
attributes: {
role: 'button'
}
},
html: '<div class="one two three" role="button"></div>',
test({ assert, component, target, window }) {
component.myClass = 'one';
component.attributes = {
'aria-label': 'Test'
};
assert.htmlEqual(target.innerHTML,... |
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var api_error_1 = require('./api_error');
var file_flag_1 = re... |
var group__Generic =
[
[ "acc_service_configuration_t", "group__Generic.html#ga3659144b760468217ed4cb1fc3447330", null ],
[ "acc_service_handle_t", "group__Generic.html#gac31f87097f46e587c8d54fb0406f62d4", null ],
[ "acc_service_status_t", "group__Generic.html#ga0fe34d6e342de54ae87279d7e10b5066", null ],
... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["js/admin/DepartmentEdit"],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/admin/pages/setting/department/Edit.vue?vue&type=script&lang=js&":
/*!*****************************************************... |
/**
* Seanica
*
* User: sean
* Date: 13/04/13
* Time: 10:57 PM
*
*/
define(['sf1','modules/post/post.models','modules/post/post.views','text!modules/post/post.templates.html','uirte'],
function(sf1, Model, View, template, RTE){
var anchorSelector = '#TemplateContainer';
_.templateSettings.va... |
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Serializer | stripe bank account token', function(hooks) {
setupTest(hooks);
// Replace this with your real tests.
test('it exists', function(assert) {
let store = this.owner.lookup('service:store');
let serial... |
import React from 'react';
import {
compose,
withStateHandlers,
withHandlers,
lifecycle,
} from 'recompose';
import { withRouter, Link } from 'react-router-dom';
import FlatButton from 'material-ui/FlatButton';
import RaisedButton from 'material-ui/RaisedButton';
import { MdArrowBack } from 'react-icons/lib/md'... |
var moment = require("../../index");
exports["America/La_Paz"] = {
"1931" : function (t) {
t.equal(moment("1931-10-15T04:32:35+00:00").tz("America/La_Paz").format("HH:mm:ss"), "23:59:59", "1931-10-15T04:32:35+00:00 should be 23:59:59 CMT");
t.equal(moment("1931-10-15T04:32:36+00:00").tz("America/La_Paz").format(... |
import {initComponent, destroy} from '../Utils'
import Header from '../../src/components/Header.vue'
//There are issues of importing vuetify components https://github.com/vuejs/vue-cli/issues/1584
import _ from 'lodash'
let wrapper
describe('Header.vue', () => {
afterEach(() => {
destroy(wrapper)
});... |
const jwt = require('jsonwebtoken');
const generateJWT = (username = '', id = 0) => {
if(id <= 0) {
return;
}
return new Promise ((resolve, reject) => {
const payload = { username, id };
jwt.sign( payload, process.env.SECRET_JWT_KEY, {
expiresIn: process.env.SECRET_J... |
const function720 = function (t, e, i) {
"use strict";
var n = this && this.__extends || function () {
var t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function (t, e) {
t.__proto__ = e
} || function (t, e) {
for (var i in e) e.hasOwnProperty(i) && (... |
import { FilledAddToHomeScreen as OutlineAddToHomeScreen } from './FilledAddToHomeScreen';
export { OutlineAddToHomeScreen }; |
var gulp = require('gulp')
var $ = require('gulp-load-plugins')()
function errHandler( e ) {
$.util.beep()
$.util.log($.util.colors.red('↓看这里看这里,报错了:'))
$.util.log(e)
return this
}
module.exports = errHandler |
module.exports = {
parser: '@typescript-eslint/parser', // Specifies the ESLint parser
extends: [
'plugin:react/recommended', // Uses the recommended rules from @eslint-plugin-react
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
... |
import React from 'react';
import ReactDOM from 'react-dom';
import reportWebVitals from './reportWebVitals';
import App from './App';
import 'bootstrap/dist/js/bootstrap.bundle.min';
import 'bootstrap/dist/css/bootstrap.min.css';
import './index.css'; // Main css for the project
import './custom.css'; // Custom Them... |
(function($){
var Slideshow = function (element, options) {
this.$element = $(element);
this.options = options;
this.paused = false;
this.activeIndex = 0;
this.init = function() {
this.$items = this.$element.find('.item');
}
this.attachEvents();
this.init();
}
Slidesho... |
export const Header = () => (
<div class="container col-md-12 mr-3">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Movies.com</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls... |
var util = require('util');
var Moniker = require('moniker');
var maxEmits=4; //Maximum number of flood emits allowed
var emitInterval=2; //emitCount will be increased if two messages arrive in X seconds.
var ipList = {};
var maxKicks=3; //user will be banned after kicked X times.
var banTime=1800; //Ban for X seconds
... |
// Dependencies
const Logger = require('../logger')
// Constants
const DEBUG = process.env.DEBUG
// Helpers
class FakeConsole {
constructor () {
this.printed = ''
}
log (x) {
this.printed = x
if (DEBUG) { console.log(x) }
}
}
// Tests
describe('logging', () => {
beforeAll(() => {
this.log ... |
import React from 'react';
import { expect } from 'chai';
import { mount, configure } from 'enzyme';
import {
Stage,
Layer,
Rect,
Group,
Image,
useStrictMode,
Text,
__matchRectVersion
} from '../src/ReactKonva';
import useImage from 'use-image';
import './mocking';
import Konva from 'konva';
import sino... |
import React from 'react';
import Profile_picture from '../profile_picture/Profile_picture';
import './profile_data.css';
function Profile_data({user}) {
return (
<div className = 'profile_data'>
{/* Datos : Foto Perfil + Nombre + Seguidores + Seguidos */}
{/* Imagen de perfil ... |
import Route from '@ember/routing/route';
import { get, set } from '@ember/object';
import { inject as service } from '@ember/service';
export default Route.extend({
intl: service(),
model() {
return this.modelFor('groups.group.group-page');
},
afterModel(model) {
const tags = this.setHeadTags(model)... |
/*global document, jQuery, window, sw, Offline */
(function ($) {
"use strict";
try {
var isUndefinedOrNull, declare_namespace;
isUndefinedOrNull = function (o) {
if (!(o === undefined || o === null)) {
return false;
}
return true;
};... |
/*+**********************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Deve... |
'use strict';
/**
* @ngdoc function
* @name chofraNetflixApp.controller:DisclaimerctrlCtrl
* @description
* # DisclaimerctrlCtrl
* Controller of the chofraNetflixApp
*/
angular.module('chofraNetflixApp')
.controller('DisclaimerCtrl', ['myModals', '$rootScope', '$scope', '$location', '$timeout', '$routeParams',... |
import React from "react";
import renderer from "react-test-renderer";
import ExtraLargeTitle from "../extra-large-title";
import LargeTitle from "../large-title";
import MediumTitle from "../MediumTitle";
describe("title", () => {
it("renders extra large title correctly", () => {
const tree = renderer
.cr... |
var class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_search_result_context_1_1_musicres092063fc46031c768065e3a0a4887fe5 =
[
[ "displayPriority", "d0/d41/class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_search_result_context_1_1_musicres092063fc46031c768065e3a0a4887fe5.html#a2c3d6218f8248d8... |
import React from 'react';
import PropTypes from 'prop-types';
import { styled } from '@storybook/theming';
import { Link, styles } from '@storybook/design-system';
import { rgba } from 'polished';
import GatsbyLink from './GatsbyLink';
const boxLinkStyles = `
&& {
display: block;
background: ${styles.color.... |
export default class Manager {
/**
* @param {Function} rollbackFn will execute when call undo or redo method. pass the stepDetail and isLastRollback for the function(require return a stepDetail to push on undo/redo stack)
* @param {Number} maxStep max stored undoList and redoList
*/
constructor(rollbackFn,... |
import * as core from '@pluralsight/ps-design-system-core'
import * as vars from '../vars/index.js'
export default {
'.psds-banner': {
display: 'flex',
alignItems: 'flex-start',
width: '100%',
overflow: 'hidden',
fontSize: core.type.fontSizeSmall,
lineHeight: core.type.lineHeightStandard,
... |
'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/schedule-tracing.profiling.min.js');
} else {
module.exports = require('./cjs/schedule-tracing.development.js');
} |
/* @flow */
/*eslint-disable no-undef, no-unused-vars, no-console*/
import _, {
compose,
pipe,
curry,
filter,
find,
reduce,
repeat,
subtract,
zipWith
} from "ramda";
const ns: Array<number> = [1, 2, 3, 4, 5];
const ss: Array<string> = ["one", "two", "three", "four"];
const obj: { [k: string]: number ... |
import './row.sass'
import React, { Component } from 'react';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import Checkbox from 'controls/checkbox/Checkbox';
import request from 'actions/request';
const columns = [
{ attribute: 'start', sty... |
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2Vla2RheS5pbnRlcmZhY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZy11aWtpdC1wcm8tc3RhbmRhcmQvIiwic291cmNlcyI6WyJsaWIvcHJvL2RhdGUtcGlja2VyL2ludGVyZmFjZXMvd2Vla2RheS5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydC... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-Order-Orderpages-PaySuccessful"],{"187c":function(n,a,t){"use strict";var r;t.r(a);var e,s=function(){var n=this,a=n.$createElement,r=n._self._c||a;return r("v-uni-view",{staticClass:"PaySunc"},[r("v-uni-view",{staticClass:"PaySunc_img"},[r("v-uni-image"... |
/*
jQWidgets v3.5.0 (2014-Sep-15)
Copyright (c) 2011-2014 jQWidgets.
License: http://jqwidgets.com/license/
*/
|
import React from 'react'
import './Spinner.css'
const Spinner = () => {
return <div className='lds-dual-ring'></div>
}
export default Spinner |
import React from 'react'
import Container from '../container'
import Prose from '../prose'
import ProductShowcase from './product-showcase'
import { uppercase, border } from '../typography.module.css'
import { cn } from '../../lib/helpers'
import Cart from '../snipcart/cart'
import styles from './product.module.css'
i... |
var mongoose = require('mongoose');
const movieSchema = mongoose.Schema({
name:{
type: String,
required: true,
},
indate:{
type: String,
required: true,
},
outdate:{
type: String,
required: true,
},
genre:{
type: String,
requir... |
const router = require('express').Router();
const UserService = require('../service/UserService');
const User = require('../model/User');
const SchemaValidation = require('../validation/SchemaValidation');
const GPError = require('../error/GPError');
const { isAdmin, isModerator } = require('../middleware/authorizati... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.