code
stringlengths
2
1.05M
$(function() { var pUploader = new qq.FileUploader({ element: document.getElementById('photos-uploader'), action: usedcar.resourceURL, onSubmit : function() { pUploader.setParams({ vin : $("#VIN").val(), action : 'upload-photo' }); } }); var tUploader = new qq.FileUplo...
'use strict'; import window from 'global/window'; import document from 'global/document'; import mejs from '../core/mejs'; import {renderer} from '../core/renderer'; import {createEvent} from '../utils/general'; import {typeChecks} from '../utils/media'; /** * YouTube renderer * * Uses <iframe> approach and uses Y...
/*jslint node: true */ /*global describe, it */ "use strict"; var assert = require('assert'); var skein = require('../build/Release/skein'); describe('Echo test', function () { describe('echo test', function () { it('should echo buffer object', function (done) { var crypto = new skein.Crypto(); ...
'use strict'; const chalk = require('chalk'); const EOL = require('os').EOL; module.exports = function(initialMargin, shouldDescriptionBeGrey) { initialMargin = initialMargin || ''; let output = ''; let options = this.anonymousOptions; // <anonymous-option-1> ... if (options.length) { output += ` ${c...
import React from 'react'; import {connect} from 'react-redux'; let SearchOptions = () => { const handleClick = (e) => { debugger; } return ( <div className='in-line'> <button onClick={handleClick}>Case</button> </div> ) } export default SearchOptions;
'use strict'; //Setting up route angular.module('leagues').config(['$stateProvider', function($stateProvider) { // Leagues state routing $stateProvider. state('listLeagues', { url: '/leagues', templateUrl: 'modules/leagues/views/list-leagues.client.view.html' }). state('createLeague', { url: '/leag...
/* demo/test/004-ship-controls.js */ define ([ 'keypress', 'physicsjs', 'howler', '1401/objects/sysloop', '1401/settings', '1401/system/renderer', '1401/system/visualfactory', '1401/system/piecefactory', '1401-games/demo/modules/controls' ], function ( KEY, PHYSICS, HOWLER, SYSLOOP, SETTINGS, RENDERER, ...
(function () { 'use strict'; angular.module('haceruido.main', ['ngRoute']) .controller('MainCtrl', MainCtrl); MainCtrl.$inject = ['$scope', '$location']; function MainCtrl($scope, $location) { var vm = this; vm.posts = []; vm.ver = ver; //var refFull = new Fi...
/* */ 'use strict'; Object.defineProperty(exports, "__esModule", {value: true}); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin'); var _reactAddonsPureRenderMixin2 = _interopRequireDefault(_reactAddonsPureRenderMixi...
angular .module('app', [ "ui.router" ]) .config(['$urlRouterProvider', '$stateProvider', function($urlRouterProvider, $stateProvider) { $urlRouterProvider.otherwise('/'); $stateProvider //-----home-----// .state('home', { url: '/', templateUrl: 'templates/home.html' }) //-----about-----// ...
const { SevenBoom } = require('graphql-apollo-errors'); module.exports = async (root, { _id }, ctx) => { // get model const { Card } = ctx.db; const card = await Card.findById(_id); // if not found throw 404 if (!card) { const errorMessage = `Card with id: ${ _id } not found`; const errorData = { ...
const path = require('path'); const assert = require('assert'); const common = require('../../common.js'); const CommandGlobals = require('../../lib/globals/commands.js'); const MockServer = require('../../lib/mockserver.js'); const {settings} = common; const {runTests} = common.require('index.js'); describe('testRunW...
import Schema from '@lyra/schema' export default Schema.compile({ name: 'myBlog', types: [ { type: 'object', name: 'blogPost', fields: [ { title: 'Title', type: 'string', name: 'title' }, { title: 'Body', name: 'body', ...
import Ember from 'ember'; export default Ember.Controller.extend({ flashMessages: Ember.inject.service(), actions: { emailWarn(status) { const ev = status.emailValidator; const flash = this.get('flashMessages'); console.log(status); if(ev.code === 'cleared-warning') { flash.su...
//============================================================================= // CharacterScaleChanger.js // ---------------------------------------------------------------------------- // Copyright (c) 2017-2019 Tsumio // This software is released under the MIT License. // http://opensource.org/licenses/mit-license....
'use strict'; import gulp from 'gulp'; import webpack from 'webpack-stream'; import config from '../config'; // use webpack.config.js to build modules gulp.task('webpack', () => { return gulp.src(config.paths.js.entry) .pipe(webpack(require('../webpack.config'))) .pipe(gulp.dest(config.paths.js.dest)); });
import React from 'react' import ReactDOM from 'react-dom' import { AppContainer } from 'react-hot-loader' import { Provider } from 'react-redux' import configureStore from './src/store' import App from './src/App' const store = configureStore({}) // if (process.env.NODE_ENV !== 'production') { // const { whyDidYo...
// Universal Links (iOS) and depp links (Android) support function Links(phonegap) { "use strict"; function onLink(event) { beyond.navigate(event.path); } function onPhonegapReady() { if (beyond.params.local) { return; } var ul = window.universalLinks; ...
/** */ (function (cornerstoneWADOImageLoader) { "use strict"; function convertYBRFullByPlane(imageFrame, rgbaBuffer) { if (imageFrame === undefined) { throw "decodeRGB: ybrBuffer must not be undefined"; } if (imageFrame.length % 3 !== 0) { throw "decodeRGB: ybrBuffer length must be divisb...
//idyangu // angular.module is a global place for creating, registering and retrieving Angular modules // 'idyangu' is the name of this angular module example (also set in a <body> attribute in index.html) // the 2nd parameter is an array of 'requires' // 'idyangu.services' is found in services.js // 'idyangu.control...
import EventEmitter from 'events' import NetworkHandler from '../src/handler/network' import eventLog from './__fixtures__/events.json' class MyEmitter extends EventEmitter {} test('network handler', () => { const cdpMock = new MyEmitter() const handler = new NetworkHandler(cdpMock) eventLog.forEach((lo...
module.exports = function (path) { return require((process.env.APP_DIR_FOR_CODE_COVERAGE || '../') + 'lib/' + path); };
import {all, call, put, select, takeEvery} from 'redux-saga/effects'; import { createClassroomAssignment, getCourses, } from '../clients/googleClassroom'; import {createProjectSnapshot} from '../clients/firebase'; import {assignmentCreated, assignmentNotCreated} from '../actions/assignments'; import {coursesFullyL...
// # Ghost Data API // Provides access from anywhere to the Ghost data layer. // // Ghost's JSON API is integral to the workings of Ghost, regardless of whether you want to access data internally, // from a theme, an app, or from an external app, you'll use the Ghost JSON API to do so. var _ = require('lo...
'use strict'; var util = require('util'); var yeoman = require('yeoman-generator'); var ComponentServiceGenerator = yeoman.generators.NamedBase.extend({ init: function () { console.log('Generating a service component called ' + this.name + '.'); }, files: function () { var dir = 'app/components/' + this...
export const REQUEST_POSTS = 'REQUEST_POSTS' export const RECEIVE_POSTS = 'RECEIVE_POSTS' export const SELECT_REDDIT = 'SELECT_REDDIT' export const INVALIDATE_REDDIT = 'INVALIDATE_REDDIT' export function selectReddit(reddit) { return { type: SELECT_REDDIT, reddit } } export function invalidateReddit(reddit...
'use strict'; var Config = require('../src/config'); var fs = require('fs'); var sh = require('shelljs'); describe('Config', function() { var config = new Config(); afterEach(function() { sh.rm('-rf', './config/'); }); describe('Create config', function() { it('should call init and isExistOrCreate t...
/* (c) Copyright 2016-2019 Hewlett Packard Enterprise Development LP 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...
// HumanizeDuration.js - https://git.io/j0HgmQ ;(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/HumanizeDuration.js/issues/143 for more. ...
module.exports = function(FileModel) { };
"use strict"; const _ = require('lodash'); const request = require('request-promise'); const Promise = require('bluebird'); const RequestParameters = require('./request-parameters'); const uriTemplate = _.template('Vanguard/Grimoire/${membershipType}/${membershipId}/'); const parameters = new RequestParameters([{ ...
var fs = require('fs'), path = require('path'), os = require('os'), vfs = require('../lib/fs'), tmpDir = os.tmpdir || os.tmpDir || function() { return '/tmp'; }, TEST_DIR = path.join(__dirname, 'test-dir'); module.exports = { setUp : function(done) { fs.mkdirSync(TEST_DIR); ...
/** * @author alteredq / http://alteredqualia.com/ */ var Clock = function(autoStart) { this.autoStart = (autoStart !== undefined) ? autoStart : true; this.startTime = 0; this.oldTime = 0; this.elapsedTime = 0; this.running = false; } Object.assign(Clock.prototype, { start: function() { this.startTime ...
'use strict'; var exec = require('child_process').exec, MotorBoat = require('motorboat'), CommandError = require('./command/command-error'); function SpeedBoat(options) { MotorBoat.call(this, options); } SpeedBoat.prototype = Object.create(MotorBoat.prototype); SpeedBoat.prototype.constructor = SpeedBoat;...
var collide = require('../'); var test = require('tape'); test('collisions', function (t) { var a = { left: 4, right: 8, top: 100, bottom: 140 }; var b = { left: 6, top: 90, height: 20, width: 1 }; var c = { x: -3, y: 20, width: 400, height: 300 }; var d = { x: 2, y: 8 }; var e = { x: 0, y: 0, widt...
const { readFileSync, writeFileSync } = require('fs') const { resolve } = require('path') const { version } = require('../../package.json') const MANIFEST_PATH = resolve(__dirname, '../../assets/manifest.json') const TARGET_PATH = resolve(__dirname, '../../build/manifest.json') function getContent() { const manifes...
/** * Created by hstancu on 11/18/2016. */ function divshow(url_name, backup_name) { document.getElementById("divPicture").style.backgroundImage = "url('" + url_name + "'),url('" + backup_name + "')"; document.getElementById("divPicture").style.backgroundRepeat = "no-repeat"; document.getElementById("div...
app.factory('Routine', ['DataModel', 'Config', '$http', function (DataModel, Config, $http) { // Constructor function Routine(data) { if (data) { this.setData(data); } }; // Methods Routine.prototype = new DataModel(Config.HostServic...
Clazz.declarePackage ("J.shape"); Clazz.load (["J.shape.AtomShape"], "J.shape.Halos", ["JU.BSUtil", "$.C"], function () { c$ = Clazz.decorateAsClass (function () { this.colixSelection = 2; this.bsHighlight = null; this.colixHighlight = 10; Clazz.instantialize (this, arguments); }, J.shape, "Halos", J.shape.AtomS...
import Ember from 'ember'; import { task, drop, restartable, enqueue, maxConcurrency } from 'ember-concurrency'; import { enqueueTasksPolicy, dropQueuedTasksPolicy, cancelOngoingTasksPolicy, } from 'ember-concurrency/-buffer-policy'; let decorators = { drop, restartable, enqueue }; const decoratorPolicies = [ ...
/*jshint node:true*/ /* global require, module */ var EmberApp = require('ember-cli/lib/broccoli/ember-app'); module.exports = function(defaults) { var app = new EmberApp(defaults, { // Add options here }); // Use `app.import` to add additional libraries to the generated // output files. // // If you ...
describe('Tesselation', function() { var myBase, myTess; beforeEach(function() { myBase = new Polygon(60, 60, 60, 0, 6); myTess = new Tesselation(60,60, myBase, 3, true); }); describe('init', function() { it('initalizes with a baseGon', function() { expect(myTess.ba...
packages[pkg] !== "read-write";
/* globals Polymer:false, console:false */ 'use strict'; Polymer('vege-table-leaf', { value: null, stringValue: null, type: '', specialType: true, specialTypes: ['json', 'html', 'xml', 'url', 'object', 'image', 'element', 'counts'], typeChanged: function() { this.specialType = (this.specialTypes.index...
/** * @license * PlayCanvas Engine v1.50.0 revision e397e986a * Copyright 2011-2021 PlayCanvas Ltd. All rights reserved. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (...
const express = require('express'); const router = express.Router(); const md5 = require('md5'); router.get('/', (req, res) => { res.render('changePassword', { title: 'Đổi mật khẩu' }); }); router.post('/', (req, res, next) => { const q = req.body; if (!q.oldPassword || !q.password || !q.retype) { return next...
//>>built define(["dojo/_base/declare","dojo/_base/lang","dojo/_base/json","dojo/has","esri/kernel","esri/lang","esri/graphicsUtils","esri/tasks/NATypes"],function(f,k,c,l,m,g,e,h){return f(null,{declaredClass:"esri.tasks.ClosestFacilityParameters",accumulateAttributes:null,attributeParameterValues:null,defaultCutoff:n...
module.exports = function(grunt) { var qunit = require("qunit"); var log = qunit.log; grunt.registerMultiTask("node-qunit", "Runs node-qunit ", function() { var done = this.async(), started = new Date(), callback = this.data.callback; // Setup Qunit qunit.setup(this.data.setup || { log: { summary...
'use strict'; module.exports = function soap(echo) { return echo; };
/** * @license Highcharts Gantt JS v9.3.0 (2021-10-21) * * Tree Grid * * (c) 2016-2021 Jon Arild Nygard * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; module.exports = factory; ...
import React, { Component } from 'react' import { connect } from 'react-redux' import { Field, reduxForm } from 'redux-form' import BackButton from '../BackButton' import tomsterLogo from '../../images/tomster23.png' import doggyLogo from '../../images/dog11.png' import gridLogo from '../../images/option-grid.png' exp...
console.log('build/webpack.base.conf.js'); var path = require('path') var utils = require('./utils') var config = require('../config') var vueLoaderConfig = require('./vue-loader.conf') function resolve(dir) { return path.join(__dirname, '..', dir) } module.exports = { entry: { app: ['babel-polyfill'...
/* Highcharts Gantt JS v9.3.3 (2022-02-01) Tree Grid (c) 2016-2021 Jon Arild Nygard License: www.highcharts.com/license */ 'use strict';(function(h){"object"===typeof module&&module.exports?(h["default"]=h,module.exports=h):"function"===typeof define&&define.amd?define("highcharts/modules/treegrid",["highcharts"...
'use strict'; // Configuring the Customers module angular.module('customers').run(['Menus', function (Menus) { Menus.addMenuItem('topbar', { title: 'Manage Customers', state: 'customers', icon: 'fa-users', type: 'dropdown' }); // Add the dropdown list item Menus.a...
'use strict' const thunk = require('thunks')() const tool = require('./tool') const sendCommand = require('./connection').sendCommand // (Disque 0.0.1) `disque command` // `node check-commands.js` const commandsInfo = { ackjob: [-1, ['write', 'fast'], 0, 0, 0], addjob: [-4, ['write', 'denyoom', 'fast'], 0, 0, 0],...
// # **TickModel** // A Backbone.Model that represents the data required to build a CMapTickView. The model contains // a data object that has keys for each row to display in the view and array values for each tick // to display in each row. An example data object might look like this: // {PC3: [.23,-.28], MCF7: [...
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import withStyles from 'isom...
import fs from 'fs-extra'; import path from 'path'; import express from 'express'; import multer from 'multer'; import config from 'config'; import logger from '../lib/logger'; import { basename } from '../public/js/core/utils'; const publicDirectory = path.resolve(__dirname, '..', 'public'); const uploadDirectory = p...
var gulp = require('gulp'); var mainBowerFiles = require('main-bower-files'); var bower = require('gulp-bower'); var uglify = require('gulp-uglify'); var mincss = require('gulp-cssmin'); var concat = require('gulp-concat'); var ignore = require('gulp-ignore'); var del = require('del'); var lib = 'wwwroot/dist'; v...
import config from 'config'; import path from 'path'; import api from '~/api/index.js'; export const PROVIDER_TYPE = { MOVIES: 'movies', SHOWS: 'shows' }; const providers = {}; /** * Get the correct API provider for a given provider type. * * @param {String} providerType -- PROVIDER_TYPE.MOVIES or PROVIDER_T...
describe('tooltip', function() { var elm, elmBody, scope, elmScope, tooltipScope, $document; // load the tooltip code beforeEach(module('ui.bootstrap.tooltip')); // load the template beforeEach(module('template/tooltip/tooltip-popup.html')); beforeEach(inject(function($rootS...
search_result['3591']=["topic_000000000000089F_attached_props--.html","PostVacancyStageListDto Attached Properties",""];
var EvolutionGame = EvolutionGame || {}; EvolutionGame.GameState = { create: function() { this.background = this.game.add.sprite(0, 0, 'space'); //fundo this.background.inputEnabled = true; this.game.physics.startSystem(Phaser.Physics.ARCADE); this.playerManager = new EvolutionGame.PlayerManager(thi...
/** * @class PrettyJSON.view.Row * @extends Backbone.View * * @author #rbarriga * @version 0.1 * */ PrettyTable.view.Row = Backbone.View.extend({ initialize:function(opt) { this.el = $('<tr />'); this.counterpart = opt.counterpart; //used by comparer this.model = opt.model; ...
(function() { var interval, t; t = 10; interval = setInterval(function() { if (t > 0) { return console.log(t--); } else { console.log('BLAST OFF!'); return phantom.exit(); } }, 1000); }).call(this);
/*! * Bootstrap-select v1.13.16 (https://developer.snapappointments.com/bootstrap-select) * * Copyright 2012-2020 SnapAppointments, LLC * Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE) */ (function (root, factory) { if (root === undefined && window !== unde...
module.exports={title:"Ionic",hex:"3880FF",source:"https://ionicframework.com/press",svg:'<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>Ionic Icon</title><path d="M12 6.53A5.476 5.476 0 0 0 6.53 12c0 3.014 2.452 5.47 5.47 5.47s5.47-2.456 5.47-5.47S15.014 6.53 12 6.53zM22.345 4.523a2.494 ...
/** * Tom Select v1.3.0 * Licensed under the Apache License, Version 2.0 (the "License"); */ import TomSelect from '../../tom-select.js'; import getSettings from '../../getSettings.js'; import { addEvent } from '../../utils.js'; /** * Plugin: "change_listener" (Tom Select) * Copyright (c) contributors * * License...
/*! * Copyright (c) 2017 ~ present NAVER Corp. * billboard.js project is licensed under the MIT license * * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * * @version 3.1.5 * @requires billboard.js * @summary billboard.js plugin */ import { select } from 'd3-selection'...
import { W as WidgetBehavior } from './index-e00f48fc.js'; class FormatterBehavior extends WidgetBehavior { static get formatter() {} static get params() { return { localized: true, }; } init() { super.init(); } connected() { super.connected(); this.apply(); } changed(nam...
/* Highstock JS v9.0.1 (2021-02-15) Advanced Highstock tools (c) 2010-2021 Highsoft AS Author: Torstein Honsi 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/price-ind...
import { registerVersion, _registerComponent, _getProvider, getApp } from 'https://www.gstatic.com/firebasejs/9.6.2/firebase-app.js'; /** * @license * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licens...
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ * * Version: 5.10.1 (2021-11-03) */ (function () { 'use strict'; ...
const path=require("path");module.exports={mode:"production",entry:["babel-polyfill","./src/bowser.js"],output:{path:path.resolve(__dirname,"dist"),filename:"bowser.compiled.js",library:"bowser",libraryTarget:"umd",globalObject:"this"},module:{rules:[{test:/\.js$/,exclude:/(node_modules|bower_components)/,use:{loader:"...
var chai = require('chai'); var expect = chai.expect; var chaiAsPromised = require('chai-as-promised'); chai.use(chaiAsPromised); var app = require('../../../app.js'); var models = require('../../../models'); var utils = require('../../utils'); var server; describe('/quiz/:id', function() { var qd; before(funct...
/* Kazakh (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Dmitriy Karasyov (dmitriy.karasyov@gmail.com). */ (function (factory) { // AMD. Register as an anonymous module. module.exports = factory(require('../datepicker'));; }(function (datepicker) { datepicker.regional['k...
//= require chartkick //= require Chart.bundle
/* * Globalize Culture tr-TR * * http://github.com/jquery/globalize * * Copyright Software Freedom Conservancy, Inc. * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * This file was generated by the Globalize Culture Generator * Translation: bugs found in this f...
--- permalink: "/projects/the-cost-of-education/map-hamilton-county-school-spending/map.js" --- (function() { "use strict"; var container = document.querySelector("#container"), map = document.querySelector("#map"), sliders = document.querySelector("#sliders"), mobile = +(container.offsetWidt...
class Search { constructor() { this.searchElement = document.querySelector('#search'); this.resultsContainer = document.querySelector('.results'); this.stationPreview = new StationPreview(); this.autoComplete = this.autoComplete.bind(this); this.onClick = this.onClick.bind(this); this.regist...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
import $ from 'dom7'; import { window, document } from 'ssr-window'; import Utils from '../../utils/utils'; import Device from '../../utils/device'; const Input = { ignoreTypes: ['checkbox', 'button', 'submit', 'range', 'radio', 'image'], createTextareaResizableShadow() { const $shadowEl = $(document.createEle...
'use strict'; module.exports = require('./build/index');
import npm from '../adapters/npm'; import S3 from '../adapters/s3'; export default async (event, context, callback) => { const { registry, bucket, region } = process.env; const storage = new S3({ region, bucket }); const name = `${decodeURIComponent(event.name)}`; const tarName = `${decodeURIComponent(event.t...
/** * @class ShadowTemplate * @classdesc Mixin for stamping a template into a Shadow DOM subtree upon * component instantiation * * If a component defines a template property (as a string or referencing a HTML * template), when the component class is instantiated, a shadow root will be * created on the instance,...
/** * Retrieves the devices location. * @see extend * * @author Joseph Fehrman * @since 07/09/2016 * @return Promise chain representing coordinates. */ function locale(options){ /** * Private object designed to house coordinates. */ var Location = function(latitude, longitude , options){ this.long...
//////////////////////////////////////////////////////////////////////////////////////////// // The MIT License (MIT) // // // // Copyright (C) 2015 Christopher Mejía ...
/** * jQuery Horizontal Navigation 1.0 * https://github.com/sebnitu/horizontalNav * * By Sebastian Nitu - Copyright 2012 - All rights reserved * Author URL: http://sebnitu.com */ (function($) { $.fn.horizontalNav = function(options) { // Extend our default options with those provided. var op...
//event.js //Handle keyboard/mouse/touch events in the Canvas (function() { //returns an O3D object or false otherwise. function toO3D(n) { return n !== true ? n : false; } //Returns an element position var getPos = function(elem) { var bbox = elem.getBoundingClientRect(); return { x:...
/*! Animatelo | The MIT License (MIT) | Copyright (c) 2017 GibboK */ ; (function (animatelo) { 'use strict'; animatelo.swing = function (selector, options) { var keyframeset = [ { "transform": 'rotate3d(0, 0, 1, 0deg)', "offset": "0", "easing":...
var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err;...
(function($) { /** * Moves elements to/from the first positions of their respective parents. * @param {jQuery} $elements Elements (or selector) to move. * @param {bool} condition If true, moves elements to the top. Otherwise, moves elements back to their original locations. */ $.prioritize = function...
angular.module('directives.crud.edit', []) // Apply this directive to an element at or below a form that will manage CRUD operations on a resource. // - The resource must expose the following instance methods: $saveOrUpdate(), $id() and $remove() .directive('crudEdit', ['$parse', function($parse) { return { // W...
var mach = require("mach"); var Ambidex = require("../../Ambidex.server.js"); var utilities = require("../utilities.js"); function TardisGallery( { ambidexPromises, settings } ) { var customSettings = settings; settings = utilities.recursiveCloneWithDefaults( customSettings, require("./s...
'use strict'; // Setting up route angular.module('users').config(['$stateProvider', function($stateProvider) { // Users state routing $stateProvider. state('app.profile', { url: '/settings/profile', templateUrl: 'modules/users/views/settings/edit-profile.client.view.html' }). state('app.password', { ...
angular.module('common') .factory('UserDataProvider', [ '$http', '$q', function ($http, $q) { var getTablet = function(userId) { var defered = $q.defer(); var tabletPromise = defered.promise; $http({ ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.encodeVersion = encodeVersion; exports.encodeHeader = encodeHeader; exports.encodeU32 = encodeU32; exports.encodeVec = encodeVec; exports.encodeValtype = encodeValtype; exports.encodeMutability = encodeMutability; exports.encodeUTF8...
/* @flow */ import React from 'react'; import { Field, reduxForm } from 'redux-form'; import { graphql, compose } from 'react-apollo'; import styled from 'styled-components'; // internal import Button from '@boldr/ui/Button'; import Heading from '@boldr/ui/Heading'; import { Control, FormField, Form, TextFormField } fr...
var fs = require('fs') var path = require('path') var mkdirp = require('mkdirp') var rimraf = require('rimraf') var test = require('tap').test var npm = require('../../') var common = require('../common-tap.js') var pkg = common.pkg var cache = common.cache test('npm version <semver> updates shrinkwrap - no git', f...
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Copyright (c) 2021 ChakraCore Project Contributors. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full l...