text
stringlengths
7
3.69M
/** * Created by a689638 on 6/13/2016. */ (function () { 'use strict'; angular.module('routerApp').directive('archetypeRowView', [function () { return { restrict:'A', scope:{ definitions:'=', data:'=', archetype:'=' }...
export const USER_LOGIN = 'USER_LOGIN'; export const USER_LOGIN_OUT = 'USER_LOGIN_OUT'; export const USER_REGISTER = 'USER_REGISTER'; export const USER_RESET_PASSWORD = 'USER_RESET_PASSWORD'; export const USER_INFO = 'USER_INFO'; export const DEPART = 'DEPART'; export const DOCTOR_LIST = 'DOCTOR_LIST';
(function ($) { $.fn.ee_calendar = function(opts) { var options = { onSelect: function (dateText, inst) {} }; $.extend(options, opts); var $el = this; var tzoffset = (new Date()).getTimezoneOffset() * 60000; var holidays = getHolidays(); var $datepicker = $el.find('.ee-cale...
const car = document.getElementById('car'); const topPosition = '200px'; const speed = 100; car.style.right = '1%'; car.style.top = topPosition; let firstTime = true; const startButton = document.getElementById('start-button'); startButton.addEventListener('click', () => { if(firstTime) { carObject.moveCar(); ...
function(task, responses){ try{ let ent = JSON.parse(responses[0]['response']); let interesting = ["com.apple.security.cs.allow-jit", "com.apple.security.cs.allow-unsigned-executable-memory", "com.apple.security.cs.allow-dyld-environment-variables", "com.apple.security.cs.disable-library-validation", "...
import React from "react"; import Header from "./components/Header"; import Home from "./pages/Home"; import Detail from "./pages/Detail"; import Search from "./pages/Search"; import { Route, Switch } from "react-router-dom"; import SignInAndSignUp from "./pages/SignInAndSignUp"; function App() { return ( <div ...
// gallery.js //var THREE = require("three"); //var $ = require("jquery"); //var zip = zip.js require("../polyfill.js"); var Map = require("../map"); var renderLoop = require("../model/renderloop"); require("../globals"); var warp = require("tpp-warp"); //On Ready $(function(){ MapManager.transitionTo("tGallery...
import mongoose from 'mongoose'; const Schema = mongoose.Schema; const historySchema = new Schema({ name: String, products: [{ _id: Schema.Types.ObjectId, }], customer:{ _id:Schema.Types.ObjectId, phone:String, }, service:String, website:String, status: String, comment:String, billing:...
//globals const contentArea = document.getElementById('content'); const btnHelp = document.getElementById('help_mode'); const btnViewMode = document.getElementById('view_mode'); const btnPinMode = document.getElementById('pin_mode'); const btnRouteMode = document.getElementById('route_mode'); const btnFormClose = docum...
/* * @Author: Dat Dev * @Date: 2016-04-24 09:13:20 * @Last Modified by: Stefan Wirth * @Last Modified time: 2016-04-24 09:50:06 */ 'use strict'; module.exports = function(websocketServer) { return function(bot, message, next) { if (message.bot_id !== 'B137AQPPY') { return next(); }...
(function(){ /** * Module * * Description */ var app = angular.module('app.config', []); app.factory('config', [function(){ return { baseUrl:'http://129.222.72.112:8080/Belbin/rest' //baseUrl:'http://localhost:8080/Belbin/rest' }; }]); })();
Vue.component('mytabbar', { props: ['active'], data: function () { return {} }, template: '<van-tabbar v-model="active">\n' + ' <van-tabbar-item url="index.html" icon="home-o">新闻</van-tabbar-item>\n' + ' <van-tabbar-item url="search.html" icon="search">搜索</van-tabba...
import { actions } from './actions'; export const getSetAvengers = (data) => { return { data, type: actions.SET_AVENGERS } } export const getSetAvengerToFavorite = (item) => { return { item, type: actions.SET_FAVORITES } }
import React from "react"; import propTypes from "prop-types"; import styles from "./index.css"; import { images } from "./images"; import HandleLines from "../SlotsLines/Lines"; import Coin from "../../assets/icons/SlotsIcons/coin2.svg"; import BlueCoin from "../../assets/icons/SlotsIcons/bluecoin2.svg"; import Club...
import React, { Component } from 'react'; import { StyleSheet, Text, View, Button } from 'react-native'; export default class App extends React.Component { constructor(props) { super(props); this.state = { count: 0 }; this.baseState = this.state; } // initialState() { // return { // ...
const Zone = require('../models/zone.model'); module.exports = { async create(req, res) { try { const { body } = req; const zone = await Zone.create(body); res.status(200).json({ message: 'Zone created successfully', zone }); } catch (error) { res.status(400).json({ message: 'Zone ...
/* eslint-disable no-unused-vars */ /** npm packages */ import React, { useEffect, useState } from 'react'; import { bool } from 'prop-types'; import { getFirebaseToken } from '../../helpers/firebase'; // import propTypes from 'prop-types'; /** components */ import HomePageContainerDesktop from './HomePageContainerDes...
$('input[name=radiogroup]:radio').click( function() { if ($(this).val() == 'admin') { $('html,body').animate({ scrollTop : $('body').offset().top }, 2000); $('#v-podaci').fadeOut(500); $('#vet-podaci').fadeOut(500); $("#save").fadeIn(400).fadeOut(400).fadeIn(400).fadeOut(400) .fadeIn...
function z(n){ function a(n){ return (n === 0) ? 1 : (4 * n - 2) * a(n - 1) / (n + 1); } return a(n)/2; } console.log(z(7));
const DB_URL = 'mongodb://localhost:27017/lazy'; export default DB_URL;
(function () { $('.tenant-change-component a') .click(function (e) { e.preventDefault(); abp.ajax({ url: abp.appPath + 'Account/TenantChangeModal', type: 'POST', dataType: 'html', success: function (content) { ...
import "../css/popup.css";
"use strict"; require([__dirname + "/../low.js", __dirname + "/document.js", __dirname + "/tools.js"], function (low, doc, tools) { /* Sets up a swipe-back touch gesture on the given page. * Invokes the given callback on swiping back. * Provide a null callback to disable swipe-back. */ function ...
import decode from './decode.js'; import encode from './encode.js'; export default /* glsl */` // This shader requires the following #DEFINEs: // // PROCESS_FUNC - must be one of reproject, prefilter // DECODE_FUNC - must be one of decodeRGBM, decodeRGBE, decodeGamma or decodeLinear // ENCODE_FUNC - must be one of enc...
//kediter配置 var editor; KindEditor.ready(function(K) { editor = K.create('textarea[name="content"]', { allowFileManager : true, newlineTag:"p" //,designMode:false }); }); function ClearLink(){ var bd=$(window.frames["tsloveme"].document).find("body"); var bdinner=bd.html(); bdinner=bdinner.replace(/(\<a[...
/* * discontinueParametersService * * Copyright (c) 2016 HEB * All rights reserved. * * This software is the confidential and proprietary information * of HEB. * */ 'use strict'; /** * Manages communication between SinglePluPanel, the PluDirective and the Maintenance UPC component * * @author s753601 * @since 2.1...
var Foo = (function () { function Foo(value) { this.prop = value; } return Foo; })(); exports.Foo = Foo;
test("regex.js -> validate_email", 3, function () { var input = '[email protected]'; var res = validate_email(input); equal(res.is_valid, true, "[email protected] Passed"); input = 'abc'; res = validate_email(input); equal(res.is_valid, false, "abc not Passed"); input = ''; res = validate_em...
// Strict Mode On (엄격모드) "use strict"; "use warning"; /** * @author Lazuli */ var HeroLevelUpPopup = new function() { var INSTANCE = this; var listener; var frameCnt = 0; var focus = 0; var state = 0; var levelupAtk = 0; var priceGold = 0; var priceGem = 0; var pri...
const express = require('express'); const path = require('path'); const eApp = express(); eApp.use(express.static(path.join(__dirname, 'public'))); eApp.get('/', (req,res)=>{ res.status(200).sendFile(path.join(__dirname, './views/home.html')); }) eApp.get('/users', (req,res)=>{ res.status(200).sendFile(path...
/* signals.js JavaScript API for Signals Requires: Modernizr-2.6.2, sjcl */ !(function (window, navigator, Modernizr, webrtc, jsbn) { // Test the browser first ... function log (line) { console.log(line); } if(!(Modernizr.localstorage && webrtc(window, navigator, log))) { return; // here redirect ... } ...
function enemyHit(enemy,bullet){ for(var i=0; i<explosionDensity; i++) { var p = createSprite(bullet.position.x, bullet.position.y,4,4); p.setSpeed(random(3,5), random(360)); p.friction = 0.95; p.life = 15; } var loudness = 1 enemyHitSound.amp(loudness); enemyHitSound.play(); enemy.remo...
var express = require('express'); var fs = require('fs'); var app = express(); // -req(request) es la peticion al servidor // -res(response) es la respuesta que entrega el servidor // -next le dice a node que cuando se ejecute siga ocn la siguiente instruccion // ====================================================...
(function (ko, $p, toastr) { ko.components.register('add-organiser', { viewModel: function (params) { var organiserService = new $p.OrganiserService(params.eventId); var me = this; me.email = ko.observable(); me.submit = function (model, event) { ...
import React, { PureComponent } from "react"; import Link from "gatsby-link"; import cx from "classnames"; import "../layouts/css/fcss.css"; import "../layouts/css/page.css"; import { connect } from "react-redux"; class FormInput extends PureComponent { constructor(props) { super(props); } render() { ...
import React, { Component } from 'react' import { connect } from 'react-redux' import { changeFilter } from '../actions/search' import { Modal, Header, Body, Footer } from 'bypass/ui/modal' import { ColumnLayout, Layout } from 'bypass/ui/layout' import { Button } from 'bypass/ui/button' import { DateInput } from 'bypas...
var randomHex = function (len) { var maxlen = 8, min = Math.pow(16, Math.min(len, maxlen) - 1), max = Math.pow(16, Math.min(len, maxlen)) - 1, n = Math.floor(Math.random() * (max-min+1)) + min, r = n.toString() while (r.length < len) { r = r + randomHex(len - maxlen) } r...
/** * Created by Administrator on 2016/12/28. */ /* 定义类 */ var TYPE_FIELD = 0; var TYPE_NUMBER = 1; var TYPE_LINE_DIVIDER = 2; var TYPE_CURLY_L = 3; var TYPE_CURLY_R = 4; var TYPE_BRACKET_L = 6; var TYPE_BRACKET_R = 7; var TYPE_OPERATOR = 8; var TYPE_SENTENCES = 11; var TYPE_SENTENCE = 12; var TYPE_EXPRESSION = 13;...
declare export default string
describe('E2E tests', () => { var fixtures; var fixture; var obj; var config; var editorName = 'panel-fixture'; beforeAll(() => { fixtures = $('<div id="#fixtures"></div>').appendTo('body'); }); beforeEach(() => { obj = grapesjs; config = { container: '#' + editorName, storageM...
'use strict'; const Module = require('../../utils/Module'); const DiscordRPC = require('discord-rpc'); class Discord extends Module { constructor(BetterTwitchApp) { super('discord'); this.BetterTwitchApp = BetterTwitchApp; this.RPC = new DiscordRPC.Client({ transport: 'ipc' }); this.__clientId = '483350908...
/** * Created by Administrator on 2016/12/28. */ var Component = require("../component"); var init= function(order_move) { order_move.on_start = function () { order_move.started = true; var mover = order_move.character.get_component(Component.MOVER); mover.moving_aim = order_move.primar...
export const ADD_ITEM = 'ADD_ITEM'; export const REMOVE_ITEM = 'REMOVE_ITEM'; export const GET_CART_LENGTH = 'GET_CART_LENGTH'; export const addItem = (id) => { return { type: ADD_ITEM, id } } export const removeItem = (obj) => { return { type: REMOVE_ITEM, obj } } exp...
import React from 'react'; class WelcomeMessage extends React.Component { constructor(props) { super(props); this.state = { name: "Nandha"}; this.refreshMessage(); } refreshMessage() { let date = new Date(); if (date.getHours() < 12){ this.setState({greeti...
import * as types from '../actions/actionTypes'; import initialState from './initialState'; export default function courseReducer(state = initialState.courses,action){ switch(action.type) { case types.LOAD_COURSES_SUCCESS: // state.push(action.course); // return state; ...
//SERVER ROUTES export const USER_SERVER = 'https://vast-cliffs-99081.herokuapp.com/api/users'; //export const USER_SERVER = 'http://localhost:5000/api/users'; export const INSURANCE_SERVER = 'https://stark-island-15004.herokuapp.com/api/insurance'; //export const INSURANCE_SERVER = 'http://localhost:5000/api/insurance...
// insertion sort function insertion_sort(lst){ l = lst.length; var temp,i,j; for(i=0;i<l-1;i++){ for(j=i+1;j>0;j--){ if (lst[j] >= lst[j-1]) break; else{ temp = lst[j-1]; lst[j-1] = lst[j]; lst[j] = temp; ...
import Immutable from "immutable"; import loadProductListInit from "./load-product-list-init"; let routing = {}; const productListInit = loadProductListInit(); export default Immutable.fromJS({ productListInit, routing });
// require dependencies var express = require('express'); var path = require('path'); var root = __dirname; var port = process.env.PORT || 8000; var app = express(); // get files from client, Skeleton-2.0.4, and bower_components app.use(express.static(path.join(root, './client'))); app.use(express.static(path.join(roo...
const express = require("express"); const authController = require("../controllers/authController"); const cartController = require("../controllers/cartController"); const router = express.Router(); router.get("/", authController.protect, cartController.getCart); router.route("/:id").delete(authController.protect, car...
import React from 'react'; import PropTypes from 'prop-types'; import { View, Text, Dimensions, TouchableOpacity, } from 'react-native'; import Ionicons from 'react-native-vector-icons/Ionicons'; import Month from '../constants/month'; import SubBlock from './SubBlock'; import WeatherInfo from './WeatherInfo'; import...
require('../styles/friendbot-widget.scss'); import {Inject} from "interstellar-core"; @Inject("$scope", "interstellar-core.Config", "interstellar-sessions.Sessions", "interstellar-network.Server") class FriendbotWidgetController { constructor($scope, Config, Sessions, Server) { if (!Sessions.hasDefault()) { ...
import React, { useEffect, useState } from 'react'; import { useParams } from 'react-router-dom'; import ReactStars from 'react-stars'; import { getByIdBook } from '../service/api'; import notFavoritedIcon from '../assets/icons/notFavoritedIcon.png'; import favoritedIcon from '../assets/icons/FavoritedIcon.png'; // imp...
define(['SocialNetView', 'text!templates/invitation/invitation.html' ,'views/menu/invitations'], function(SocialNetView, contactTemplate, InvitationsMenuView) { var contactView = SocialNetView.extend({ ok : false, total : 0, addbutton : false, removeButton: false, status:'', ...
var CookieManager = (function() { 'use strict'; function _setCookieValue(key) { $.cookie(key, $('#' + key).val()); } function _getCookieValue(key) { return $.cookie(key); } function _bindCookieValue(key) { $('#' + key).val($.cookie(key)); } return { S...
define(function(require){ 'use strict' /* ================================= Most of the code on this page is extracted from: img-touch-canvas - v0.1 http://github.com/rombdn/img-touch-canvas (c) 2013 Romain BEAUDON This code may be freely distributed under the MIT License =======...
import React from 'react'; import './Characters.css'; function Characters(props){ return( <div className="card"> <div className="content-container"> <div className="card-content"> <h2>{props.starchar.name}</h2> <h4>Gender: {props.starchar....
import React from 'react' import styles from './styles' import {getCaptionFromEdges} from './helpers' const Image = (props) => { const {data} = props return ( <img src={data.display_url} style={styles} alt={getCaptionFromEdges(data.edge_media_to_caption)} /> ) } export default Image
import React, { Component } from 'react'; import logo from './logo.svg'; import { Wrapper, Header, Logo, Title, Intro } from './component'; export default class App extends Component { render() { return ( <Wrapper> <Header> <Logo src={logo} alt={'logo'} /> <Title>Welcome to Reac...
import React from 'react'; import styled from 'styled-components'; const SubmitElm = styled.input` display: block; width: 10rem; margin: 0.5rem; padding: 0.5rem; /* border: none; */ `; const SubmitBtn = () => { return ( <SubmitElm type='submit' aria-label='submit form' /> ) }; exp...
import React, { useEffect } from "react"; import { useDispatch, useSelector } from "react-redux"; import { useHistory, useParams } from "react-router-dom"; // import action import { layDanhSachPhim } from "../../actions/movies"; import { layDanhSachPhimTheoTen } from "../../actions/moviesSearch"; import { pageTitleCha...
console.log("#S addCloth.js");
towers = [[3,2,1],[],[]]; function isValidMove(start,end){ if(towers[start].length === 0){ console.log('im at 1st block'); return false; }else if(towers[end].length === 0){ console.log('im at 2nd block'); return true; }else if(towers[end][towers[end].length-1] < towers[start][towers[start].length...
// For an introduction to the Page Control template, see the following documentation: // http://go.microsoft.com/fwlink/?LinkId=232511 (function () { "use strict"; var session = malfiGlobals.session[malfiGlobals.invokedDiv]; var resultArray = malfiGlobals.defaultViews[malfiGlobals.invokedDiv]; malfi...
/*------------------- a player entity -------------------------------- */ game.PlayerEntity = me.ObjectEntity.extend({ /* ----- constructor ------ */ init: function(x, y, settings) { // call the constructor this.parent(x, y, settings); // set the default horizontal & vertical sp...
const schoolScheduleUI = require('./SchoolScheduleUI') const facultyUI = require('./FacultyUI') const studentUI = require('./StudentUI') const enrollmentUI = require('./EnrollmentUI') const personUI = require('./PersonUI') const schoolUI = require('./SchoolUI') const enrollmentScheduleUI = require('./EnrollmentSchedule...
function setup() { createCanvas(600,600); noLoop(); angleMode(DEGREES); // Change the mode to DEGREES } // TODO weird edges can possibly be avoided if the entire pitch can be drawn rectangle by rectangle (instead entire 12 shapes) function pitchSegment(pitchVolsList, width, x, y, height) { // rectang...
'use strict'; var javascirpt = require("../javaScirpt.js"); var grunt = require('grunt'); var path = require('path'); var fs = require("fs"); var runTest = function(jsFile, test) { var content = fs.readFileSync("tests/" + jsFile); var jsonContent = JSON.parse(content); for(var i in jsonContent.tests) { var ...
import fetch from 'isomorphic-fetch'; import { API_PATH_PREFIX } from '../constants'; export const CHECKING_USERNAME_REMOTE = 'CHECKING_USERNAME_REMOTE'; export const VALIDATE_USERNAME = 'VALIDATE_USERNAME'; const BAD_USERNAME_MSG = 'Username must be between 4 and 15 chars, start with a letter and must consist of only...
var Device = require("./models/device"); var DeviceManager = function(server) { this.server = server; this.config = server.config; this.devices = {}; } module.exports = DeviceManager; DeviceManager.prototype.start = function(){ var self = this; this.server.subscribe("device.hereiam", function(msg, env){ ...
import React from "react" import { ButtonGroup } from "@material-ui/core" import { StyledButton, RoundedAppBar } from "./styled" import Calendar from "../assets/svgs/calendar.svg" const AppBar = ({ value, onChange }) => { return ( <RoundedAppBar position="relative" elevation={0}> <ButtonGroup disableElevat...
"use strict"; var LOADING = new (function() { var _isLoading = true; var _elem = null; this.isLoading = function () { return _isLoading; }; this.init = function () { _elem = document.getElementById("game-loading-overlay"); }; this.endLoading = function () { _isLoading = false; _elem.cl...
import CONSTANTS from '@/utils/interfaces/constants'; const REDUCER_KEY = 'MAMRelativeTest'; const API_PATH = 'mam'; const API_TYPE = 2; export const RESULT_KEY = { AP: 'ap', APR: 'apr', LOAD: 'load', PEAK_POWER: 'peakPwr', RELATIVE_POWER: 'relativePwr', RPM: 'rpm', TIME: 'time' }; export const LABELS ...
import React from 'react' import PropTypes from 'prop-types' import styles from './site-title.module.scss' function SiteTitle(props) { return ( <h1 className={styles.title}>{props.children}</h1> ) } SiteTitle.propTypes = { children: PropTypes.string.isRequired } SiteTitle.defaultProps = { children: 'Site...
const dropDownReducer = (state = 'Dominic', action) => { switch (action.type) { case 'DROP_DOWN': default: return state; } } export default dropDownReducer;
import React from 'react'; import { Row, Col,Card, Button, Icon, Divider, Message, Form, Select, Input, Table, DatePicker, Cascader} from 'antd'; import {fetch} from '../../api/tools' import {provinces, cities} from '../../constants/Area' const FormItem = Form.Item; const Option = Select.Option; const columns = [...
describe("Tabset", function() { var originalHtml = null; beforeEach(function() { originalHtml = $("#fixture4").html(); }); afterEach(function() { $("#fixture4").html(originalHtml); }); describe("Creating a new tabset", function() { it("Hides all tab panels except for the first", function() { var con...
var assert = require('assert'); var test = require('../../src/document_writer'); function run(i) { var DW = function() { test.DocumentWriter.apply(this, arguments); }; DW.prototype = Object.create(test.DocumentWriter.prototype); DW.prototype.constructor = DW; var dw = new DW(); var len...
var app = getApp(); Page({ data: { addIsShow:false }, onLoad: function (options) { }, onShow: function () { var that = this; // 获取项目、班组 app.wxRequest("gongguan/api/wechat/getEmergencyContacts", {}, "post", function (res) { console.log("联系人列表:", res.data.data) if (r...
import is from '../utils/is.js' import Node from './node.js' import Link from './link.js' class RhytonThree { constructor(cfg) { if (is.object(cfg)) { if (!cfg.el) { console.log('未设置画布容器'); return } this.el = cfg.el; if (is.obje...
'use strict'; (function (){ angular .module("BookApp") .controller("GenreController",GenreController); function GenreController($scope, $rootScope, BookService, $routeParams, GoogleBookService) { $scope.searchBook = searchBook; $scope.renderBooks = renderBooks; function...
import { Controller } from 'stimulus' export default class extends Controller { connect() { const attributeName = this.element.dataset.attribute const urlParts = document.location.pathname.split('/') const url = `/census/${urlParts[2]}/autocomplete?attribute=${attributeName}` $(this.element).autoComp...
import React from 'react'; import { Helmet } from "react-helmet"; import contentAbout from '../content/contentAbout'; import MainHeader from '../components/MainHeader'; import NavBar from '../components/NavBar'; import Footer from '../components/Footer'; import FirstSteps from '../components/FirstSteps'; import OurGoa...
const { Router } = require("express"); const { userController, transactionController, } = require("../controller/index"); const transactionModel = require("../models/transactionModel"); const transactionRouter = Router(); transactionRouter.get( "/listtransactions", userController.authorizeToken, userControl...
$(document).ready(() => { /** * PARALLAX */ let parallaxBox = $('body'); let parallaxIt = (e, target, movementX, movementY) => { let relX = e.pageX - parallaxBox.offset().left; let relY = e.pageY - parallaxBox.offset().top; gsap.to(target, 1, { x: (relX - para...
"use strict"; //Init global app let app = {}; //This is the app loader. It initiallizes all modules when the window onload event fires window.onload = function() { //Initialize the mouse so errors don't get thrown app.mouse = [0, 0]; //Initialize modules app.audio.init(); app.keys.init(); ap...
import React from "react"; import axios from 'axios'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import darkBaseTheme from 'material-ui/styles/baseThemes/customInventoryTheme'; import getMuiTheme from 'material-ui/styles/getMuiTheme'; import ProductList from '../components/ProductList'; import ...
import React,{useState,useEffect} from 'react' import './App.css'; import Header from './componets/Header'; import Users from './componets/Users'; function url(path){ return process.env.NODE_ENV === "development" ? `http://localhost:1422${path}` : path } function App() { const [data, setData] = useState([]) ...
const path = require('path'); const CopyWebpackPlugin = require('copy-webpack-plugin'); const CleanWebpackPlugin = require('clean-webpack-plugin').default; const { TsConfigPathsPlugin } = require('awesome-typescript-loader'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); module.exports = { entry: ...
import { Quat } from '../../../core/math/quat.js'; import { ANIM_LAYER_ADDITIVE, ANIM_LAYER_OVERWRITE } from '../controller/constants.js'; import { AnimBlend } from './anim-blend.js'; import { math } from '../../../core/math/math.js'; /** * Used to store and update the value of an animation target. This combines the ...
"use strict"; exports.AllDayPanelTitle = exports.AllDayPanelTitleProps = exports.viewFunction = void 0; var _inferno = require("inferno"); var _vdom = require("@devextreme/vdom"); var _message = _interopRequireDefault(require("../../../../../../../localization/message")); var _combine_classes = require("../../../....
$(document).ready(function () { function openDialog() { $('.modal').modal('show'); } $(document).on('click', '.editLinkForComment', function (event) { openDialog(); $.get(this.href, function (data) { $('#commentEdit').html(data); }); event.preventDefault(...
/* * --------------------------------------- * --------- CREATED BY CREATOR ---------- * fecha: 21-03-2016 17:03:55 * Descripcion : cslSuscripto.js * --------------------------------------- */ var cslSuscripto_ = function(){ /*metodos privados*/ var _private = {}; _private.idSuscripto...
/***************************************************** IMAGE ANIMATION **********************/ document.getElementById('right').addEventListener('mouseover', function () { document.getElementById("pupil-left").className = 'pupil pupil-toright'; document.getElementById("pupil-right").className = 'pupil pupil-torigh...
const { client } = require('../../config/db'); getTrainingCommittee = (id,callback)=>{ client.query('SELECT * FROM training_committee WHERE training_committee.id=($1)',[id],function (err, result) { console.log('orgs') if (err) { console.log(err); callback(err); ...
/** * Created by Tomasz Jodko on 2016-06-05. */ app.factory('projectFactory', ['$http', function ($http) { var urlBase = '/projektzespolowy/projekty'; var projectFactory = {}; projectFactory.getProjects = function (callback) { return $http.get(urlBase + '/getAll').then(function (response) { ...
'use strict'; var express = require('express'); var routes = require('./app/routes/index.js'); var mongoose = require('mongoose'); var passport = require('passport'); var session = require('express-session'); var fs=require('fs'); var app = express(); app.get('/api/whoami',function(req,res){ fs.writeFile('log.txt',r...
import { extractTokens } from './extractTokens' import { normalizeTokens } from './normalizeTokens' // Transform emoji data for storage in IDB export function transformEmojiData (emojiData) { performance.mark('transformEmojiData') const res = emojiData.map(({ annotation, emoticon, group, order, shortcodes, skins, ...
import React,{Component, component} from 'react'; class Footer extends Component{ state={ users:[] } render(){ // const users=this.state.users return( <div> <div className="bottom" id="dowbottomn"> <div className="container"> <div class...
import React from 'react' import PropTypes from 'prop-types' import { responsive } from '../../../traits' import { table } from '../../../macros' import { useID, useRowIDs } from '../../../hooks' import Overflow from '../overflow' import * as Styled from './styles' const TableResponsive = ({ height, minWidth, rowDat...