code
stringlengths
2
1.05M
angular.module('app') .filter('date', function(){ 'use strict'; return function(timestamp, format){ return timestamp ? moment(timestamp).format(format ? format : 'll') : '<date>'; }; }) .filter('datetime', function(){ 'use strict'; return function(timestamp, format){ return timestamp ? moment(timest...
import MPopper from '../m-popper.vue'; import pick from 'lodash/pick'; /** * 默认显示一个按钮,hover 上去有提示 */ export const UIconTooltip = { name: 'u-icon-tooltip', props: { type: { type: String, default: 'info' }, // 按钮名称 size: { type: String, default: 'normal' }, // 提示大小 content: String, ...
'use strict'; var path = require('path'), express = require('express'), errors = require('./errors'), debug = require('debug')('express-toybox:logger'), DEBUG = debug.enabled; /** * logger middleware using "morgan" or "debug". * * @param {*|String} options or log format. * @param {Number|Boole...
/* eslint-disable new-cap */ /* eslint-disable no-console */ const express = require('express'); const morgan = require('morgan'); const bodyParser = require('body-parser'); const mongoose = require('mongoose'); const routes = require('./server/routes'); const config = require('./server/config'); const app = express(...
/* globals describe, it */ import Compiler from '../src/transpiler/compiler'; import assert from 'assert'; import fs from 'fs'; function compare(source, target) { const compiler = new Compiler(source); assert.equal(target, compiler.compiled); } describe('Transpiler', function() { it('should transpile a empty progr...
module.exports={A:{A:{"2":"L H G E A B jB"},B:{"2":"8 C D e K I N J"},C:{"2":"0 1 2 3 4 5 7 9 gB BB F L H G E A B C D e K I N J P Q R S T U V W X Y Z a b c d f g h i j k l m n o M q r s t u v w x y z JB IB CB DB EB O GB HB aB ZB"},D:{"2":"0 1 2 3 4 5 7 8 9 F L H G E A B C D e K I N J P Q R S T U V W X Y Z a b c d f g h...
/** * * @description Convert attribute value to boolean value * @param attribute * @return {Boolean} * @private */ jDoc.engines.OXML.prototype._attributeToBoolean = function (attribute) { return (!!attribute && (attribute.value == 'true' || attribute.value == '1' || attribute.value == 'on')); };
/* Copyright (c) 2014 Dominik Moritz This file is part of the leaflet locate control. It is licensed under the MIT license. You can find the project at: https://github.com/domoritz/leaflet-locatecontrol */ L.Control.Locate = L.Control.extend({ options: { position: 'topleft', drawCircle: true, ...
import Component from '@glimmer/component'; import {action} from '@ember/object'; export default class KoenigMenuContentComponent extends Component { @action scrollIntoView(element, [doScroll]) { if (doScroll) { element.scrollIntoView({ behavior: 'smooth', bl...
'use strict';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; } __.prototype = b.prototype; d.prototype = new __(); }; var __decorate = (this && this.__decorate) || function (decorators, targe...
/** * Created by hbzhang on 8/7/15. */ 'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Widget = mongoose.model('Widget'), Upload = mongoose.model('Upload'), _ = require('lodash'), grid = require('gridfs-stream'); /** * Find widget by id */ exports.widget = functi...
const sensor = require('node-dht-sensor'); const logger = require('../logging/Logger'); /** * Reads pin 4 of the raspberry PI to obtain temperature and humidity information. * @return {Promise} A promise that will resolve with the results. In the * case where there was an error reading, will return a zero filled ob...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @emails oncall+relay * @flow * @format */ // flowlint ambiguous-object-type:error 'use strict'; const React = require('reac...
var chartPrevious = [ {"Name":"", "Description":"charts"}, {"Name":"1 hour", "Description":"1 hour"}, {"Name":"2 hours", "Description":"2 hours"}, {"Name":"10 hours", "Description":"10 hours"}, {"Name":"1 day", "Description":"1 day"}, {"Name":"2 days", "Description":"2 days"}, {"Name":"3 days", "Description":"3 days"},...
/*requires core.js*/ /*requires load.js*/ /*requires ajax.js*/ /*requires dom.js*/ /*requires selector.js*/ /*requires ua.js*/ /*requires event.js*/ /*requires ui.js*/ /*requires ui.tab.js*/ /*requires ui.slide.js*/ /*requires ui.nav.js*/ /** * nova.ui.flow * 在页面中四处飘浮的广告 * 遇到边界则改变飘浮方向 * @param number width element&...
$(document).ready(function () { $('#userData').hide(); $('#topScores').show(); // enchanced method addEventListener function addEventListener(selector, eventType, listener) { $(selector).on(eventType, listener); } function trigerClick($button) { $button.click(); } va...
/** * process_sqlite.js */ var fs = require('fs-extra') var debug = require('debug')('hostview') var async = require('async') var sqlite = require('sqlite3') var utils = require('./utils') /** * Process a single sqlite file from Hostview. * * We assume that each sqlite file corresponds to a 'session' and * al...
version https://git-lfs.github.com/spec/v1 oid sha256:082a71326f3ffc5d4a12f1e2d1226bde6726d7e65fd21e9e633e1aa7bdd656d8 size 117145
define(['jquery', 'pubsub'], function($, pubsub) { function AudioPlayer(audio){ this.audio = audio; this._initSubscribe(); this.startPos = 0; this.endPos = 0; this.loopEnabled = false; } AudioPlayer.prototype._initSubscribe = function() { var self = this; $.subscribe("AudioCursor-clickedAudio", functi...
export class Schema { constructor(){ } createErrorMessage(schemaErrorObj, root){ let {errors, path} = schemaErrorObj; let pathName = path.replace('$root', root); let errorList = errors.reduce((errorListTemp, error, index)=>{ return `${erro...
// Welcome. In this kata, you are asked to square every digit of a number. // // For example, if we run 9119 through the function, 811181 will come out. // // Note: The function accepts an integer and returns an integer function squareDigits(num){ let digits = (""+num).split(""); let arr=[]; for (var i = 0; i < ...
(function( $ ) { 'use strict'; var that; var fgj2wp = { plugin_id: 'fgj2wp', fatal_error: '', /** * Manage the behaviour of the Skip Media checkbox */ hide_unhide_media: function() { $("#media_import_box").toggle(!$("#skip_media").is(':checked')); }, /** ...
$(function() { $("#content").focus(function() { $(this).animate({"height": "85px",}, "fast" ); $("#button_block").slideDown("fast"); return false; }); $("#cancel").click(function() { $("#content").animate({"height": "30px",}, "fast" ); $("#button_block").slideUp("fast"); return false; }); function dragDrop(drag,i,j...
'use strict'; angular.module('users').controller('AuthenticationController', ['$scope', '$http', '$location', 'Authentication', function($scope, $http, $location, Authentication) { $scope.authentication = Authentication; $(".signin").parent("section").css("height", "100%"); // If user is signed in...
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ 'use strict'; if (typeof define !== 'function') { var define = require('amdefine')(module, require); } define(...
export const x = {"viewBox":"0 0 12 16","children":[{"name":"path","attribs":{"fill-rule":"evenodd","d":"M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48L7.48 8z"},"children":[]}],"attribs":{}};
// -*- Mode: JavaScript; tab-width: 2; indent-tabs-mode: nil; -*- // vim:set ft=javascript ts=2 sw=2 sts=2 cindent: require('./lib/webfont'); //jquery var $ = require('jquery'); var Util = (function(window, undefined) { var fontLoadTimeout = 5000; // 5 seconds var monthNames = ['Jan', 'Feb', 'Mar', 'Apr', '...
(function(angular) { 'use strict'; //-----------------------------Controller Start------------------------------------ function AddBrandModalController($state, $http) { var ctrl = this; ctrl.init = function() { ctrl.brandDetail = (ctrl.resolve && ctrl.resolve.details) || {};...
$(function() { $('input:not(.button)').blur(function() { if (validation.isFieldValid(this.id, $(this).val())) { $('.error').text('').hide(); } else { $('.error').text(validation.form[this.id].errorMessage).show(); } }); });
'use strict'; /* Service to retrieve data from backend (CouchDB store) */ pissalotApp.factory('pissalotCouchService', function ($resource) { return $resource('http://192.168.1.4:8080/measurement/:listType',{ listType: '@listType' }, { get: { method: 'GET', isArray: fals...
const assert = require("assert"); describe("chain of iterators", function() { it("should conform to ES", function() { let finallyCalledSrc = 0; let finallyCalled1 = 0; let finallyCalled2 = 0; let cb; let p1 = new Promise(i => (cb = i)); let tasks = []; let cbtask; let p2 = { the...
require("sdk/system/unload").when(function() { let prefService = require("sdk/preferences/service"); prefService.reset("general.useragent.site_specific_overrides"); prefService.reset("general.useragent.override.youtube.com"); prefService.reset("media.mediasource.enabled"); }); let prefService = require("sdk/prefer...
'use strict'; module.exports = function(app) { var users = require('../../app/controllers/users.server.controller'); var orders = require('../../app/controllers/orders.server.controller'); // Orders Routes app.route('/orders') .get(orders.list) .post(users.requiresLogin, orders.create); app.route('/orders-...
// 2016-08-22 // // This is the wrapper for the native side /* prelim: start a server from the lib dir: python -m SimpleHTTPServer (python 2.x) (linux) python -m http.server (python 3.x) (windows) 1a) load jquery (note: may need a real active file open for this to work) Note: get message 'VM148:52 Uncaught (in promi...
(function(){ function newThreadCtrl($location, $state, MessageEditorService){ var vm = this; vm.getConstants = function(){ return MessageEditorService.pmConstants; }; vm.newThread = MessageEditorService.getThreadTemplate($location.search().boardId); vm.returnToBoard = function(){ var boardId...
angular.module('starter.controllers', []) // A simple controller that fetches a list of data from a service .controller('JobIndexCtrl', function($rootScope, PetService) { // "Pets" is a service returning mock data (services.js) $rootScope.pets = PetService.all(); }) // A simple controller that shows a tapped it...
(function () { 'use strict'; describe('Posts Route Tests', function () { // Initialize global variables var $scope, PostsService; //We can start by loading the main application module beforeEach(module(ApplicationConfiguration.applicationModuleName)); // The injector ignores leading and...
goog.provide('glift.displays.commentbox'); glift.displays.commentbox = {};
/**YEngine2D * author:YYC * date:2014-04-21 * email:395976266@qq.com * qq: 395976266 * blog:http://www.cnblogs.com/chaogex/ */ describe("CallFunc", function () { var action = null; var sandbox = null; beforeEach(function () { sandbox = sinon.sandbox.create(); action = new YE.CallFunc(...
/////////////////////////////////////////////////////////////////////////// // Copyright © 2014 - 2016 Esri. 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 // // h...
module.exports = { path: { scripts: '/assets/scripts', styles: '/assets/styles', images: '/assets/images' }, site: { url: require('./package.json').mylly.url, name: 'My website', lang: 'en', charset: 'utf-8', ua: '' // UA-XXXXXX-XX }, page: {} };
/* eslint-env mocha */ 'use strict' const path = require('path') const cwd = process.cwd() const NetSuite = require(path.join(cwd, 'netsuite')) const chai = require('chai') const expect = chai.expect const config = require('config') describe('NetSuite class', function () { this.timeout(24 * 60 * 60 * 1000) it('sh...
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude); //>>description: Popup windows //>>label: Popups //>>group: Widgets //>>css.theme: ../css/themes/default/jquery.mobile.theme.css //>>css.structure: ../css/structure/jquery.mobile.popup.css,../css/structure/jquery.mobile.transition.css,../css/structure/jquery...
/** * version: 1.1.10 */ angular.module('ngWig', ['ngwig-app-templates']); angular.module('ngWig') .directive('ngWig', function () { return { scope: { content: '=ngWig' }, restrict: 'A', replace: true, templateUrl: 'ng-wig/views/ng-wig.html', link: function (scope...
/** * main.js: The entry point for MuTube. * Plays the role of the 'main process' in Electron. */ // define constants from various packages for the main process const { app, BrowserWindow, ipcMain } = require('electron'); let mainWindow; // execute the application app.on('ready', () => { // create...
/*global Backbone */ var Generator = Generator || {}; (function () { 'use strict'; // Aspect Model // ---------- Generator.Aspect = Backbone.Model.extend({ defaults: { result: 0, text: '' } }); })();
version https://git-lfs.github.com/spec/v1 oid sha256:4fc049501415815d5fa555bc735c359c381441d2107851b32b30ae5ba192a892 size 11548
function Loader() { var self = this; self.cache = {}; // Filename -> {Geometry, Material, [callbacks]} self.textureCache = {}; // Filename -> Texture self.loader = new THREE.JSONLoader(); } Loader.prototype.loadTexture = function(filename, callback) { var self = this; var texture = self.textur...
import header from 'head'; class Loader { constructor () { // Singleton Object if(window.CM == null){ window.CM = {}; } window.CM.Loader = this; let scope = this; head.ready(document, function() { head.load([ "/assets/css/app.css", "/assets/js/app.js", "/assets/js/shim.js", ...
/* ajax_windows.js. Support for modal popup windows in Umlaut items. */ jQuery(document).ready(function($) { var populate_modal = function(data, textStatus, jqXHR) { // Wrap the data object in jquery object var body = $("<div/>").html(data); // Remove the first heading from the returned data var head...
'use strict'; moduloCategoria.factory('categoriaService', ['serverService', function (serverService) { return { getFields: function () { return [ {name: "id", shortname: "ID", longname: "Identificador", visible: true, type: "id"}, {name: "nombr...
var NAVTREE = [ [ "game_of_life", "index.html", [ [ "game_of_life", "md__r_e_a_d_m_e.html", null ], [ "Classes", null, [ [ "Class List", "annotated.html", "annotated" ], [ "Class Index", "classes.html", null ], [ "Class Members", "functions.html", [ [ "All", "functions.html", null ],...
var ConfigInitializer = { name: 'config', initialize: function (container, application) { var apps = $('body').data('apps'), tagsUI = $('body').data('tagsui'), fileStorage = $('body').data('filestorage'), blogUrl = $('body').data('blogurl'), blogTitle = $...
/** * @license * Copyright Google Inc. 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/license */ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { glo...
'use strict'; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /* ***** BEGIN LICENSE BLOCK *****...
/** * @param {string} s * @return {boolean} */ const checkValidString = function (s) { let leftCount = 0, rightCount = 0, starCount = 0; let idx = 0; while (idx < s.length) { let ch = s[idx++]; if (ch === '(') { ++leftCount; } else if (ch === '*') { ++starC...
// noinspection JSUnusedLocalSymbols const React = require('react') const moment = require('moment') const agent = require('../agent') import {Link} from 'react-router' import {Row, Col} from 'react-bootstrap' import ClientForm from './ClientForm' import _ from 'underscore' class RegisterClient extends React.Component...
/** * Created by liushuo on 17/2/20. */ import React , {Component} from 'react'; import {AppRegistry , ListView , Text , View, StyleSheet,TouchableOpacity, Image, Dimensions} from 'react-native'; let badgeDatas = require('../Json/BadgeData.json') let {width,height,scale} = Dimensions.get("window"); let cols = 3; le...
$ = require("jquery"); jQuery = require("jquery"); var StatusTable = require("./content/status-table"); var ArchiveTable = require("./content/archive-table"); var FailuresTable = require("./content/failures-table"); var UploadTestFile = require("./content/upload-test-file"); var UploadCredentials = require("./content/...
Meteor.publish('movieDetails.user', publishUserMovieDetails); function publishUserMovieDetails({ movieId }) { validate(); this.autorun(autorun); return; function validate() { new SimpleSchema({ movieId: ML.fields.id }).validate({ movieId }); } function autorun(...
import Ember from 'ember'; export default Ember.Component.extend({ tagName: 'ul', classNames: 'ember-autocomplete-list', });
/** * Widget Footer Directive */ angular .module('Home') .directive('rdWidgetFooter', rdWidgetFooter); function rdWidgetFooter() { var directive = { requires: '^rdWidget', transclude: true, template: '<div class="widget-footer" ng-transclude></div>', restrict: 'E' }; ...
game.PlayScreen = me.ScreenObject.extend({ /** * action to perform on state change */ onResetEvent: function() { // reset the score game.data.score = 0; me.levelDirector.loadLevel("level01"); this.resetPlayer(0, 420); // the level i'm going to load // levelDirector is telling it what to look at va...
Palette = function(name,colors){ this.name = name; this.colors = colors; }; Palette.prototype.hasName = function(name){ return this.name.toLowerCase() == name.toLowerCase()?true:false; }; Palette.prototype.getRandomColor = function(){ return this.colors[(Math.floor(Math.random() * this.colors.length))]; ...
'use strict'; const inflect = require('i')(); const _ = require('lodash'); const Promise = require('bluebird'); const fs = Promise.promisifyAll(require('fs')); const options = { adapter: 'mongodb', connectionString: 'mongodb://127.0.0.1:27017/testDB', db: 'testDB', inflect: true }; console.log(JSON.stringify(o...
$(document).ready(function(){(new WOW).init()}),$(document).ready(function(){var e=document.getElementById("scene");new Parallax(e);$.stellar()});
function noReservedDays(date) { var m = date.getMonth(), d = date.getDate(), y = date.getFullYear(); for (i = 0; i < reservedDays.length; i++) { if ($.inArray((m + 1) + '-' + d + '-' + y, reservedDays) !== -1) { return [false]; } } return [true]; } $("#input_fr...
define([], function() { function System(options) { var options = options || {}, requirements = options.requires ? options.requires.slice(0).sort() : []; return { getRequirements: function() { return requirements; }, init: options.init ...
export const ic_alternate_email_outline = {"viewBox":"0 0 24 24","children":[{"name":"path","attribs":{"d":"M0 0h24v24H0V0z","fill":"none"},"children":[]},{"name":"path","attribs":{"d":"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1....
/** * @license Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/requirejs for details */ /*jslint sloppy: true, plusplus: true */ /*global define, java, Packages, com */ define(['logger', 'env!env/file'], functi...
module.exports = ({ config }, options = {}) => config.module .rule('style') .test(/\.css$/) .use('style') .loader(require.resolve('style-loader')) .when(options.style, use => use.options(options.style)) .end() .use('css') .loader(require.resolve('css-loader')) ....
/** * Created by Kaloyan on 24.5.2015 ã.. */ console.log('============'); console.log('Exercise 1: Exchange if first is greater'); var a = 5; var b = 2; if (a > b) { var temp = a; a = b; b = temp; } console.log(a + ' ' + b);
$(document).ready(function () { // Regex pour avoir les contenus des balises <amb> // Exemple : L'<amb>avocat</amb> mange des <amb>avocats</amb>. // Donne : $1 = avocat, puis $1 = avocats var regAmb = new RegExp('<amb>(.*?)</amb>', 'ig'); // Regex pour avoir les contenus des balises <amb> et leurs ...
'use strict'; var express = require('express'), logger = require('morgan'), bodyParser = require('body-parser'), stylus = require('stylus'), cookieParser = require('cookie-parser'), session = require('express-session'), passport = require('passport'); module.exports = function(app, config) { function comp...
/** * Created by cin on 1/18/14. */ /** * Created by cin on 1/18/14. */ var _ = require('underscore'), chance = new (require('chance'))(), syBookshelf = require('./base'), User = require('./user'), CoStatus = require('./co-status'), UserCooperation = require('./user-cooperation'), UserCooperations = UserCoope...
'use strict'; var mongoose = require('mongoose'); require('./models/StockPoint'); require('./models/Pattern'); var mongoDbURL = 'mongodb://localhost/pttnrs'; if (process.env.MONGOHQ_URL) { mongoDbURL = process.env.MONGOHQ_URL; } mongoose.connect(mongoDbURL);
function setMaximizeCookie(i,e,a){if(a){var o=new Date;o.setTime(o.getTime()+864e5*a);var t="; expires="+o.toGMTString()}else var t="";document.cookie=i+"="+e+t+"; path=/"}function getMaximizeCookie(i){for(var e=i+"=",a=document.cookie.split(";"),o=0;o<a.length;o++){for(var t=a[o];" "==t.charAt(0);)t=t.substring(1,t.le...
// Copyright IBM Corp. 2014. All Rights Reserved. // Node module: async-tracker // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT var assert = require('assert'); require('../index.js'); var fs = require('fs'); var util = require('util'); var cnt = 0; var ...
var prettyURLs = require('../middleware/pretty-urls'), cors = require('../middleware/api/cors'), urlRedirects = require('../middleware/url-redirects'), auth = require('../../auth'); /** * Auth Middleware Packages * * IMPORTANT * - cors middleware MUST happen before pretty urls, because otherwise cors h...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("...
var SuperheroesShowRoute = Ember.Route.extend({ model: function(params) { return(this.store.find('superhero', params.id)); } }); export default SuperheroesShowRoute;
{ if (this.props.x === 227) { return React.createElement( "span", { className: "_38my" }, "Campaign Details", null, React.createElement("span", { className: "_c1c" }) ); } if (this.props.x === 265) { return React.createElement( "span", ...
const Discord = require("discord.js"); const client = new Discord.Client(); const settings = require("./settings.json"); const chalk = require("chalk"); const fs = require("fs"); const moment = require("moment"); require("./util/eventLoader")(client); const log = message => { console.log(`[${moment().format("YYYY-MM-...
/* * provider.js: Abstraction providing an interface into pluggable configuration storage. * * (C) 2011, Nodejitsu Inc. * */ var async = require('async'), common = require('./common'); // // ### function Provider (options) // #### @options {Object} Options for this instance. // Constructor function for the P...
import React from 'react'; import { storiesOf } from '@storybook/react'; import moment from 'moment'; import { withKnobs, number, object, boolean, text, select, date, array, color, files, } from '../../src'; const stories = storiesOf('Example of Knobs', module); stories.addDecorator(withKnobs); s...
import { expect } from 'chai' import { describe, it } from 'mocha' import { or } from 'opensource-challenge-client/helpers/or' describe('Unit | Helper | or', function() { it('works', function() { expect(or([42, 42])).to.equal(true) expect(or([false, 42, false])).to.equal(true) expect(or([true, 42])).to....
/* */ define(['exports', './i18n', 'aurelia-event-aggregator', 'aurelia-templating', './utils'], function (exports, _i18n, _aureliaEventAggregator, _aureliaTemplating, _utils) { 'use strict'; exports.__esModule = true; var _createClass = (function () { function defineProperties(target, props) { for (var i = 0;...
class sppcomapi_elevationconfig_1 { constructor() { // ISPPLUA Elevated () {get} this.Elevated = undefined; // bool IsElevated () {get} this.IsElevated = undefined; // _ElevationConfigOptions Mode () {get} {set} this.Mode = undefined; // uint64 UIHandle () ...
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's // vendor/assets/javascripts directory can be referenced here using a relative path. // // It's not advisa...
version https://git-lfs.github.com/spec/v1 oid sha256:7678f6e4188a6066c45fd9a295882aea8e986bbc11eea3dbeabf24eca190b774 size 394
version https://git-lfs.github.com/spec/v1 oid sha256:d1ae7db9f7928706e5601ba8c7d71d4c9fbd1c4463c6b6465b502115eae45c07 size 77153
"use strict"; //////////////////////////////////////////////////////////////////////////////// // デスクトップ通知履歴 //////////////////////////////////////////////////////////////////////////////// Contents.notify_history = function( cp ) { var p = $( '#' + cp.id ); var cont = p.find( 'div.contents' ); var notify_history_l...
import net from 'net'; import log from './log.js'; export default function(options, onConnect) { // proxy server let proxy = net.createServer(function(client) { let server; // Create a new connection to the target server server = net.connect(options.port); // 2-way pipe between proxy and target s...
'use strict'; var util = require('util') , yeoman = require('yeoman-generator') , github = require('../lib/github') , path = require('path') , inflect = require('inflect'); var BBBGenerator = module.exports = function BBBGenerator(args, options, config) { // By calling `NamedBase` here, we get the ar...
import {mount, render, shallow} from 'enzyme'; global.mount = mount; global.render = render; global.shallow = shallow;
'use strict'; var _require = require('./parseProps'), parsePropTypes = _require.parsePropTypes, parseDefaultProps = _require.parseDefaultProps, resolveToValue = require('./util/resolveToValue'); module.exports = function (state) { var json = state.result, components = state.seen; var isAssignin...
'use strict'; const expect = require('chai').expect; const deepfind = require('../index'); const simpleFixture = { 'key': 'value' }; const complexFixture = { 'key1': { 'key': 'value1' }, 'key2': { 'key': 'value2' }, 'key3': { 'key': 'value3' } }; describe('deepfind', () => { it('should ...
/** * Created by Roman on 16.12.13. */ var moment = require('moment'); function AuthController($scope, $api) { var ctrl = this; $scope.client_id = store.get('client_id'); $scope.api_key = store.get('api_key'); $scope.api_secret = store.get('api_secret'); $scope.err = null; // catch html p...
require('babel-core/register') const path = require('path') const jsdom = require('jsdom').jsdom const exposedProperties = ['window', 'navigator', 'document'] global.document = jsdom('') global.window = document.defaultView Object.keys(document.defaultView).forEach((property) => { if (typeof global[property] === 'u...
module.exports = (client, reaction, user) => { client.log('Log', `${user.tag} reagiu à mensagem de id ${reaction.message.id} com a reação: ${reaction.emoji}`); };