code
stringlengths
2
1.05M
$(document).ready(function(){ $('.js-menu').each(function(){ var location = window.location.href; location = location.substr(7); location = location.substr(0, location.length -1); location = location.replace(window.location.host, ''); var current = $(this).find(...
'use strict' angular.module('angularUUID2', []).factory('uuid2', [ function() { function s4() { return Math.floor((1 + Math.random()) * 0x10000) .toString(16) .substring(1); } ...
var searchData= [ ['set_5fmove_5fchop',['set_move_chop',['../class_interesting_moves.html#ade3ee68c35c3ba879e5bc6998e2f4e7d',1,'InterestingMoves']]], ['set_5fmove_5fready',['set_move_ready',['../class_interesting_moves.html#a9ca8262424c194066e9188d5c81c7e46',1,'InterestingMoves']]], ['set_5fmove_5ftsk_5ftsk',['se...
'use strict'; require('../../../TestHelper'); /* global bootstrapDiagram, inject */ var modelingModule = require('../../../../lib/features/modeling'); describe('features/modeling - create label', function() { beforeEach(bootstrapDiagram({ modules: [ modelingModule ] })); var rootShape, parentShape, childS...
{ "name": "spin.js", "url": "https://github.com/fgnass/spin.js.git" }
version https://git-lfs.github.com/spec/v1 oid sha256:d7ef87638e89b88d5ced3a082883de8bd6fb72ee1d735ab9248cd98b22ba0a78 size 27951
/* jshint undef:false */ ;(function ($, undefined) { var div, div2; module('All tests', { setup: function() { div = $('<div id="test-div">Test div</div>'); div2 = $('<div style="z-index: 100">Test div #2</div>'); } }); test('if loading jquery function is chainable', function() { ok(d...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }...
var underscorify = require("node-underscorify"); module.exports = { js: { concat: { base: [ "./src/assets/js/vendor/to-bundle/jquery.js" ] }, compile: { src: ["./src/assets/js/*.js"], transform: [ [ underscorify.transform({ extensions: ['html'] }), { global: tru...
var networker = function(){ this.dom=$("#networkStatus"); this.pServer=false; this.dServer=true; var that=this; Util.httpClient.onConnectionStatusChanged=function(error,status){ if(status!="connected"){ that.dServer=false; } else{ that.dServer=tru...
"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")...
/** * Regular Expression for validating IP addresses (number and dots only) */ var validIpAdressRegex = /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/; /** * Assigns message and form element of identities based on their value * * @param identity str...
import Ember from "ember"; import { test, module } from 'qunit'; import startApp from '../helpers/start-app'; import ErrorHandler from "dummy/utilities/error-handler"; var App, originalTestAdapterException, originalLogger; module('PromiseMixin.onError Acceptance Test', { beforeEach: function() { A...
import { Meteor } from 'meteor/meteor'; import { Tracker } from 'meteor/tracker'; import { callbacks } from '../../callbacks'; import { settings } from '../../settings'; import { createMarkdownMessageRenderer, createMarkdownNotificationRenderer } from '../lib/markdown'; import './settings'; export { Markdown } from '...
if(typeof widget_widget == 'undefined') { loadplugin('widget_widget'); } var widget_clock = $.extend({}, widget_widget, { widgetname : 'clock', init_attr: function(elem) { elem.data('format', elem.data('format') || 'H:i:s'); elem.data('interval', elem.data(...
/////////////////////////////////////////////////////////////////////////// // 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...
(function() { 'use strict'; angular .module('davisCru') .config(routeConfig); /** @ngInject */ function routeConfig($stateProvider, $urlRouterProvider, $locationProvider) { $stateProvider .state('pages', { url: '/{pageUrl:.*}', templateUrl: '/app/components/page/page.html', ...
module.exports = { "env": { "es6": true, "node": true }, "extends": "eslint:recommended", "parserOptions": { "sourceType": "module" }, "rules": { "arrow-body-style": [0], "arrow-parens": [0], "comma-dangle": 0, "consistent-return": [0], "glob...
//jshint strict: false module.exports = function(config) { config.set({ basePath: './app', files: [ 'bower_components/angular/angular.js', 'bower_components/angular-route/angular-route.js', 'bower_components/angular-mocks/angular-mocks.js', 'components/**/*.js', 'layouts/**/*.j...
import await { add, getNumber } from "./wasm.wat?1"; export function run() { return add(getNumber(), 2); }
var searchData= [ ['flags_2eh',['flags.h',['../flags_8h.html',1,'']]] ];
import { mount } from '@vue/test-utils'; import SignInPage from '../../src/views/SignInPage'; import makeStore from '../makeStore'; jest.mock('kolibri.urls'); function makeWrapper() { return mount(SignInPage, { store: makeStore(), }); } describe('signInPage component', () => { it('smoke test', () => { ...
(function () { "use strict"; function AppHeaderDirective(eventsService, appState, userService, focusService, backdropService) { function link(scope, el, attr, ctrl) { var evts = []; // the null is important because we do an explicit bool check on this in the view ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeCoreJSOption = normalizeCoreJSOption; exports.default = normalizeOptions; exports.validateUseBuiltInsOption = exports.validateModulesOption = exports.validateIgnoreBrowserslistConfig = exports.validateBoolOption = exports.v...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M21 3h-6.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H3v18h18V3zm-9 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 15l-5-5h3V9h4v4h3l-5 5z" /...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M4 6h18V4H4c-1.1 0-2 .9-2 2v11H0v3h14v-3H4V6zm19 2h-6c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zm-1 9h-4v-7h4v7z" }), 'Phonelin...
/* * 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 { Observable } from 'rxjs'; import { take } from '../../operator/take'; Observable.prototype.take = take; //# sourceMappingURL=take.js.map
/* * AppConstants * Each action has a corresponding type, which the reducer knows and picks up on. * To avoid weird typos between the reducer and the actions, we save them as * constants here. We prefix them with 'yourproject/YourComponent' so we avoid * reducers accidentally picking up actions they shouldn't. * ...
define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', '../common/widget-base', '../common/decorators', '../common/constants'], function (exports, _aureliaDependencyInjection, _aureliaTemplating, _widgetBase, _decorators, _constants) { 'use strict'; Object.defineProperty(exports, "__esModule", { ...
'use strict'; var path = require('path'); var Project = require('../../../lib/models/project'); var Addon = require('../../../lib/models/addon'); var tmp = require('../../helpers/tmp'); var touch = require('../../helpers/file-utils').touch; var assert = require('assert'); var emberCLIVersion = require('.....
/** * 提供常用工具函数 */ define(function () { var _dom = function ( nd ) { var l = 0, self = this; if( _tool.isType( nd, 'NodeList' ) ) { nd = Array.prototype.slice.call( nd, 0); } if( _tool.isType( nd, 'Array' ) ) { l = nd.length; for( var...
import _curryN from './_curryN' export default function _complement (fn) { return _curryN(fn.length, [], function () { return !fn.apply(null, arguments) }) }
"use babel"; // @flow import { applyMiddleware, createStore } from "redux"; import thunk from "redux-thunk"; import reducers from "./Reducers"; import epics from "./Epics"; import { composeWithDevTools } from "remote-redux-devtools"; import { createEpicMiddleware } from "redux-observable"; const epicsMiddleware = cre...
/* ======================================================================== * Bootstrap: transition.js v3.3.0 * http://getbootstrap.com/javascript/#transitions * ======================================================================== * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.co...
import React from 'react' import NewProjectTile from 'routes/Projects/components/NewProjectTile/NewProjectTile' import { shallow } from 'enzyme' describe('(Projects:Component) NewProjectTile', () => { let _component beforeEach(() => { _component = shallow( <NewProjectTile /> ) }) it('Renders', (...
//Returns the private group subscription IF found otherwise it will reutrn the failure of why it didn't. Check the `statusCode` property function findPrivateGroupByIdOrName({ roomId, roomName, userId, checkedArchived = true }) { if ((!roomId || !roomId.trim()) && (!roomName || !roomName.trim())) { throw new Meteor.E...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Converts a hue to an RGB color. * Based on code by Michael Jackson (https://github.com/mjijackson) * * @function Phaser.Display.Color....
define( ["bb.js?bbb"],function (e){ aaaa });
describe('L.mapbox.gridLayer', function() { 'use strict'; var server, element, map; var grid = { grid: [], keys: ["", "1"], data: {"1": "data"} }; for (var i = 0; i < 32; i++) { grid.grid[i] = "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"; ...
var linkifyHtml = (function (linkify) { 'use strict'; /** * generated from https://raw.githubusercontent.com/w3c/html/26b5126f96f736f796b9e29718138919dd513744/entities.json * do not edit */ var HTML5NamedCharRefs = { // We don't need the complete named character reference because linki...
var itunes = require('../common/itunes'); exports.getAlbum = function (req, res) { itunes.lookup({ id: req.params.id, entity: 'album' }, res, 'single'); }; exports.getAlbumTracks = function (req, res) { itunes.lookup({ id: req.params.id, entity: 'song' }, res, 'many'); ...
(function () { 'use strict'; angular.module('ui.tree') /** * @ngdoc service * @name ui.tree.service:$helper * @requires ng.$document * @requires ng.$window * * @description * angular-ui-tree. */ .factory('$uiTreeHelper', ['$document', '$window', function ($document, $window) { ...
/** * @fileoverview Disallow attempted uses of undefined translation strings. */ 'use strict'; const eslintPluginVueUtils = require('eslint-plugin-vue/lib/utils'); const get = require('lodash/get'); const utils = require('../utils'); const $TR_FUNCTION = '$tr'; const create = context => { let hasTemplate; le...
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //------------------------------------------------------...
module.exports={A:{A:{"2":"H D G E A B FB"},B:{"2":"C p z J L N I"},C:{"1":"0 2 3 5 6 8 9 F K H D G E A B C p z J L N I O P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s t u v w x y CB AB","16":"4 aB YB SB"},D:{"1":"0 3 5 6 8 9 u v w x y CB AB MB cB GB b HB IB JB KB","16":"F K H D G E A B C p z","132":"2 J L ...
import repeat from '../string/repeat'; import root from './root'; /* Native method references for those with the same name as other `lodash` methods. */ var nativeCeil = Math.ceil, nativeIsFinite = root.isFinite; /** * Creates the padding required for `string` based on the given `length`. * The `chars` string i...
var $ = function (node) { return document.querySelector(node); }; var $$ = function (nodeList) { return document.querySelectorAll(nodeList); };
var assert = require('assert'); var path = require('path'); var fs = require('fs'); var BillFilePat = require('../bill_file_pat'); describe('BillFilePat', function () { var filePat = null; before(function () { filePat = new BillFilePat(path.join(__dirname, 'data')); }); describe('init', functio...
define(function(require) { 'use strict'; var module = require('../module'); require('../resources/search'); module.controller('BookmarksSearchCtrl', BookmarksSearchCtrl); //--- BookmarksSearchCtrl.$inject = [ '$scope', 'BookmarksSearchResource', 'PaginationFactory', 'InputFocusFactory', '$lo...
/* * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. * Copyright (C) IBM Corp. 2009 All rights reserved. * Copyright (C) 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 * a...
/*globals describe, it, expect, UpgradeList, EquipmentList, SkillList, InjuryList, LuckyMissList, UpgradeListMapper */ describe('UpgradeListMapper', function() { it('returns the model list', function() { var list = UpgradeList.data.concat(EquipmentList.data, SkillList.data, InjuryList.data, LuckyMissList.data); ex...
version https://git-lfs.github.com/spec/v1 oid sha256:ac60e4f431f4235c9383411f0c3e06c05ea01b02e9c65ec6cf9a005fd58c572c size 42429
/** * @module decorators * */ import classWrapper from './class_decorator'; import methodWrapper from './method_decorator'; import methodWrapperScoped from './method_decorator_scoped'; /** * noopDecorator * * @access private * @return {undefined} Returns `undefined` so that the original undecorated...
/** * Change focus to another frame on the page. If the frame id is null, * the server should switch to the page's default content. * * @param {String|Number|null|WebElementJSONObject} id Identifier for the frame to change focus to. * * @see https://w3c.github.io/webdriver/webdriver-spec.html#switch-to-frame ...
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d...
/* The MIT License (MIT) Copyright (c) 2015 Los Andes University 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, modify,...
var module = angular.mock.module; var uiRouter = require("../src/index"); var stateEvents = require("../src/legacy/stateEvents.ts"); var decorateExceptionHandler = require("./util/testUtilsNg1").decorateExceptionHandler; var obj = require('./util/testUtilsNg1').obj; var resolvedValue = require('./util/testUtilsNg1').r...
import { app, BrowserWindow } from 'electron' /** * Set `__statics` path to static files in production; * The reason we are setting it here is that the path needs to be evaluated at runtime */ if (process.env.PROD) { global.__statics = require('path').join(__dirname, 'statics').replace(/\\/g, '\\\\') } let mainW...
$(document).ready(function() { //Turn all div with the report demo folder tree class into jstrees $('#jstree').jstree({ 'core': { 'data': { 'url': function(node) { return $('#jstree').data('url'); }, 'data': function(node) {...
module.exports = function(grunt) { grunt.initConfig({ ts: { options: { comments: false, compile: true, module: 'amd', target: 'es5', sourceMap: false }, default: { src: [ "!../../**/webgl.d.ts", "../../src/**/*.ts" ] } } }); grunt.loadNpmTasks("grunt-ts"); grunt....
var Node = require("./node"), JsEvalNode = require("./js-eval-node"), Variable = require("./variable"); var Quoted = function (str, content, escaped, index, currentFileInfo) { this.escaped = (escaped == null) ? true : escaped; this.value = content || ''; this.quote = str.charAt(0); this.index =...
import { MODAL_MARGIN } from 'react-mobile-navigation-core'; import styled from 'styled-components'; export default styled.div` box-sizing: border-box; display: flex; height: 100%; margin: 0 auto; overflow: hidden; padding-left: ${MODAL_MARGIN}px; padding-right: ${MODAL_MARGIN}px; width: 100%; & * { ...
export default 'first';
// Grab the last element of an array. export default function last(array) { return array[array.length - 1]; }
/* * 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. */ '...
version https://git-lfs.github.com/spec/v1 oid sha256:7732abb9d5e64f4a66c02791f60eff3ccc1e4f346917c0af910b1a1e3e007be1 size 38029
import { Provider } from '../' export default function DebuggerProvider(devtools) { return Provider( { send(debuggerData) { devtools.sendExecutionData( debuggerData, this.context.execution, this.context.functionDetails, this.context.props ) }, ...
// # Frontend Route tests // As it stands, these tests depend on the database, and as such are integration tests. // Mocking out the models to not touch the DB would turn these into unit tests, and should probably be done in future, // But then again testing real code, rather than mock code, might be more useful... va...
import "../Shared/_Layout";
import counterpart from "counterpart"; export default class TitleUtils { /** * uses the router path to generate titles * @return string value to be used by document.title or equivalent */ static GetTitleByPath(path) { let title = "BitShares"; let lastPart = null; let pr...
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- /* Not including this in documentation of the public API @module azure-mobile-apps/src/express/tabl...
StandaloneDashboard(function(db) { var c1 = new ChartComponent(); c1.setCaption ("Column Chart"); c1.setDimensions(4,4); c1.setLabels(['January', 'February', 'March', 'April', 'May']); c1.addSeries("seriesA", 4234, [1, 3, 5, 1, 9]) c1.addSeries("seriesB", "Series B", [3, 1, 9, 2, 3]) db.add...
datab = [{},{"DIMSE Service Element":{"colspan":"1","rowspan":"1","text":"N-GET"},"Usage SCU/SCP":{"colspan":"1","rowspan":"1","text":"M/M"}}];
module.exports = function(grunt) { 'use strict'; grunt.loadNpmTasks('grunt-metascript'); grunt.initConfig({ metascript: { main: { options: { mode: 'transform' }, files: [ { expand: true, cwd: 'Sources', src: ['**/...
require('./asciidoctor-docbook.min.js')(Opal); if (loadExtensions) require('./asciidoctor-extensions.min.js')(Opal); return Opal.Asciidoctor; } } }
import $ from 'jquery'; import Handlebars from 'handlebars'; var templatesManager = (function () { var templatesManager = { load: function (id) { var template = $('#' + id).html(); var compiledTemplate = Handlebars.compile(template); return compiledTemplate; } ...
(function() { window.plugins.force = { bind: function(div, item) {}, emit: function(div, item) { return wiki.getScript('/js/d3/d3.js', function() { return wiki.getScript('/js/d3/d3.geom.js', function() { return wiki.getScript('/js/d3/d3.layout.js', function() { var fill, f...
/* * 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. */ /...
var requireHelper = require('../../require_helper'); var chai = require("chai"); var expect = chai.expect; describe('Response header verifier', function() { var verifier = requireHelper('./verifier/header'); var sample = require('./../sample-pact.json'); it('should be able to verify the response contains...
tQuery.registerStatic('createTweenMidi', function(maxAge, attackTime, releaseTime){ return function(age){ if( age < attackTime ){ return age / attackTime }else if( age < maxAge - releaseTime ){ return 1; }else{ return (maxAge - age) / releaseTime } } })
'use strict'; const common = require('../common'); const assert = require('assert'); const fs = require('fs'); const tmpdir = require('../common/tmpdir'); tmpdir.refresh(); { const stream = fs.createReadStream(__filename); stream.on('close', common.mustCall()); test(stream); } { const stream = fs.createWrite...
import Dexie from 'dexie'; import {module, stop, start, asyncTest, equal, ok} from 'QUnit'; import {resetDatabase} from './dexie-unittest-utils'; "use strict"; var db = new Dexie("TestDBTrans"); db.version(1).stores({ users: "username", pets: "++id,kind", petsPerUser: "++,user,pet" }); modul...
/** * Tab Host control contains tabs known as TabPages. * The tab strip can be aligned in different orientations */ dockspawn.TabHost = function(tabStripDirection, displayCloseButton) { /** * Create a tab host with the tab strip aligned in the [tabStripDirection] direciton * Only dockspawn.TabHost.DIRE...
// Used by FAEditor to determine if the given graph will accept the given input string. // This is necessary to determine whether the strings should be displayed in red or green in the JSAV array. var willReject = function (graph, inputString) { // Start with the closure of the initial state. var currentStates = [gra...
smalltalk.addPackage('Flow-Examples', {}); smalltalk.addClass('ToDo', smalltalk.PersistentModel, ['name', 'description'], 'Flow-Examples'); smalltalk.addMethod( unescape('_name'), smalltalk.method({ selector: unescape('name'), category: 'accessing', fn: function (){ var self=this; return self['@name']; return...
module('atlas'); test('test', function () { var atlas = new Fire.Atlas(); ok(atlas instanceof Fire.Asset, 'atlas is instanceof Fire.Asset'); });
// @flow const _ = require(`lodash`) const { GraphQLInt, GraphQLList, GraphQLString, GraphQLEnumType, } = require(`graphql`) const { connectionArgs, connectionDefinitions, connectionFromArray, } = require(`graphql-skip-limit`) const { buildFieldEnumValues } = require(`./data-tree-utils`) module.exports ...
import React, { Component } from 'react'; import { Button } from 'primereact/button'; import { Messages } from 'primereact/messages'; import { ProgressBar } from 'primereact/progressbar'; import { DomHandler, classNames, IconUtils, ObjectUtils } from 'primereact/utils'; import { Ripple } from 'primereact/ripple'; impor...
var RoundNode = require("../RoundNode"); module.exports = (function () { var o = function (graph) { RoundNode.apply(this, arguments); var superDrawFunction = this.draw; this.attributes(["rdf"]) .label("Resource") .radius(30) .styleClass("rdfsresource") .type("rdfs:Resource"); this.draw = funct...
const fs = require('fs'); const path = require('path'); const check = process.argv.includes('--check'); const dictsPath = path.resolve(__dirname, '..', '..', 'third_party', 'hunspell_dictionaries'); const gclientPath = 'third_party/hunspell_dictionaries'; const allFiles = fs.readdirSync(dictsPath); const dictionari...
tQuery.registerStatic('MirrorBall', function(opts){ // call parent ctor tQuery.MirrorBall.parent.constructor.call(this) // handle arguments default value opts = tQuery.extend(opts, { world : tQuery.world, textureW: 512, }); // setup local variables var world = opts.world; var container = this; // create ...
var map = require('map-stream'); var fs = require('graceful-fs'); module.exports = function(opt) { return map(function (file, cb) { fs.stat(file.path, function (err, stat) { if (err) return cb(err); file.stat = stat; cb(null, file); }); }); };
/** * INSPINIA - Responsive Admin Theme * 2.6.2 * * Custom scripts */ $(document).ready(function () { // Full height function fix_height() { var heightWithoutNavbar = $("body > #wrapper").height() - 61; $(".sidebard-panel").css("min-height", heightWithoutNavbar + "px"); var navb...
import Ember from 'ember'; import ToriiFirebaseAdapter from 'emberfire/torii-adapters/firebase'; export default ToriiFirebaseAdapter.extend({ firebase: Ember.inject.service() });
import TextBlockComponent from '../../ui/TextBlockComponent' class CodeblockComponent extends TextBlockComponent { render($$) { let el = super.render.call(this, $$) return el.addClass('sc-codeblock') } } export default CodeblockComponent
/* global server */ import Ember from 'ember' const {run} = Ember export default function destroyApp (application) { run(application, 'destroy') server.shutdown() }
// // Files Controller // 'use strict'; var multer = require('multer'), settings = require('./../config').files; module.exports = function() { if (!settings.enable) { return; } var app = this.app, core = this.core, middlewares = this.middlewares, mo...
/* */ define(['exports', './aurelia-logging-console'], function (exports, _aureliaLoggingConsole) { 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); Object.keys(_aureliaLoggingConsole).forEach(function (key) { if (key === "default" || key === "__esModule") return; Objec...