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
/// <reference path="node-cidr.d.ts" /> | |
import { cidr } from 'node-cidr'; |
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
<?xml version='1.0' encoding='UTF-8'?> | |
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:flowable="http://flowable.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/processdef"> | |
<message id="testmessage" name="testmessage"/> | |
<process id="ec7ca606-a4f2-11e7-abc4-cec278b6b50a" name="bug-end-event-terminates-subscriptions" isExecutable="true"> | |
<startEvent id="sid-68AB1FA5-A6A3-4FC3-BAF9-287F523D28FD"/> | |
<userTask id="sid-AEC348F2-DC13-4EF0-AD2F-0D2A4263986C" name="task 1"/> | |
<sequenceFlow id="sid-5AF1E880-8880-4EC2-BD54-299BA0081D4A" sourceRef="sid-68AB1FA5-A6A3-4FC3-BAF9-287F523D28FD" targetRef="sid-AEC348F2 |
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
/** | |
* iCheck integration bindingHandler | |
* | |
* This handler will initialise checkboxes and update them accordingly in both ways | |
* | |
*/ | |
ko.bindingHandlers.iCheck = { | |
/** | |
* We set an event listener: if a checkbox is changed, we update the observable accordingly. | |
* @param el |
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
# bar.coffee | |
root = exports ? this | |
C = root['contracts-js'] | |
{id,hi} = C.use root['foo'], "bar" | |
console.log id 3#ok | |
console.log hi 2 |
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
#foo.coffee | |
root = exports ? this | |
define = root.app.define._define | |
define 'foo',['contracts-js'],(C)-> | |
exports = | |
hello: (x)-> x*x | |
foo: (x)-> x*x*x | |
exports.hello.__contract__ = C.fun(C.Num,C.Num) |
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
if (typeof define === "function" && define.amd) { | |
__define = function (name, deps, callback) { | |
var d, e; | |
if (typeof name !== "string") { | |
d = deps | |
} else { | |
d = callback | |
} | |
//wrapper fun | |
e = function () { |