Versions of things

Sometimes you just want to know the versions of things you’re using.

Getting Versions of things

<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="true" xmlns:j="jelly:core" xmlns:g="glide" xmlns:g2="null" xmlns:j2="null">
    <g:inline template="ng_head_inline_script.xml" />
    <g:requires name="scripts/angular_includes_1.4.js" includes="true" />
    <g:requires name="styles/css_includes_doctype.css" includes="true" />
    <g:requires name="scripts/lib/jquery_includes.js" />
    <g:requires name="styles/heisenberg/heisenberg_all.css" includes="true" />
    <g:requires name="scripts/heisenberg/heisenberg_all.js" />
        var midVersion = gs.getProperty('mid.version').split('-')[0].toLowerCase();
        var ecma3Versions = [
        var ecma3 = (function (){
          for(var version in ecma3Versions){
            if(midVersion == version){
              return true;
          return false;

        //var currentContext = Context.getCurrentContext(),
        //var rhinoVersion = currentContext.getImplementationVersion();
          rhinoVersion = "Unknown ECMA3 ES3";//
        } else {
          rhinoVersion = "1.7 R5 ECMA5 ES5";
        jQuery( document ).ready(function() {
        if (typeof jQuery != 'undefined') {
            if (typeof angular != 'undefined') {


    <div class="container">
    <div class="row">
        <div class="col-md-6">Instance Version:</div>
        <div id="rhinoVersion" class="col-md-6">${midVersion}</div>
    <div class="row">
        <div class="col-md-6">Rhino version:</div>
        <div id="rhinoVersion" class="col-md-6">${rhinoVersion}</div>
    <div class="row">
        <div class="col-md-6">jQuery version:</div>
        <div id="jQueryVersion" class="col-md-6">...</div>
    <div class="row">
        <div class="col-md-6">Angular version:</div>
        <div id="angularVersion" class="col-md-6"></div>
    <div class="row">
        <div class="col-md-6">Bootstrap version:</div>
        <div id="bootstrapversion" class="col-md-6"><a href="">3.3.6</a></div>


Edit this page

Jace Benson
ServiceNow Developer

ServiceNow is my day job, JAMStack is my passion.