This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
treeView.treeModel.currentSession_rootNode.subnodes.forEach(node => node.setCollapsing(true)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Animal { | |
static emote() { | |
let className = this.name;//this.constructor.name; | |
debugger | |
let emote = className == 'Animal' ? 'Cannot call emote() directly from Animal class' : `${className} does not implement execute()`; | |
console.log(emote); | |
return emote; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
const router = express.Router(); | |
const Product = require('../models/Product'); | |
router.get('/', function (req, res, next) { | |
let perPage = 3; | |
let page = parseInt(req.query.page) || 0; | |
let pages = 0; | |
let nextUrl = ''; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"env": { | |
"es6": true, | |
"node": true | |
}, | |
"extends": "eslint:recommended", | |
"parserOptions": { | |
"sourceType": "module" | |
}, | |
"rules": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var qpNotification = { | |
enabled: true, | |
notificationTimeout: 5000, | |
getPermission: function(callback) { | |
if (typeof Notification == 'undefined') { | |
return false; | |
} | |
Notification.requestPermission(function (permission) { | |
if (callback !== undefined) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var YTThumbQuality = { | |
_default: "default", | |
mqdefault: "mqdefault", | |
sddefault: "sddefault", | |
hqdefault: "hqdefault" | |
} | |
var qpNotification = { | |
enabled: true, | |
notificationTimeout: 5000, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#staff_mgmt_org_chart_open_positions>tbody>tr>td>table>tbody>tr td.kc-staffchart-column').each(function(){ | |
if ($(this).text().indexOf("position closed") > -1) { | |
//$(this).css('background-color', "red"); | |
// Get the parent container and the next container with the description | |
var container = $(this).parent().parent().parent().parent().parent(); | |
var description = container.next(); | |
// Fade out closed positions and their description | |
container.css('opacity', '.4'); |
NewerOlder