From 03dd3bd8da8e8185ce43dec09e3b5f71de460bc7 Mon Sep 17 00:00:00 2001 From: Dave C-J Date: Tue, 15 Apr 2014 15:22:06 +0100 Subject: [PATCH] tweak sample nodes to be consistent with ones in main repo --- 99-sample.html.demo | 16 +++++++++------- 99-sample.js.demo | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/99-sample.html.demo b/99-sample.html.demo index e26197aa..c946ad11 100644 --- a/99-sample.html.demo +++ b/99-sample.html.demo @@ -1,5 +1,5 @@ - +
+
- +
@@ -64,10 +65,11 @@ name: {value:""}, // along with default values. topic: {value:"", required:true} }, - inputs:0, // set the number of inputs - only 0 or 1 - outputs:1, // set the number of outputs - 0 to n - icon: "arrow-in.png", // set the icon (held in public/icons) - label: function() { // sets the default label contents + inputs:0, // set the number of inputs - only 0 or 1 + outputs:1, // set the number of outputs - 0 to n + // set the icon (held in icons dir below where you save the node) + icon: "myicon.png", // saved in icons/myicon.png + label: function() { // sets the default label contents return this.name||this.topic||"sample"; }, labelStyle: function() { // sets the class to apply to the label diff --git a/99-sample.js.demo b/99-sample.js.demo index c591185a..bb458c81 100644 --- a/99-sample.js.demo +++ b/99-sample.js.demo @@ -1,5 +1,5 @@ /** - * Copyright 2013 IBM Corp. + * Copyright 2014 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.