code
stringlengths
2
1.05M
/*! * medium-editor-insert-plugin v0.3.1 - jQuery insert plugin for MediumEditor * * https://github.com/orthes/medium-editor-insert-plugin * * Copyright (c) 2014 Pavel Linkesch (http://linkesch.sk) * Released under the MIT license */ (function ($) { $.fn.mediumInsert.registerAddon('embeds', { /** ...
var unitlessNumbers={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridRowEnd:!0,gridRowGap:!0,gri...
!function(a,b,c){var d=b.Rollbar;if(d){var e="0.0.8";d.configure({notifier:{plugins:{jquery:{version:e}}}});var f=function(a){d.error(a),b.console&&b.console.log(a.message+" [reported to Rollbar]")};a(c).ajaxError(function(a,b,c,e){var f=b.status,g=c.url,h=c.type;if(f){var i;e&&e.hasOwnProperty("stack")&&(i=e);var j={s...
// Copyright Joyent, Inc. and other Node contributors. // // 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 the rights to use, copy, modi...
define( ({ 'bold': 'Halvfet', 'copy': 'Kopiera', 'cut': 'Klipp ut', 'delete': 'Ta bort', 'indent': 'Indrag', 'insertHorizontalRule': 'Horisontell linje', 'insertOrderedList': 'Numrerad lista', 'insertUnorderedList': 'Punktlista', 'italic': 'Kursiv', 'justifyCenter': 'Centrera', 'justifyFull': 'Ma...
/* * * Date.addLocale(<code>) adds this locale to Sugar. * To set the locale globally, simply call: * * Date.setLocale('es'); * * var locale = Date.getLocale(<code>) will return this object, which * can be tweaked to change the behavior of parsing/formatting in the locales. * * locale.addFormat adds a date fo...
/* YUI 3.17.0 (build ce55cc9) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('axis-category-base', function (Y, NAME) { /** * Provides functionality for the handling of category axis data for a chart. * * @module charts * @submodule axis-c...
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'removeformat', 'en-gb', { toolbar: 'Remove Format' } );
'use strict'; const assert = require('assert'); let battle; describe('Magic Room', function () { afterEach(function () { battle.destroy(); }); it('should negate residual healing events', function () { battle = BattleEngine.Battle.construct(); battle.join('p1', 'Guest 1', 1, [{species: "Lopunny", ability: 'l...
run_spec(__dirname, ["typescript", "babel", "flow"]);
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude); //>>description: Creates collapsible content blocks. //>>label: Collapsible //>>group: Widgets //>>css.structure: ../css/structure/jquery.mobile.collapsible.css //>>css.theme: ../css/themes/default/jquery.mobile.theme.css define( [ "jquery", // Deprecate...
describe('getLocation', function() { before(h.setup()); it('should return the location of a single element', function() { return this.client.getLocation('header h1').then(function (location) { /** * between devices and platform this can be different */ ...
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Arabic language. */ /**#@+ @type String @example */ /** * Constains the dictionary of lan...
import { isPresent } from 'angular2/src/facade/lang'; import { DOM } from 'angular2/src/platform/dom/dom_adapter'; /** * Predicates for use with {@link DebugElement}'s query functions. */ export class By { /** * Match all elements. * * ## Example * * {@example platform/dom/debu...
import {color} from "d3-color"; import rgb from "./rgb"; import array from "./array"; import date from "./date"; import number from "./number"; import object from "./object"; import string from "./string"; import constant from "./constant"; export default function(a, b) { var t = typeof b, c; return b == null || t...
(function(){var e=window.AmCharts;e.AmRectangularChart=e.Class({inherits:e.AmCoordinateChart,construct:function(a){e.AmRectangularChart.base.construct.call(this,a);this.theme=a;this.createEvents("zoomed","changed");this.marginRight=this.marginBottom=this.marginTop=this.marginLeft=20;this.depth3D=this.angle=0;this.plotA...
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImagePhoto = (props) => ( <SvgIcon {...props}> <path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"/> </SvgIcon> ); ImagePhoto = p...
(function(e,t){"use strict";function n(){return t.qoopido.initialize("transport",e,arguments)}"function"==typeof define&&define.amd?define(["./base","./function/merge"],n):n()})(function(e){"use strict";var t;return t=e.base.extend({setup:function(t){var n=this;return n._settings=e["function/merge"]({},n._settings,t),n...
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.deepstream = f...
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang("codesnippet","el",{button:"Εισαγωγή Αποσπάσματος Κώδικα",codeContents:"Περιεχόμενο κώδικα",emptySnippetError:"Δεν γίνεται να είν...
/*! hyperform.js.org */ var hyperform = (function () { 'use strict'; var registry = Object.create(null); /** * run all actions registered for a hook * * Every action gets called with a state object as `this` argument and with the * hook's call arguments as c...
/*! * json-schema-faker library v0.3.4 * http://json-schema-faker.js.org * @preserve * * Copyright (c) 2014-2016 Alvaro Cabrera & Tomasz Ducin * Released under the MIT license * * Date: 2016-07-06 12:54:51.655Z */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else i...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v4.1.1 * @link http://www.ag-grid.com/ * @license MIT */ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : ...
/* Usage: <wysiwyg textarea-id="question" textarea-class="form-control" textarea-height="80px" textarea-name="textareaQuestion" textarea-required ng-model="question.question" enable-bootstrap-title="true"></wysiwyg> options textarea-id The id to assign to the editable div textarea-class...
define(['./isKind'], function (isKind) { /** */ function isBoolean(val) { return isKind(val, 'Boolean'); } return isBoolean; });
/** * @ngdoc object * @name ui.router.router.$urlRouterProvider * * @requires ui.router.util.$urlMatcherFactoryProvider * @requires $locationProvider * * @description * `$urlRouterProvider` has the responsibility of watching `$location`. * When `$location` changes it runs through a list of rules one by one un...
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
/** * @class Ext.draw.sprite.Rect * @extends Ext.draw.sprite.Path * * A sprite that represents a rectangle. * * @example preview miniphone * var component = new Ext.draw.Component({ * items: [{ * type: 'rect', * x: 50, * y: 50, * width: 50, * height: 50...
var TokenExpiredError = require('./TokenExpiredError'); var JsonWebTokenError = require('./JsonWebTokenError'); var ms = require('ms'); function audCheck(payload, options, context) { if (!options.audience) { return; } var audiences = Array.isArray(options.audience) ? options.audience : [options.audience]; var t...
'use strict'; module.exports = { set: function (v) { this.setProperty('margin-right', v); }, get: function () { return this.getPropertyValue('margin-right'); }, enumerable: true };
/*! jQuery-ui-Slider-Pips - v1.5.1 - 2014-04-25 * Copyright (c) 2014 ; Licensed */ // PIPS (function($) { var extensionMethods = { pips: function( settings ) { var slider = this, $pip, pips ...
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbo...
var path = require('path'); var flattenGlob = function(arr){ var out = []; var flat = true; for(var i = 0; i < arr.length; i++) { if (typeof arr[i] !== 'string') { flat = false; break; } out.push(arr[i]); } if (flat) out.pop(); // last one is a file or specific dir return out; }; v...
/*! * froala_editor v2.0.3 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms * Copyright 2014-2015 Froala Labs */ /** * Swedish */ $.FroalaEditor.LANGUAGE['sv'] = { translation: { // Place holder "Type something": "Ange n\u00e5got", // Basic formatting ...
/**! * AngularJS file upload directives and services. Supoorts: file upload/drop/paste, resume, cancel/abort, * progress, resize, thumbnail, preview, validation and CORS * FileAPI Flash shim for old browsers not supporting FormData * @author Danial <danial.farid@gmail.com> * @version 10.1.9 */ (function () { ...
angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": { "0": "vorm.", "1": "nachm." }, "DAY": { "0": "Sonntag", ...
/** * @fileoverview Rule to flag use of continue statement * @author Borislav Zhivkov */ "use strict"; //------------------------------------------------------------------------------ // Rule Definition //------------------------------------------------------------------------------ module.exports = { meta: {...
CKEDITOR.plugins.setLang("pagebreak","mn",{alt:"Page Break",toolbar:"Хуудас тусгаарлагч оруулах"});
/** * copyright: 2011 Intel * description: This script will replace all drop downs with friendly select controls. Users can still interact * with the old drop down box as normal with javascript, and this will be reflected */ /* global af*/ /* global numOnly*/ (function($) { /*jshint camelcase: false, v...
/* * log-rewriter-test.js: Tests for rewriting metadata in winston. * * (C) 2010 Charlie Robbins * MIT LICENSE * */ var assert = require('assert'), vows = require('vows'), winston = require('../lib/winston'), util = require('util'), helpers = require('./helpers'); vows.describe('winston/logger/l...
/*! * Waves v0.5.0 * https://publicis-indonesia.github.io/Waves * * Copyright 2014 Publicis Metro Indonesia, PT. and other contributors * Released under the BSD license * https://github.com/publicis-indonesia/Waves/blob/master/LICENSE */ ;(function(window) { 'use strict'; var Waves = Waves || {}; ...
/*global window, document, setTimeout, Ghost, $, _, Backbone, JST, shortcut */ (function () { "use strict"; Ghost.TemplateView = Backbone.View.extend({ templateName: "widget", template: function (data) { return JST[this.templateName](data); }, templateData: functio...
/*! * @overview Ember - JavaScript Application Framework * @copyright Copyright 2011-2015 Tilde Inc. and contributors * Portions Copyright 2006-2011 Strobe Inc. * Portions Copyright 2008-2011 Apple Inc. All rights reserved. * @license Licensed under MIT license * See https://ra...
/** * @author mrdoob / http://mrdoob.com/ */ THREE.WebGLExtensions = function ( gl ) { var extensions = {}; this.get = function ( name ) { if ( extensions[ name ] !== undefined ) { return extensions[ name ]; } var extension; switch ( name ) { case 'EXT_texture_filter_anisotropic': extension...
YUI.add('datatable-mutable', function (Y, NAME) { /** Adds mutation convenience methods such as `table.addRow(data)` to `Y.DataTable`. (or other built class). @module datatable @submodule datatable-mutable @since 3.5.0 **/ var toArray = Y.Array, YLang = Y.Lang, isString = YLang.isString, isArray = YLan...
YUI.add('parallel', function (Y, NAME) { /** * A concurrent parallel processor to help in running several async functions. * @module parallel * @main parallel */ /** A concurrent parallel processor to help in running several async functions. var stack = new Y.Parallel(); for (var i = 0; i < 15; i++) { ...
/*! * Qoopido.js library v3.4.4, 2014-6-15 * https://github.com/dlueth/qoopido.js * (c) 2014 Dirk Lueth * Dual licensed under MIT and GPL *//*! * Qoopido.js library * * version: 3.4.4 * date: 2014-6-15 * author: Dirk Lueth <info@qoopido.com> * website: https://github.com/dlueth/qoopido.js * * Copyright (c) 2014 Dir...
;(function () { // closure for web browsers if (typeof module === 'object' && module.exports) { module.exports = LRUCache } else { // just set the global for non-node platforms. this.LRUCache = LRUCache } function hOP (obj, key) { return Object.prototype.hasOwnProperty.call(obj, key) } function naiveLength (...
require('./angular-locale_se-fi'); module.exports = 'ngLocale';
define([ 'jquery' ], function ($) { function Tokenizer (decorated, $element, options) { var tokenizer = options.get('tokenizer'); if (tokenizer !== undefined) { this.tokenizer = tokenizer; } decorated.call(this, $element, options); } Tokenizer.prototype.bind = function (decorated, conta...
// AST walker module for Mozilla Parser API compatible trees // A simple walk is one where you simply specify callbacks to be // called on specific nodes. The last two arguments are optional. A // simple use would be // // walk.simple(myTree, { // Expression: function(node) { ... } // }); // // to do s...
!function(t){"use strict";var n="cuid",r=0,e=4,i=36,o=Math.pow(i,e),u=function(t,n){var r="000000000"+t;return r.substr(r.length-n)},g=function(){return u((Math.random()*o<<0).toString(i),e)},a=function(){return r=r<o?r:0,r++,r-1},c=function(){var t,n="c",r=(new Date).getTime().toString(i),o=c.fingerprint(),l=g()+g();r...
$(function() { var calculator_select = $('select#calc_type') var original_calc_type = calculator_select.prop('value'); $('.calculator-settings-warning').hide(); calculator_select.change(function() { if (calculator_select.prop('value') == original_calc_type) { $('div.calculator-settings').show(); ...
/*! jquery.allowed-chars 03-06-2014 jQuery Allowed Chars - simple plugin v1.0.4 Copyright (c) 2014 Pavlo Voznenko and other contributors. Distributed under the MIT license. https://github.com/fosco-maestro/jquery-allowed-chars-simple-plugin */ !function(a,b){"use strict";a.fn.allowedChars=function(c){var d={allowed:"01...
/* Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl> Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com> 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 ...
var Lab = require('lab'), lab = exports.lab = Lab.script(), describe = lab.experiment, before = lab.before, after = lab.after, it = lab.test, expect = Lab.expect; var server, serverResponse, source, ctx; before(function (done) { server = require('../fixtures/setupServer')(done); server.ex...
/** * The [Harmonic Mean](https://en.wikipedia.org/wiki/Harmonic_mean) is * a mean function typically used to find the average of rates. * This mean is calculated by taking the reciprocal of the arithmetic mean * of the reciprocals of the input numbers. * * This is a [measure of central tendency](https://en.wikip...
const express = require('express'), mongoose = require('mongoose'), path = require('path'), bodyParser = require('body-parser'), morgan = require('morgan'), User = require('./app/models/user'), jwt = require('jsonwebtoken'), passport = require('passport'), config = requir...
var create = require('../utils').create; var Base = require('../native/observer/model'); var Model = require('../model'); var Observer = function (obj, cb) { Base.call(this, obj, cb); }; Observer.prototype = create(Base); Observer.prototype.constructor = Observer; Observer.prototype.model = function (cb) { return ...
import { compose, createStore } from 'redux'; import rootReducer from 'reducers//'; import routes from 'routes'; export default function configureStore(initialState) { const store = createStore(rootReducer, initialState); return store; }
jest.dontMock('object-assign'); jest.dontMock('../ThreadsForm'); jest.dontMock('../ThreadsFormSelectableRecipients'); jest.dontMock('../ThreadsFormSelectedRecipients'); jest.dontMock('../ThreadsFormSelectedRecipientsSave'); jest.dontMock('../ThreadsFormDefaultRecipientSelectedBagde'); jest.dontMock('../../constants/Me...
import React, { PropTypes } from 'react'; import Loader from '~/components/Loader'; import { connect } from 'react-redux'; import { CSS } from '~/theme'; import { windowResize } from '~/redux/navigation'; import './App.css'; export class App extends React.Component { static propTypes = { children: PropTypes.obje...
let oldBoard = {}; const statusListeners = {}; // This allows things to listen for certain board statuses to happen export const listenForBoardStatus = (status, thunk) => { statusListeners[status] = statusListeners[status] || []; statusListeners[status].push(thunk); }; export const init = (store) => { store.subscr...
import {createStore} from 'redux'; import reducers from './reducers'; const store = createStore(reducers); export default store;
'use strict'; const http = require('http'); const request = require('request-promise'); const responseTime = require('../index.js'); const Koa = require('koa'); const app = new Koa(); let server; const host = '127.0.0.1'; const port = '8080'; app.use(responseTime()) server = http.createServer(app.callback()); descri...
import gimmeData from '../utils/gimmeData'; import EventMusicians from '../components/EventMusicians'; import { approveEventMusician, rejectEventMusician } from '../actions/eventActions'; function urlFn(state, props) { const id = props.eventId; return `eventVolunteers?filter=${JSON.stringify({ where: { e...
"use strict" var opts = require("minimist")(process.argv.slice(2), {stopEarly: true, boolean: true}) if (opts._.length==0) usage() var cmd = opts._.shift() var cmds = { "set": require("./set.js"), "get": require("./get.js"), "ls": require("./ls.js") } if (!cmds[cmd]) usage("Unknown command '"+cmd+"'") cmds[cm...
import React from 'react' import styles from './Spinner.css' const Spinner = () => ( <div className={styles.container}> <div className={styles.spinner}></div> <div className={`${styles.spinner} ${styles.rect2}`}></div> <div className={`${styles.spinner} ${styles.rect3}`}></div> <div className={`${sty...
/** * Created by BG236557 on 2016/9/23. */ let idCounter = 0; export let uniqueID = function () { return idCounter++ + new Date().getTime() + Math.random(); }; export let empty = function () { }; export let isObj = function (input) { return Object.prototype.toString.call(input) === '[object Object]'; }; e...
const Core=(behavior)=>{ const doc={str:'', lines:[]},/* Document (string) */ cur={y:0, x:0, maxcol:0, height:1.0, scroll:false, color:'normal'}, /* number -> valid index into [lines] */ idx=(n)=>{n|=0;const l=doc.lines.length; if(0<=n&&n<l){return n;} if(n>=l){return l-1;} return Math.max(0,n+l);}, /* (s...
version https://git-lfs.github.com/spec/v1 oid sha256:7d2aaed108c346009f5e563ce0a7065707fb4147a50b5a54b06f150e02089105 size 2895
version https://git-lfs.github.com/spec/v1 oid sha256:6683c17321dfff35f0f1d1d29d0cd95c721e766edc78a6223d7bfc0801b4d344 size 1476
version https://git-lfs.github.com/spec/v1 oid sha256:47c432b84ffe13730117c609be08a5d1178ee04b6f50d3d1c169b263651fec80 size 4642
version https://git-lfs.github.com/spec/v1 oid sha256:47c0c4ddabd7948468e6fae2927839de30a50dd20bf78317de093ee4038aeb44 size 270810
const sqlSelect = require('./select.js'); /* All basic insert codes will come here. Inserts are minimal means only mandatory (not null) fields will insert. each function will inserts one new row into only one table. No log here. for tables with relation if FOREIGN_KEY is not an Integer, function trys to find an ...
// Prevent event for IE8 and modern browsers function PreventEvent( event ) { event.preventDefault ? event.preventDefault() : ( event.returnValue = false ); } // Change EventListener to attachEvent function AddEvent( elements, event, onEvent ) { if( elements ) { // Create an array of elements if a singular or arra...
/** * http://www.nodejs.org/api/cluster.html#cluster_event_fork * * */ var cluster = require('cluster'); var http = require('http'); var numCPUs = require('os').cpus().length; if (cluster.isMaster) { // Fork workers. for ( var i = 0; i < numCPUs; i++) { cluster.fork(); } var timeouts = []; function erro...
'use strict'; module.exports = { help: 'Return a given number of objects from the JSON input. If the input has fewer objects than the given number, all of the input is returned.', usageString: '<count>', minPositionalArguments: 1, maxPositionalArguments: 1, options: [ { names: [...
/** * inferno-firebase * * Copyright © 2017 Magnus Bergman <hello@magnus.sexy>. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ export Provider from './Provider'; export connect from './connect';
import "@babel/polyfill"; import "!style-loader!css-loader!postcss-loader!sass-loader!./styles/normalize.css"; import "!style-loader!css-loader!postcss-loader!sass-loader!./styles/style.css"; import "./components"; import "./scenery"; import "./scenes"; import "./systems/SeaLevel"; Game.start(false); /** * Screen si...
angular.module('locmap.controllers') .controller('LocationsCtrl', function($scope, $state, ResourcesService, UserService, ModalsService) { $scope.locations = []; ResourcesService.get('users/' + UserService.getId()).then(function(data) { $scope.locations = data.locations; }, function(err) { console.log(e...
/** * Gen 3 moves */ function clampIntRange(num, min, max) { num = Math.floor(num); if (num < min) num = min; if (typeof max !== 'undefined' && num > max) num = max; return num; } exports.BattleMovedex = { absorb: { inherit: true, pp: 20 }, acid: { inherit: true, secondary: { chance: 10, boosts: ...
var analytics = require('../index.js'); var fs = require('fs'); /** * Indicators selected for calculation * @type {Array} */ var indicators = [ 'CCI', 'MACD', 'MACD_Signal', 'MACD_Histogram', 'Momentum', 'RSI', 'BOP', 'ATR', 'SAR', 'SMA15_SMA50', 'Stochastic' ]; var stopLoss = 0.0030; var tak...
import React from 'react'; import { Link } from 'react-router-dom'; export const Layout = props => ( <div className="app-container"> <header> <Link to="/"> <img className="logo" src="/img/tinglado-logo.png" alt="Teatro El Tinglado" /> </Link> </header> <div className="app-content">{pr...
'use strict'; function podcastIndexOrgService($http, $window) { const AUTH_KEY = 'NUKSUA3RXTJ8AEQPHCNP'; const AUTH_SECRET = 'BufqJNuREeuP2ThUMUq55z2A3peQt#bsw$Zdsvc3'; var service = { search: search, getPodcastValue: getPodcastValue }; return service; function getAuthHeaders() { const authDate = Math....
angular.module('conapps').directive('estimatesAddProductsFilters', estimatesAddProductsFilters); function estimatesAddProductsFilters(){ return { restrict : 'E', replace : true, templateUrl : 'meraki-estimates/client/views/estimates-add-products-filters.template.ng.html', controll...
import deepfreeze from 'deepfreeze'; import processSections from '../processSections'; const sections = deepfreeze([ { sections: [ { name: 'Components', components: [ { props: { displayName: 'Button', }, module: 1, }, ], }, ], }, ]); describe('processSections...
/** * Author: Jeff Whelpley * Date: 2/25/14 * * Build for fakeblock */ var gulp = require('gulp'); var taste = require('taste'); var batter = require('batter'); batter.whip(gulp, taste, {});
var cl = jQuery('table.summaryTable tr').has('th:contains("Inheritance")').find('td a:first').text().trim(); if (cl != "") { var clextends = jQuery('table.summaryTable tr').has('th:contains("Inheritance")').find('td a:nth-child(2)').text(); var desc = jQuery('div.class-description p strong').first().text(); ...
export function canUndo (state) { return state.undoables.past.length > 0; } export function canRedo (state) { return state.undoables.future.length > 0; }
'use strict'; /* Controllers */ angular.module('myApp.controllers', []). controller('MyCtrl1', function($scope) { $scope.form = { firstName: 'Joe', lastName: 'Bloggs', dateOfBirth: '11-01-1980', nationalities: ['British', 'American'], favouriteCol...
Serendip.FacetsRenderInactive = (function(serendip){ var my = {}; var _facetsCore = null; init(); function init(){ serendip.on("init.facets.core", function(facetsCore) { _facetsCore = facetsCore; }); serendip.on("render", function(data){ ...
/** * @license Highcharts JS v9.3.2 (2021-11-29) * * Vector plot series module * * (c) 2010-2021 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; module.exports = fa...
/* eslint-disable import/no-extraneous-dependencies */ require('@babel/register')({ plugins: [ '@babel/plugin-transform-modules-commonjs', ], });
var config = require('./config'), express = require('express'), morgan = require('morgan'), compress = require('compression'), bodyParser = require('body-parser'), methodOverride = require('method-override'), session = require('express-session'); module.exports = function() { var app = express(); if (process.env.NO...
(function() { // Place code in an IIFE // Test: Create an input element, and see if the placeholder is supported if ('placeholder' in document.createElement('input')) { return; } var length = document.forms.length; // Get number of forms for (var i = 0...
/*****************************************************************************/ /* LeaveEntitlementCreate: Event Handlers */ /*****************************************************************************/ Template.LeaveEntitlementCreate.events({ 'click #LeaveEntitlementCreate': (e, tmpl) => { e.preventDefau...
'use strict'; var gulp = require('gulp'); var browserify = require('browserify'); var source = require('vinyl-source-stream'); var tap = require('gulp-tap'); var manifest = require('gulp-concat-filenames'); var mocha = require('gulp-mocha'); var concat = require('gulp-concat'); var stylus = require('gulp-stylus'); var...
angular.module('Speck').controller('SpecsCtrl', ['$scope', '$rootScope', '$http', '$stateParams', '$q', '$mdDialog', '$state', 'DataService',SpecsCtrl]); angular.module('Speck').controller('SendSpecCtrl', ['$scope', '$mdDialog', SendSpecCtrl]); function SpecsCtrl($scope, $rootScope, $http, $stateParams, $q, $mdDialog,...
8.0-alpha2:badca410df5d67215f046e887c774ac15f7e6e102779be798c7cda3454f68833