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
var context={ | |
fruits:[ | |
{ | |
name:'apples', | |
label:'I like salted apples', | |
value:'1', | |
info:{ | |
some_data:'Have some more apples!' |
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
var server = require('store').server; | |
var user = server.current(session); | |
print('username : '+ user.username); |
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
var tenantApi = require('/modules/tenant-api.js').api; | |
var tenantDetails = tenantApi.createTenantDetails(request,session); | |
print('Tenant Id: '+tenantDetails.tenantId); | |
print('Tenant domain: '+tenantDetails.domain); | |
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
var renderLCActions = function() { | |
var container = config(constants.CONTAINER_LC_ACTION_AREA); | |
var impl = LifecycleAPI.lifecycle(); | |
var actions; | |
var action; | |
// var action; | |
if (impl) { | |
actions = impl.actions(); | |
var data = {}; | |
var map = data.actions = []; |
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
var ws = require('ws'); | |
var log = new Log(); | |
var stub = new ws.WSStub('http://api.bioinfo.no/wsdl/EchoService.wsdl'); | |
Object.keys(stub.services.EchoService.operations).forEach(function(key){log.info('key ' + key)}); | |
var sayHi = stub.services.EchoService.operations.SayHi; | |
var payload = sayHi.payloadXML(); | |
payload = payload.replace('?','Meow'); | |
log.info(sayHi.request(payload)); |
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
.my-icon { | |
background: transparent url(../img/gadget.png) no-repeat center; | |
padding: 9px; | |
} | |
.my-icon.fw-lg { | |
width:30px; | |
height:30px; | |
} |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
{{> title}} | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> |
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
asset.configure = function(){ | |
return { | |
meta: { | |
ui: { | |
icon:'my-icon' | |
} | |
} | |
}; | |
}; | |
~ |
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
<table name="Tests"> | |
<field type="text"> | |
<name label="Test File">plan</name> | |
</field> | |
</table> |
OlderNewer