code stringlengths 2 1.05M |
|---|
(function () {
/* globals define, dc */
define('dc', [], function () {
'use strict';
return { 'default': dc };
});
})(); |
export const CHANGE_LOADING = "CHANGE_LOADING";
export const CHANGE_DEGREE = "CHANGE_DEGREE";
export const CHANGE_WEATHER = "CHANGE_WEATHER";
export const CHANGE_MEASUREMENT = "CHANGE_MEASUREMENT";
export const CHANGE_ICON = "CHANGE_ICON";
export const CHANGE_WEATHER_DATA = "CHANGE_WEATHER_DATA";
export const CHANGE_LO... |
import Ember from 'ember';
import SaveModelMixin from '../../../mixins/roles/save-model-mixin';
import AuthenticatedRouteMixin from 'simple-auth/mixins/authenticated-route-mixin';
export default Ember.Route.extend(AuthenticatedRouteMixin, SaveModelMixin, {
model: function() {
return this.store.createRecord('inst... |
'use strict'
module.exports = unpackPNG
var ndarray = require('ndarray')
var parse = require('pngparse-sync')
function decodeB64(str) {
return new Buffer(str, 'base64')
}
function unpackPNG(w, h, c, str) {
var pixels = parse(decodeB64(str))
return ndarray(pixels.data, [w, h, pixels.channels], [pixels.channels... |
'use strict';
const setup = require('./include/setup');
const sinon = require('sinon');
const BranchSummary = require('../../src/responses/BranchSummary');
var git, sandbox;
exports.setUp = function (done) {
setup.restore();
sandbox = sinon.sandbox.create();
done();
};
exports.tearDown = function (done) {
... |
//This chunk thanks to http://paulirish.com/2011/requestanimationframe-for-smart-animating/
window.requestAnimFrame = (function(){
return window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oReq... |
var fbRef = new Firebase('https://trainingdiary.firebaseio.com');
var data = '';
var authD = null;
fbRef.child("exercises").on("child_added", function(snapshot){
console.log("Firebase data entry Id: ", snapshot.key());
data += JSON.stringify(snapshot.val()) +'\n\n';
var title = document.createE... |
/* /routes/projects/create.js */
var ProjectsCreateRoute = Ember.Route.extend({
model: function(){
// the model for this route is a new empty Ember.Object
return this.store.createRecord('project');
},
// in this case (the create route), we can reuse the projects/edit template
// associated with the projectsCr... |
/* commonjs package manager support (eg. componentjs) */
if (typeof module !== "undefined" && typeof exports !== "undefined" && module.exports === exports){
module.exports = 'color.selectbox';
}
(function() {
'use strict';
angular.module('color.selectbox', []);
})();
|
import FoldersListController from './folders.list.controller';
import foldersListTemplate from './views/folders-list.html';
export default class FoldersListDirective {
constructor() {
this.restrict = 'E';
this.replace = true;
this.scope = {};
this.controller = FoldersListController... |
'use strict';
var fleet = require('./../../fleet.module');
var fleetLocationViewStrategy = function fleetLocationViewStrategy(fleetLocationInitializationFactory) {
var getInitializationData = function getInitializationData(locationId) {
return fleetLocationInitializationFactory.getInitializationData(locationId)... |
const VueRouter = require('vue-router');
const Vue = require('vue');
Vue.use(VueRouter);
module.exports = () => {
return new VueRouter({
mode: 'history',
routes: [
{
path: '/',
name: 'home',
component: {
template: `<di... |
'use strict';
'format es6';
import './dependencies';
import './ng-module';
import './ng-config';
import './ng-routes';
import './ng-run';
|
/**
* @file
* Allow CasperJS tests to interact with local Drush installation.
*/
/**
* Check if given object is an array.
* @returns {boolean} If true, object is an array.
*/
var isArray = function(obj) {
return Object.prototype.toString.call(obj) === '[object Array]';
}
/**
* Execute a Drush command.
* Ada... |
/*
* Aloha Image Plugin - Allow image manipulation in Aloha Editor
*
* Author & Copyright (c) 2011 Gentics Software GmbH
* aloha-sales@gentics.com
* Contributors
* Johannes Schüth - http://jotschi.de
* Nicolas karageuzian - http://nka.me/
* Benjamin Athur Lupton - http://www.balupton.com/
* Thomas Lete
* ... |
/*
* Javascripts
* ========================================================================== */
import angular from 'angular';
import Layout from './Index';
import Home from '../Home/Index';
/**
* Define app module.
* @param {String} moduleName.
* @param {Array} dependencies.
* @export Controllers module
... |
search_result['1452']=["topic_0000000000000370.html","tlece_CompositionVideo.ApplyPostVacancyInterviewVideoId Property",""]; |
(function () {
'use strict';
describe('Robots Controller Tests', function () {
// Initialize global variables
var RobotsController,
$scope,
$httpBackend,
$state,
Authentication,
RobotsService,
mockRobot;
// The $resource service augments the response object with met... |
//= require 'shCore'
//= require 'shBrushJScript'
//= require 'jquery.scrollto.js'
//= require 'modernizr'
(function($) {
$(function(){
// navigation
var
isClass = !!$('#Content header.class').length,
isFile = !!$('#Content header.file').length,
location = window.location.pathname
;
if (isFile) ... |
var util = require('util');
var EventEmitter = require('events').EventEmitter;
var request = require('request');
var vow = require('vow');
var ws = require('ws');
var querystring = require('querystring');
function SlackBot(token) {
this.token = token;
}
util.inherits(SlackBot, EventEmitter);
Slack... |
import React from 'react';
import ReactDom from 'react-dom';
import TestUtils from 'react-addons-test-utils'
import { fromJS } from 'immutable'
import ProcessingListItem from '../../../app/components/upload/ProcessingListItem'
describe('ProcessingListItem component', function () {
let component;
let rootElement;
... |
cordova.define('cordova/plugin_list', function(require, exports, module) {
module.exports = [];
module.exports.metadata =
// TOP OF METADATA
{
"com.ludei.webview.plus": "2.3.0"
}
// BOTTOM OF METADATA
}); |
(function(window) {
var Angle = window.Angle = {},
units = ['Deg', 'Rad', 'Grad', 'Turn'],
unitValue = [180, Math.PI, 2, 0.5],
conversions = {},
runits = /^([\+\-]=)?(-?[\d+.\-]+)([a-z]+|%)(.*?)$/i,
parseValue,
i = 4,
j,
unit;
parseValue = Angle.parseValue = function (string) {
var matches = string... |
const IconBtn = require("../../src/buttons/icon_btn");
const React = require("react/addons");
// const Immutable = require('immutable');
const _ = require('lodash');
// Test Helpers
const TestUtils = React.addons.TestUtils;
// Morse helpers
const jasmineReactHelpers = require("react-jasmine");
const comp... |
// Converts angles (in degrees) from -180 to 0 to positive values from 180 to 360.
export default function angleTo360 (angle) {
if (angle < 0) angle += 360
return angle
}
|
/*"use strict";
* ooiui/static/js/views/common/TroubleTicketView.js
*
* Dependencies
* Partials
* - ooiui/static/js/partials/TroubleTicket.html
*/
var TroubleTicketView = Backbone.View.extend({
events: {
'click .btn-custom-submit' : function(e) {
//this.render(e);
this.submit(e);
},
'clic... |
/**
* @param {number[]} candidates
* @param {number} target
* @return {number[][]}
*/
const combinationSum2 = function (candidates, target) {
let map = new Map();
for (let c of candidates) {
let count = map.get(c);
map.set(c, count ? count + 1 : 1);
}
let distinctNums = Array.from(ma... |
module.exports = [
{
"model": "User",
"data": {
"id": 2,
"first_name": "first_name",
"last_name": "last_name",
"passwordhash": "paswordhash",
"passwordsalt": "passwordsalt",
"avatar": "path",
"email": "email@server.c... |
exports.bodyParser = {
formLimit: '100kb',
jsonLimit: '100kb',
textLimit: '100kb',
queryString: {
arrayLimit: 5
}
};
exports.keys = 'foo';
|
import React from "react"
const InstrumentPage = Page =>
class extends React.Component {
addLogEntry(action) {
if (typeof window !== `undefined`) {
window.___PageComponentLifecycleCallsLog.push({
action,
pageComponent: this.props.pageResources.page.componentChunkName,
... |
import raf from "./tempPolyfills";
import Enzyme, { shallow, render, mount } from "enzyme";
import Adapter from "enzyme-adapter-react-16";
import toJson from "enzyme-to-json";
// React 16 Enzyme adapter
Enzyme.configure({ adapter: new Adapter() });
// Make Enzyme functions available in all test files without importin... |
import React from 'react';
export const ic_business = <path d="M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z" />;
export const ic_call = <path d="M6.62 10.79a15.15... |
/*
* MotionPlot
*
* A motion chart deals with data in several ways:
* - Size of point
* - Colour of point
* - z axis (motion-controller)
* - x axis
* - y axis
*
* For now, all data but that associated with colour must be numbers
*
* We need to organize data first into separate items (for multiple cir... |
/*
* TreatJS: Sandbox
* http://proglang.informatik.uni-freiburg.de/treatjs/
*
* Copyright (c) 2014, Proglang, University of Freiburg.
* http://proglang.informatik.uni-freiburg.de/treatjs/
* All rights reserved.
*
* Released under the MIT license
* http://proglang.informatik.uni-freiburg.de/treatjs/license
*
... |
// flow-typed signature: 01fda879ed58d6a96c33ef8b70f571e4
// flow-typed version: <<STUB>>/@sentry/react-native_v1.3.2/flow_v0.105.2
/**
* This is an autogenerated libdef stub for:
*
* '@sentry/react-native'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share... |
// ==UserScript==
// @name Postform before LTL
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://friends.nico/web/timelines/public/local
// @grant none
// ==/UserScript==
(function() {
'use strict... |
const path = require('path');
import {strictEqual as equal} from 'assert';
import {QuoteDesc} from '../models';
function isDefAndNotNull(val) {
return val != null;
}
suite('Quoter', () => {
let quotes;
beforeEach(function(done) {
let filePath = path.join(__dirname, '../data', 'quotes.json');
quotes = new Quote... |
'use strict';
module.exports = require('./lib/errMap');
|
const Rule = require('./Rule');
module.exports = class MinWords extends Rule {
defaultMessage = '{{field}} must have at least {{- settings.length}} words.';
check(value) {
const minWords = parseInt(this.settings.length, 10);
if (!minWords || !value || (typeof value !== 'string')) {
return true;
... |
/* jshint node: true */
// var RSVP = require('rsvp');
var path = require('path');
var fs = require('fs');
// For details on each option run `ember help release`
module.exports = {
// local: true,
// remote: 'some_remote',
// annotation: "Release %@",
// message: "Bumped version to %@",
// manifest: [ 'pack... |
module("ViewModel");
test("initialize: A ViewModel can be created with no arguments", function(){
var ViewModel = Backbone.ViewModel.extend({});
var viewModel = new ViewModel();
ok(viewModel, "ViewModel instance created");
});
test("initialize: A ViewModel can be created with properties", function(){
var Vie... |
'use strict';
var Image = require('Image');
var NativeMethodsMixin = require('NativeMethodsMixin');
var React = require('React');
var ReactNativeViewAttributes = require('ReactNativeViewAttributes');
var UIManager = require('UIManager');
var View = require('View');
var ColorPropType = require('ColorPropType');
var ... |
'use strict';
var _ = require('lodash'),
yeoman = require('yeoman-generator'),
chalk = require('chalk'),
yosay = require('yosay'),
parseAuthor = require('parse-author'),
githubUsername = require('github-username'),
extend = require('deep-extend')... |
module.exports = {
src: {
src: [
'<%= build.src %>/**/*.js',
'specs/**/*Spec.js'
],
options: {
jshintrc: 'grunt/.jshintrc.json'
}
},
tasks: {
src: [
'Gruntfile.js',
'grunt/**/*.js'
... |
Watchtower.AppsSearchController = Em.ArrayController.extend({
term: null,
selectedApps: function() {
return this.get('content').filterBy('isSelected', true);
}.property('content.@each.isSelected')
});
|
'use strict';
angular.module('AuthenticationService', []).factory('Authentication', function($rootScope, $window) {
return {
isLogged: false,
isExpired: false,
check: function() {
if ($window.localStorage.token) { // if we have a token a user is logged
if (!this.checkExpired()) {
... |
'use strict'
module.exports = require('../../assets/templates')
|
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('inferno'), require('inferno-clone-vnode'), require('inferno-create-class'), require('inferno-create-element'), require('inferno-extras')) :
typeof define === 'function' && define.amd ? define([... |
import mongoose from 'mongoose';
import co from 'co';
const tuitSchema = mongoose.Schema({
user: String,
body: String
});
var Tuit = mongoose.model('Tuit', tuitSchema);
export const getAll = Tuit.find().sort({_id: -1});
export function create({user, body}) {
return co(function* (){
try {
const tui... |
async function f() {
await (() => 1);
}
|
/**
* Created by liulin on 2017/3/22.
*/
ES.CloudMap.PostLineCalTool = ES.CloudMap.BaseTool.extend({
cHtml: '<li><button class="ec-btn ec-btn-secondary ec-radius" ><i class="ec-icon-dot-circle-o"></i></button><p>取消</p></li>',
// 构造函数
initialize: function (oParent, options) {
ES.CloudMap.Base... |
/**
* 权限
* @author Philip
*/
const Controller = require("./Controller")
const permissionDto = require('../dtos/Permission')
class PermissionController extends Controller {}
module.exports = new PermissionController(permissionDto)
|
module.exports = function (grunt) {
// Load npm plugins to provide necessary tasks.
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.initConfig({
uglify: {
main: {
files: {'geocoder-service.min.js': 'geocoder-service.js'}
}
}
});
grunt.registerTask('build', [
'uglify'
]);
}; |
import React from 'react';
import PropTypes from 'prop-types';
import FontIcon from '../../FontIcon';
import ThemeService from '../../styles/ChamelThemeService';
/**
* Title Icon button
*
* @param props
* @param context
* @returns {ReactDOM}
* @constructor
*/
const TitleIcon = (props, context) => {
let theme ... |
/*
Copyright (c) 2019 Daybrush
name: moveable
license: MIT
author: Daybrush
repository: git+https://github.com/daybrush/moveable.git
version: 0.22.2
*/
'use strict';
var frameworkUtils = require('framework-utils');
var React = require('react-simple-compat');
var Moveable$1 = require('react-compat-moveable');
var utils... |
/*!
* DevExtreme-Quill Editor v.1.4.4
* https://js.devexpress.com/
* Copyright (c) 2020, Developer Express Inc.
* Copyright (c) 2017, Slab
* Copyright (c) 2014, Jason Chen
* Copyright (c) 2013, salesforce.com
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof... |
"use strict";
var Point = require("./point.js");
var BlockCell = function BlockCell(point) {
this.location = point;
this.clear = false;
};
BlockCell.prototype.toString = function() {
return this.location + ' [' + (this.clear ? 'clear' : 'full') + ']';
};
var BlockGrid = function BlockGrid(width, height) ... |
/*
* This is a file mocker.
* It allows Jest to gracefully handle static asset files.
* Such files are not particularly useful in tests, so they can be safely
* mocked out.
*/
module.exports = 'test-file-stub';
|
function hasClass(element, cls) {
return (' ' + element.className + ' ').indexOf(' ' + cls + ' ') > -1;
} |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
Ext.define('sisprod.view.SubstandardConditionAction.ListSubstandardConditionAction', {
extend: 'sisprod.view.base.TabPanelGridItem',
alias: 'widget.listSubstandardConditionAction',
require: [
'... |
/**
* @return {void} description
*/
var Dom = {
parse: parse
}
/**
* @param {String} html Description
* @param {Element} context Description
* @return {Element} description
*/
function parse(html, context) {
if (typeof html !== 'string') return;
context = context || document;
var m = /<([\w:]+)... |
"use strict";
const paintvec_1 = require("paintvec");
function glUsage(gl, usage) {
switch (usage) {
case "static":
return gl.STATIC_DRAW;
case "stream":
return gl.STREAM_DRAW;
case "dynamic":
default:
return gl.DYNAMIC_DRAW;
}
}
/**
The base... |
/*!
* jQuery JavaScript Library v1.11.1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-05-01T17:42Z
*/
(function( global, factory ) {
if... |
/*!
* angular-translate - v2.7.2 - 2015-09-08
* http://github.com/angular-translate/angular-translate
* Copyright (c) 2015 ; Licensed MIT
*/
!function(a,b){"function"==typeof define&&define.amd?define([],function(){return b()}):"object"==typeof exports?module.exports=b():b()}(this,function(){function a(a){"use stri... |
var searchData=
[
['l',['L',['../classsymildl_1_1solver.html#ab32994407d26e29c46f6c04f757523c2',1,'symildl::solver']]],
['lil_5fsparse_5fmatrix',['lil_sparse_matrix',['../classlil__sparse__matrix.html',1,'lil_sparse_matrix< el_type >'],['../classlil__sparse__matrix.html#a74dff1c9df79556341d714d4530ffe38',1,'l... |
import { success } from '../redux/notifications';
import { CALL_API } from '../middleware/api';
import * as TYPES from '../constants/actionTypes';
import { HTTP_METHODS } from '../constants/api';
import { emptyBasket } from '../redux/basket';
export function loadGiftSets() {
return {
[CALL_API]: {
endpoint... |
RedisSentinelClient=require("./redis-sentinel-client");
module.exports=RedisSentinelClient
|
import React, { Component, createRef } from 'react';
import { classNames, ObjectUtils, DomHandler, ZIndexUtils, ConnectedOverlayScrollHandler } from 'primereact/utils';
import { Ripple } from 'primereact/ripple';
import { CSSTransition } from 'primereact/csstransition';
import { Portal } from 'primereact/portal';
impor... |
/*
Highcharts JS v9.1.0 (2021-05-03)
Highcharts cylinder module
(c) 2010-2021 Kacper Madej
License: www.highcharts.com/license
*/
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/cylinder",["highcharts","high... |
// HumanizeDuration.js - https://git.io/j0HgmQ
/* global define, module */
(function () {
// This has to be defined separately because of a bug: we want to alias
// `gr` and `el` for backwards-compatiblity. In a breaking change, we can
// remove `gr` entirely.
// See https://github.com/EvanHahn/HumanizeDurati... |
/*!
* wavesurfer.js spectrogram plugin 6.0.1 (2022-02-14)
* https://wavesurfer-js.org
* @license BSD-3-Clause
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.am... |
/**! Qoopido.nucleus 3.2.11 | http://nucleus.qoopido.com | (c) 2020 Dirk Lueth */
!function(e){"use strict";provide(["/demand/pledge"],(function(A){var t=A.defer(),d=e.createElement("img");return d.onload=function(){1===d.width&&1===d.height?t.resolve():t.reject(),delete d.onload},d.src="data:image/gif;base64,R0lGODlhA... |
/**
* @license Highcharts JS v9.0.0 (2021-02-02)
*
* Client side exporting module
*
* (c) 2015-2019 Torstein Honsi / Oystein Moseng
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
... |
/*!!
* @atlassian/aui - Atlassian User Interface Framework
* @version v7.9.5
* @link https://docs.atlassian.com/aui/latest/
* @license SEE LICENSE IN LICENSE.md
* @author Atlassian Pty Ltd.
*/
// src/js/aui/jquery.js
(typeof window === 'undefined' ? global : window).__700a145ba3db9966cc95664c892049f8 = (function ... |
import _ from 'lodash';
import { geoAngle } from '../geo/index';
import { osmWay } from './way';
export function osmTurn(turn) {
if (!(this instanceof osmTurn))
return new osmTurn(turn);
_.extend(this, turn);
}
export function osmIntersection(graph, vertexId) {
var vertex = graph.entity(vertexId... |
/**
* @author Adam Jaso <ajaso@pocketly.com>
* @copyright 2015 Pocketly
*/
module.exports = require('../../..').Controller.extend({
'/': function(req, res) {
console.log('isSpdy', res.isSpdy);
res.status(200).send(':)');
}
}); |
spendb.directive('pageBody', ['$http', '$location',
function ($http, $location) {
return {
restrict: 'E',
transclude: true,
templateUrl: 'directives/page_body.html',
link: function (scope, element, attrs, model) {
}
};
}]);
|
export * from './controllers';
export * from './core';
export * from './elements';
export * from './platform';
export * from './plugins';
export * from './scales';
import * as controllers from './controllers';
import * as elements from './elements';
import * as plugins from './plugins';
import * as scales from './scal... |
import notify from 'osg/notify';
import Timer from 'osg/Timer';
var TextureProfile = function(target, internalFormat, width, height) {
this._target = target;
this._internalFormat = internalFormat;
this._width = width;
this._height = height;
this._size = 0;
this.computeSize();
};
TextureProfile... |
//# sourceMappingURL=IRoleService.js.map |
import * as types from './constants';
export const initialState = {
// Initial State goes here!
};
const meetupsReducer =
(state = initialState, action) => {
switch (action.type) {
case types.DEFAULT_ACTION:
return state;
default:
return state;
}
};
export default meetupsRed... |
/*global define*/
define(['jquery', 'oroui/js/mediator', 'routing', 'oro/buttons-widget'
], function ($, mediator, routing, ButtonsWidget) {
'use strict';
/**
* Save and transit button click handler
*
* @export oroworkflow/js/save-and-transit-handler
* @class oroworkflow.WorkflowSave... |
// jQuery Plugin Boilerplate
// A boilerplate for jumpstarting jQuery plugins development
// version 1.1, May 14th, 2011
// by Stefan Gabos
(function($) {
$.timer = function(element, options) {
var defaults = {
foo: 'bar',
onStart: function() {},
onZero: function () {}... |
import AreaResponsiveContainer from './AreaResponsiveContainer';
import ComposedResponsiveContainer from './ComposedResponsiveContainer';
import PieResponsiveContainer from './PieResponsiveContainer';
export default {
AreaResponsiveContainer,
ComposedResponsiveContainer,
PieResponsiveContainer,
};
|
UI.once('init', function(){
// This is a socket.io namespace
var namespace = IO.socket,
// This is the socket.io Socket class behind the namespace
socket = namespace.socket,
authenticating = false,
try_now_link = $('.try_now');
connectionStatus('Connecting', true);
try_now_link.click(fun... |
/**
* @fileOverview reading_process.js manages the process of reading content
* injected into host pages. The process is as follows:
*
* 1. The manifest.json file injects a content script, privly.js, into every
* websites the user visits, including iframes.
* 2. This background script messages the privly.js co... |
/**
* Copyright 2015 Telerik AD
*
* 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 ... |
function is_int (mixed_var) {
// http://kevin.vanzonneveld.net
// + original by: Alex
// + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
// + revised by: Matt Bradley
// + bugfixed by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
// + improved by: WebDevHobo (http://webd... |
import React from 'react'
import propTypes from 'prop-types'
const styles = {
wrapper: {
position: 'absolute',
width: '100%',
zIndex: '100',
bottom: '0',
textAlign: 'center'
},
btn: {
width: '30px',
height: '30px',
cursor: 'pointer',
userSelect: 'none',
position: 'absolute... |
var express = require('express');
var router = express.Router();
var MongoClient = require('mongodb').MongoClient;
//todo 整合常量
var url = 'mongodb://localhost:29017/carDB';
/* GET users listing. */
router.get('/getCarImages', function(req, res, next) {
if (!req.query || !req.query.id){
res.send({code:'nok'});
... |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M15.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM5 12c-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5zm0 8.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 ... |
var searchData=
[
['ambient_2eh',['Ambient.h',['../_ambient_8h.html',1,'']]]
];
|
import styles from './navbar_link_edit_build.mss';
/*****************************************************************************/
/* NavbarLinkEditBuild: Event Handlers */
/*****************************************************************************/
Template.NavbarLinkEditBuild.events({
'click #button-edit-button... |
/*global angular */
/**
* The main TodoMVC app module
*
* @type {angular.Module}
*/
angular.module('todomvc', ['ngRoute', 'ngResource', 'ngOpbeat'])
.config(function ($routeProvider) {
'use strict'
var routeConfig = {
controller: 'TodoCtrl',
templateUrl: 'todomvc-index.html',
resolve: {... |
/**
* Created by cr on 28/11/14.
*/
'use strict';
var htmlparser = require("htmlparser2");
var superagent = require('superagent');
var agent = superagent.agent();
var theAccount = {
"j_username": "nacho",
"j_password": "iamtheluchadore",
"persistentLogin": "true"
};
var PARTNER_PROVIDER_DOMAIN = null;
... |
tests(
L,
{
name: 'duh (1/3)',
code: 'p.\n' +
'p?',
expected: makeIterator({})
},
{
name: 'duh (2/3)',
code: 'p.\n' +
'q?',
expected: makeIterator()
},
{
name: 'duh (3/3)',
code: 'p.\n' +
'q.\n' +
'p, q?',
expected: makeIterator({})... |
(function() {
var WHITE_SPACE_START = /^\s+/,
WHITE_SPACE_END = /\s+$/,
ENTITY_REG_EXP = /[&<>\t"]/g,
ENTITY_MAP = {
'&': '&',
'<': '<',
'>': '>',
'"': """,
'\t':" "
};
wysihtml.lang.string = function(str) {
str = String(s... |
var async = require('async');
var request = require('request');
var pool =require('../lib/db.js');
module.exports = function(app, config) {
var siteInfo = config.siteInfo;
var clientApiKey = siteInfo.clientApiKey || '';
var arrServerList = config.arrServerList;
app.get('/syncAllRemoteUsers', fu... |
import Component from '../../client/components/component.react';
import React from 'react';
export default class Html extends Component {
static propTypes = {
bodyHtml: React.PropTypes.string.isRequired,
isProduction: React.PropTypes.bool.isRequired,
title: React.PropTypes.string.isRequired,
version... |
var searchData=
[
['y',['y',['../struct_ising___o_p_v_1_1_coords.html#ab3ee74acd4324b8afd51d9837e55feb2',1,'Ising_OPV::Coords']]]
];
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.