code
stringlengths
2
1.05M
var _ = require('underscore'), path = require('path'), reporterOptions; var scriptToAddInHtml = "<script type='text/javascript'>"; scriptToAddInHtml +="function showTrace(e){"; scriptToAddInHtml +="window.event.srcElement.parentElement.getElementsByClassName('traceinfo')[0].className = 'traceinfo visible';}";...
"use strict"; // run code in ES5 strict mode
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _path = require('path'); var RELATIVE_START = 'node_modules' + _path.sep; // Pass in the module's `require` object since it's module-specific. // Next.js needs to use module.resolve to generate paths to modules it includes, // but th...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ var AMDRequireItemDependency = require("./AMDRequireItemDependency"); var AMDRequireContextDependency = require("./AMDRequireContextDependency"); var ConstDependency = require("./ConstDependency"); var AMDDefineDependenc...
var entry = './src/app/main.js', output = { path: __dirname, filename: 'main.js' }; module.exports.development = { debug : true, devtool : 'eval', entry: entry, output: output, module : { loaders : [ { test: /\.js?$/, exclude: /node_modules/, loader: 'babel-loader' }...
/*global angular */ (function () { 'use strict'; function Controller() { var vm = this; vm.close = function () { vm.bbAlertClosed = true; }; } angular.module('sky.alert.component', ['sky.resources']) .component('bbAlert', { bindings: { ...
/* jshint -W097 */ 'use strict'; var yeoman = require( 'yeoman-generator' ); module.exports = yeoman.Base.extend({ initializing : function() { this.log( 'initializing' ); }, prompting : function() { this.log( 'prompting' ); var done = this.async(); var prompts = [ { name : 'name', message : 'Wha...
var tweets = require('../public/javascripts/tweets'); function load() { var students = {}; for(var i=0; i<tweets.length; i++) { var name = tweets[i].user.name; var text = tweets[i].text; if(!students[name] && !tweets[i].retweeted_status) { students[name] = { "name" : name, "image"...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M20.47 5.63c.39.39.39 1.01 0 1.4L9.13 18.37c-.39.39-1.01.39-1.4 0l-4.2-4.2a.9839.9839 0 0 1 0-1.4c.39-.39 1.01-.39 1.4 0l3.5 3.5L19.07 5.63c....
YUI.add("axis-category",function(e,t){var n=e.Lang;e.CategoryAxis=e.Base.create("categoryAxis",e.Axis,[e.CategoryImpl],{getMinimumValue:function(){var e=this.get("data"),t=e[0];return t},getMaximumValue:function(){var e=this.get("data"),t=e.length-1,n=e[t];return n},_getLabelByIndex:function(e){var t,n=this.get("data")...
nv.models.stackedArea = function() { "use strict"; //============================================================ // Public Variables with Default Settings //------------------------------------------------------------ var margin = {top: 0, right: 0, bottom: 0, left: 0} , width = 960 , heig...
var jwt = require('jsonwebtoken'); const token = `eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.EkN-DOsnsuRjRO6BxXemmJDm3HbxrbRzXglbN2S4sOkopdU4IsDxTI8jO19W_A4K8ZPJijNLis4EZsHeY559a4DFOd50_OqgHGuERTqYZyuhtF39yxJPAjUESwxk2J5k_4zM3O-vtd1Ghyo4IbqKKSy6J9mTniYJPen...
/* dummy */ define([ 'backbone', 'app/model/samplemodel', 'app/collection/samplecollection', 'app/app' ], function(Backbone, DummyModel, DummyModelCollection, DummyAppView) { "use strict"; return Backbone.Router.extend({ initialize: function() { this.messageModel = new DummyModel(); ...
define({ //begin v1.x content "ltr": "Smer teksta sa leva na desno", "rtl": "Smer teksta sa desna na levo" //end v1.x content });
import curry from './curry' export default curry(_compose) /** * Compose two functions passing the result from the second one to the first one. * * @function compose * @arg f {function} The function that will apply the return value of `g` * @arg g {function} The function that will be apply `x` and pass the result...
describe('refetchEventSources', function() { var calendarEl; var options; // used by createEventGenerator var eventCount; var fetchId; var fetchDelay; beforeEach(function() { affix('#cal'); calendarEl = $('#cal'); eventCount = 1; fetchId = 7; options = { now: '2015-08-07', defaultView: 'agendaD...
/** @jsx React.DOM */ var React = require('react'); var Alert = require('react-bootstrap').Alert; var AlertService = { showAlert: function (type, text) { var mountNode = document.getElementById('alertGutter'); React.renderComponent( <Alert className="floater" bsStyle={type}> <p>{text}</p> ...
var _curry1 = require('./internal/_curry1'); var _identity = require('./internal/_identity'); /** * A function that does nothing but return the parameter supplied to it. Good as a default * or placeholder function. * * @func * @memberOf R * @since v0.1.0 * @category Function * @sig a -> a * @param {*} x The ...
/*! * jQuery JavaScript Library v1.8.0 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Aug 09 2012 16:24:48 GMT-0400 (Eastern Daylight Time) */ (function(...
/* (c) Anton Medvedev <anton@elfet.ru> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ class AbstractServer { constructor() { this.connected = false; // From ElfChat\Server\Protocol: this.SYNCHRONIZE = 0...
'use strict'; angular.module('confusionApp') .controller('MenuController', ['$scope', 'menuFactory', function($scope, menuFactory) { $scope.tab = 1; $scope.filtText = ''; $scope.showDetails = false; $scope.dishes = menuFactory.getDishes(); ...
/** @jsx React.DOM */ var Par = require('./Par.js'); var Row = require('./Row.js'); var Term = require('./Term.js'); var Healthbar = require('./Healthbar.js'); var EnemySlot = React.createClass({ render: function() { return ( <div className="slot"> <div className="info"> ...
/* * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
var __wpo = { "assets": { "main": [ "./dist/main.js", "/images/bgz.jpg", "/images/hamburger.svg", "/images/logo_grey.svg" ], "additional": [], "optional": [] }, "externals": [ "/images/bgz.jpg", "/images/hamburger.svg", "/images/logo_grey.svg" ], "hashesMap"...
QUnit.module( "attributes", { teardown: moduleTeardown } ); function bareObj( value ) { return value; } function functionReturningObj( value ) { return function() { return value; }; } /* ======== local reference ======= bareObj and functionReturningObj can be used to test passing functions to setters See te...
import { graphql } from 'react-apollo'; import update from 'immutability-helper'; import { removeTypename, log } from '@gqlapp/core-common'; import USERS_STATE_QUERY from '../graphql/UsersStateQuery.client.graphql'; import UPDATE_ORDER_BY from '../graphql/UpdateOrderBy.client.graphql'; import USERS_QUERY from '../graph...
'use strict'; /* https://github.com/angular/protractor/blob/master/docs/getting-started.md */ describe('my app', function() { browser.get('index.html'); it('should automatically redirect to /view1 when location hash/fragment is empty', function() { expect(browser.getLocationAbsUrl()).toMatch('/view1'); })...
'use strict'; // The core type of TempoIQ. Holds a timestamp and a value. function DataPoint(ts, value) { // Timestamp of the DataPoint [Date] this.t = ts; // Value [Number] this.v = value; } module.exports = DataPoint;
import ResourceModule from './resource' import ResourceController from './resource.controller'; import ResourceComponent from './resource.component'; import ResourceTemplate from './resource.html'; describe('Resource', () => { let $rootScope, makeController; beforeEach(window.module(ResourceModule)); beforeEach...
/** * 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 ...
var ControlledObservable = (function (__super__) { inherits(ControlledObservable, __super__); function ControlledObservable (source, enableQueue, scheduler) { __super__.call(this); this.subject = new ControlledSubject(enableQueue, scheduler); this.source = source.multicast(this.subject).refC...
/** * Name : SocketService.js * Module : Norris::Lib::Utils * Location : /norris/lib/utils * * History : * Version Date Programmer * ================================================= * 0.0.3 2015/06/02 Meneguzzo Francesco * ------------------------------------------------- * Revisio...
/*! * Bootstrap v3.3.1 (http://getbootstrap.com) * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ /*! * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=d0ccf0ea2274e0ede660) * Config saved to config.json and https:...
import { defineMigration } from '/server/imports/utils/defineMigration'; import { dbTaxes } from '/db/dbTaxes'; import { dbLog } from '/db/dbLog'; defineMigration({ version: 32, name: 'tax separate', async up() { // 將 tax 換為 stockTax, zombie 改名為 zombieTax await dbTaxes.rawCollection().update({}, { ...
"use strict"; var _prototypeProperties = function (child, staticProps, instanceProps) { if (staticProps) Object.defineProperties(child, staticProps); if (instanceProps) Object.defineProperties(child.prototype, instanceProps); }; var _get = function get(object, property, receiver) { var desc = Object.getOwnPropertyDes...
//>>built define([".","dojo/_base/lang","dojox/mobile/_base"],function(a,b,c){b.getObject("mobile",!0,a);return a.mobile});
/* eslint-env mocha */ var request = require('supertest') var app = require('../../server.js') var path = require('path') var fs = require('fs') var assert = require('assert') /** * Basic sanity checks on the dev server */ describe('The prototype kit', function () { it('should generate assets into the /public fold...
String.prototype.format = String.prototype.f = function() { var s = this, i = arguments.length; while (i--) { s = s.replace(new RegExp('\\{' + i + '\\}', 'gm'), arguments[i]); } return s; }; $(document).ready(function () { App.initHelper('appear'); $(".form-material.floating > .form...
module.exports = { // Extend website resources and html website: { assets: "./book", js: [ "expandable-chapters-small.js" ], css: [ "expandable-chapters-small.css" ] } };
/** SolrJsX library - a neXt Solr queries JavaScript library. * The Core, integrating for all skills * * Author: Ivan Georgiev * Copyright © 2016, IDEAConsult Ltd. All rights reserved. */ (function (a$) { // Define this as a main object to put everything in Solr = { version: "0.16.2" }; // Now impo...
const Sequelize = require('sequelize') const db = require('../db') const User = require('./user') const Meta = db.define('meta', { id: { primaryKey: true, type: Sequelize.UUID, defaultValue: Sequelize.UUIDV4 }, key: Sequelize.STRING, value: Sequelize.JSON }) Meta.belongsTo(User) module.exports = ...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "M7.5 14h1v3H10v-3h1v4.5h1.5v-5c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1v5h1.5V14zm6 4.5H15V17h2c.55 0 1-.45 1-1v-2.5c0-.55-.45-1-1-1h-3.5v6zM15 14h1.5v1.5H15V14z"...
import React, { Component, PropTypes } from 'react'; import Attributes from './attributes.js'; import GameDifficulty from './gameDifficulty.js'; import Gender from './gender.js'; import {bindActionCreators} from 'redux'; import { connect } from 'react-redux'; import * as actions from '../../actions/index'; import { rou...
import Ember from 'ember'; var SettingsView = Ember.View.extend({ tagName: 'section', classNames: ['gh-view'] }); export default SettingsView;
module.exports = { FILE, JS, URL, } function FILE(s) { return !URL(s) && /\.json$/.test(s) } function JS(s) { return !URL(s) && /\.js$/.test(s) } function URL(s) { return /^(http|https):/.test(s) }
/* eslint-disable strict */ require('@babel/polyfill'); require('es5-shim'); require('es5-shim/es5-sham'); (() => { // http://fedvic.com/2016/01/15/extendInBabel/ if (!(Object.setPrototypeOf || {}.__proto__)) { var nativeGetPrototypeOf = Object.getPrototypeOf; Object.getPrototypeOf = function...
/* jqBootstrapValidation * A plugin for automating validation on Twitter Bootstrap formatted forms. * * v1.3.6 * * License: MIT <http://opensource.org/licenses/mit-license.php> - see LICENSE file * * http://ReactiveRaven.github.com/jqBootstrapValidation/ */ (function ($) { var createdElements = []; var de...
define("dojo/cldr/nls/japanese", { root: //begin v1.x content { "dateTimeFormats-appendItem-Year": "{1} {0}", "field-tue-relative+-1": "last Tuesday", "field-year": "Year", "days@localeAlias478": { "bundle": "gregorian", "target": "days" }, "dateFormatItem-Hm": "HH:mm", "field-wed-relative+0": "this Wednesd...
;(function() { 'use strict'; sigma.utils.pkg('sigma.canvas.edgehovers'); /** * This hover renderer will display the edge with a different color or size. * It will also display the label with a background. * * @param {object} edge The edge object. * @param {ob...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S7.4_A4_T3; * @section: 7.4; * @assertion: Single and Multi line comments are used together; * @description: Insert Single line comment into Multi line comment; ...
const reactSvgLoader = require.resolve("../packages/react-svg-loader"); const path = require("path"); module.exports = { entry: "./index.js", output: { path: path.join(__dirname, "public"), filename: "bundle.js" }, module: { rules: [ { test: /\.svg$/, exclude: /node_modules/, ...
'use strict'; describe('the questions list page (AKA the text page)', function () { var constants = require('../../../testConstants.json'); var loginPage = require('../../../bellows/pages/loginPage.js'); var util = require('../../../bellows/pages/util.js'); var projectListPage = require(...
'use strict'; var Config = require('../../lib/config'), Browser = require('../../lib/browser'), _ = require('lodash'), supportedBrowsers = { // evergreen browsers are always tested against latest // version chrome: { browserName: 'chrome' }, firefox: { ...
/** * Copyright 2012-2013 Amazon.com, Inc. or its affiliates. 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. A copy of * the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the ...
var util = require("util"); var PushBullet = require("pushbullet"); var BaseTrigger = require("./baseTrigger.js").BaseTrigger; var fs = require('fs'); var _ =require("lodash"); var nodemailer = require('nodemailer'); var moment = require('moment'); var pushover = require('pushover-notifications'); var fnd = require('fi...
function performAjaxOperation(target) { triggerEvent(target,'ajax-start'); window.setTimeout(function(){ triggerEvent(target,'ajax-complete') },5000); }
// ______ ______ __ __ __ __ __ ______ __ __ // /\ __ \ /\___ \ /\ \ /\ "-./ \ /\ \/\ \ /\__ _\ /\ \_\ \ // \ \ __ \ \/_/ /__ \ \ \ \ \ \-./\ \ \ \ \_\ \ \/_/\ \/ \ \ __ \ // \ \_\ \_\ /\_____\ \ \_\ \ \_\ \ \_\ \ \_____\ \ \_\ \ \_\ \_\ // \/_/\/_/ \/____...
beforeEach(module('app', function ($provide) { $provide.factory('<%- componentName %>', function () { return { templateUrl: 'app/<%- name %>.html' }; }); }));
/*globals Node */ /** @module ember-metal */ var defineProperty = (function checkCompliance(defineProperty) { if (!defineProperty) return; try { var a = 5; var obj = {}; defineProperty(obj, 'a', { configurable: true, enumerable: true, get: function () { return a; }, ...
/** * CSS3 Transition Synthetic Event * * Defines normalized CSS3 transition events for the various browser * environments. Currently, the only supported event is `transitionend` due * to the current state of browser support. Delegation is not currently * supported for this event. * * Example usage: * * HTML:...
import './img/image.svg';
module.exports = { NODE_ENV: '"production"', BASE_API: '"http://119.29.101.78"' };
$(document).ready(function(){$(window).scroll(function(){$(document).scrollTop()>50?$("nav").addClass("shrink"):$("nav").removeClass("shrink")})});
/* * GET home page. */ exports.index = function(req, res){ var lock = 1; //var userId = req.session.userId; //var username = req.session.username; var currentNews; var finishRequest = function() { //console.log(req.session.token); res.render('index', { title: 'W...
import { test, moduleForComponent } from 'ember-qunit'; import startApp from '../../helpers/start-app'; import Ember from 'ember'; var App; moduleForComponent('bootstrap-datepicker', 'BootstrapDatepickerComponent', { beforeEach: function() { App = startApp(); }, afterEach: function() { Ember.run(App, 'd...
var chai = require('chai'), expect = chai.expect, assert = chai.assert, testutil = require('./lib/testutil'), startChrome = testutil.startChrome, pollScript = testutil.pollScript; chai.use(require('chai-as-promised')); describe('proxy program', function() { var _driver; before(function() { ...
import { connect } from 'react-redux'; import Welcome from './view'; const select = () => ({}); const perform = () => ({}); export default connect( select, perform )(Welcome);
/* * Copyright 2010, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
$(function() { "use strict"; window.checkboxMaterial = function(a) { $(a).is(":checked") ? $(a).next().css("text-decoration", "line-through") : $(a).next().css("text-decoration", "none") } window.togglefullscreen = function() { document.fullScreenElement && null !== document.fullScreenElement || !document.moz...
import equal from 'deep-equal'; import BigNum from './big-num'; import SHA1 from './hash/sha1'; // Secure Remote Password // http://tools.ietf.org/html/rfc2945 class SRP { // Creates new SRP instance with given constant prime and generator constructor(N, g) { // Constant prime (N) this._N = BigNum.fromA...
const soma = function(a, b) { return a + b; } let nun1 = 3; const soma2 = function(soma, nun1) { return soma + nun1 } console.log(soma2(soma(2, 4), nun1)); //https://pt.stackoverflow.com/q/425341/101
'use strict'; module.exports = function (grunt) { // Unified Watch Object var watchFiles = { serverViews: ['app/**/*.js'], serverJS: ['gruntfile.js', 'server.js', 'config/**/*.js', 'app/**/*.js'], clientViews: ['views/*.*', 'public/partials/*.*'], clientJS: ['public/js/**/*.js'], clientCSS: ['public/scss/*...
/** * The MIT License (MIT) * * Copyright (c) <2015> <Àlex Fiestas afiestas@kde.org> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation...
const _ = require('underscore'); const BaseStep = require('./basestep'); class BestowPrompt extends BaseStep { constructor(game, player, card) { super(game); this.player = player; this.card = card; } continue() { let limit = Math.min(this.player.gold, this.card.bestowMax)...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
import Component from '@ember/component'; import template from './template'; import { tagName, layout } from '@ember-decorators/component'; import { computed, action } from '@ember/object'; @tagName('') @layout(template) class PaperSelectEpsTrigger extends Component { @computed('placeholder', 'extra.label', 'selec...
var LogoSetting = { config: { moduleId: 0, portalId: 0, type: "POST", async: false, contentType: "application/json;charset=uf=8", dataType: "json", serviceUrl: '', handlerUrl: '', culture: '' }, GetData: function() { var myData...
var mongoose = require('mongoose'); // export const enum ChangeVisibility { // ALL, // MAP_PARTICIPANTS, // MAP_MEDIATORS, // MAP_SAME_GROUP_MEMBERS, // USER // } // // export const enum ChangeType { // UNDEFINED, // STRUCTURAL, // NAVIGATIONAL, // VIEW // } // // export const enum ChangePhase { // UNDISPLAY...
// Get all of our friend data var data = require('../data.json'); exports.view = function(req, res){ console.log(data); res.render('end', data); };
interpreter['SELECT'] = function(ast, callback){ var res = new SQLResultSet(); res.insertId = undefined; res.rowsAffected = 1; res.rows = new SQLResultSetRowsList(); res.rows.data = [{a:1},{a:2}]; };
export default {'offset': -28800, 'dst': true, 'abbrev': 'AKDT'};
import { getRelationData } from '../model/relations.js'; //计算bezier曲线点的位置 export function curveTo(x1, y1, x4, y4) { x1 = Number(x1); y1 = Number(y1); x4 = Number(x4); y4 = Number(y4); var x2, x3; if (x1 < x4) { x2 = x3 = (x1 + x4) / 2; } if (x1 >= x4) { x2 = x1 + (x1 + ...
var React = require('react/addons'), SetClass = require('classnames'), Tappable = require('react-tappable'), Navigation = require('../mixins/Navigation'); module.exports = React.createClass({ displayName: 'HeaderbarButton', mixins: [Navigation], propTypes: { className: React.PropTypes.string, component: Reac...
var _ = require('underscore'); var Promise = require('bluebird'); var User = require('../models/user.js'); var get = {}; get.jawbone = require('./jawbone'); get.strava = require('./strava'); // currently supported goals var GOALS = ['Sleep', 'Step', 'Cycle', 'Run']; //maps goals to currently supported third-party se...
/** vim: et:ts=4:sw=4:sts=4 * @license RequireJS 2.1.5 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/requirejs for details */ //Not using strict: uneven strict support in browsers, #392, and causes //problems with requi...
'use strict'; /* Filters */ angular.module('myApp.filters', []) .filter('interpolate', ['version', function(version) { return function(text) { return String(text).replace(/\%VERSION\%/mg, version); }; }]) ;
/* * @author Daosheng Mu / https://github.com/DaoshengMu/ * @author mrdoob / http://mrdoob.com/ */ THREE.TGALoader = function ( manager ) { this.manager = ( manager !== undefined ) ? manager : THREE.DefaultLoadingManager; }; // extend THREE.BinaryTextureLoader THREE.TGALoader.prototype = Object.create( THREE.Bi...
import Path from '../Path' export class DevtoolsBase { constructor( { https = false, host = null, reconnect = true, reconnectInterval = 10000, } = {} ) { this.host = host this.https = https this.version = 0 if (!this.host) { throw new Error(`Devtools: You have ...
function notify(level, msg) { $(".alert").remove(); var div = $('<div class="alert alert-' + level + '">' + msg + '</div>'); $("#page-wrapper").prepend(div); div.delay(6000).fadeOut(); }
(function ($, anim) { 'use strict'; let _defaults = { accordion: true, onOpenStart: undefined, onOpenEnd: undefined, onCloseStart: undefined, onCloseEnd: undefined, inDuration: 300, outDuration: 300 }; /** * @class * */ class Collapsible extends Compon...
module.exports={A:{A:{"2":"M D H F A B mB"},B:{"2":"C E q L O I J K"},C:{"1":"6 BB CB DB EB FB HB IB JB","2":"0 1 2 3 4 5 8 9 jB AB G M D H F A B C E q L O I 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 p N r s t u v w x y z LB eB cB"},D:{"2":"0 1 2 3 4 5 6 8 9 G M D H F A B C E q L O I J P Q R S T U V W X Y Z a...
import { Meteor } from 'meteor/meteor'; import { ReactiveVar } from 'meteor/reactive-var'; import { Session } from 'meteor/session'; import { Tracker } from 'meteor/tracker'; import { Blaze } from 'meteor/blaze'; import { FlowRouter } from 'meteor/kadira:flow-router'; import _ from 'underscore'; import { fireGlobalEve...
import { Box, Divider } from '@rocket.chat/fuselage'; import React from 'react'; const ShortcutSection = ({ title, command }) => ( <Box is='section' mb='x16'> <Box fontScale='p2' fontWeight='700'> {title} </Box> <Divider /> <Box fontScale='p1'>{command}</Box> </Box> ); export default ShortcutSection;
import shell from 'shell'; import React, { Component, PropTypes } from 'react'; import { connect } from 'react-redux'; import Events from '../components/events'; import NoEvents from '../components/no-events'; class EventsPage extends Component { onLinkClick(url) { shell.openExternal(url); } render() { ...
import DefaultFormatter from "./_default"; import CommonFormatter from "./common"; import includes from "lodash/collection/includes"; import values from "lodash/object/values"; import * as util from "../../util"; import * as t from "../../types"; export default class AMDFormatter extends DefaultFormatter { init() {...
define([ 'kb_common/html', ], function ( html ) { 'use strict'; const t = html.tag, span = t('span'); function na() { return span({ style: { color: 'gray' } }, '∅'); } function niceNumber(value) { return Intl.NumberFo...
var // should be a not so common char // possibly one JSON does not encode // possibly one encodeURIComponent does not encode // right now this char is '~' but this might change in the future specialChar = '~', safeSpecialChar = '\\x' + ( '0' + specialChar.charCodeAt(0).toString(16) ).slice(-2), esc...
var webpack = require('webpack'); var autoprefixer = require('autoprefixer'); var HtmlWebpackPlugin = require('html-webpack-plugin'); var ExtractTextPlugin = require('extract-text-webpack-plugin'); var CopyWebpackPlugin = require('copy-webpack-plugin'); var path = require('path'); var nodeModulesPath = path.resolve(__...
/** * app.js * Created by Serhei on 02.01.15. */ define(["marionette"], function (Marionette) { var App = new Marionette.Application(); return App; });
import React from 'react'; import createBlockStyleButton from '../../utils/createBlockStyleButton'; export default createBlockStyleButton({ blockType: 'ordered-list-item', children: ( <svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <path d="M2 17h2v.5H3v1h1v.5H2v1h3v-4...