This file contains 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
// Display a vue component with bindings and return the props data | |
alertVue: async ( options, componentName, propsData ) => { | |
const ComponentClass = Vue.extend ( Vue.component ( componentName ) ); | |
const instance = new ComponentClass ( | |
{ | |
propsData: propsData | |
} | |
); |
This file contains 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
/** | |
* This module provides native variable type checking utilities. | |
* It has no external dependencies. | |
* No parsing or coercion is performed. | |
* | |
* @module TypeUtils | |
*/ | |
const validateUUID = require ( 'uuid-validate' ); | |
// The module definition |
This file contains 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
/** | |
* Sample ES6 classes | |
*/ | |
/** Implement private methods using symbols*/ | |
const _braceFood = Symbol ( 'braceFood' ); | |
// Base class | |
class Being { |
This file contains 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
{ | |
"log_id": "8a459199-a2e2-4b2b-948f-a1d865643d79", | |
"type": "qlab.monitor", | |
"organisation_id": 1, | |
"document_list": [], | |
"created_by": "36cee9a0-3235-43ef-9c24-c1bc6ee8102e", | |
"created_at": "2017-07-28T12:36:19.670Z", | |
"updated_by": "36cee9a0-3235-43ef-9c24-c1bc6ee8102e", | |
"updated_at": "2017-07-28T12:36:19.670Z", | |
"metadata": { |
This file contains 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
{ | |
"EN": { | |
"text": "Barrier breached", | |
"items": [ | |
{ | |
"value": "yes", | |
"text": "Yes" | |
}, | |
{ | |
"value": "no", |
This file contains 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
$(document).ready(function(){ | |
$('#txtInput').bind("cut copy paste",function(e) { | |
e.preventDefault(); | |
}); | |
}); |