• R/O
  • HTTP
  • SSH
  • HTTPS

zephyr: Commit

This repository is for zephyr, which is implemented for a GUI of Eos.


Commit MetaInfo

Revision6e45f640f1200d96e929b64e8b5152b45f7b338d (tree)
Time2016-02-04 04:25:01
Authorhimetani_cafe <fumifumi@yasu...>
Commiterhimetani_cafe

Log Message

[DEBUG] if arguments is select, convert object to string

Change Summary

Incremental Difference

--- a/front-end/app/scripts/directives/Command.ts
+++ b/front-end/app/scripts/directives/Command.ts
@@ -101,7 +101,11 @@ namespace app.directives {
101101
102102 angular.forEach(option.arg, (arg) => {
103103 if(arg.input) {
104- obj.arguments.push(arg.input);
104+ if(typeof arg.input === 'object') {
105+ obj.arguments.push(arg.input.name);
106+ } else {
107+ obj.arguments.push(arg.input);
108+ }
105109 }
106110 });
107111
--- a/front-end/dist/bundle.js
+++ b/front-end/dist/bundle.js
@@ -41133,7 +41133,12 @@
4113341133 };
4113441134 angular.forEach(option.arg, function (arg) {
4113541135 if (arg.input) {
41136- obj.arguments.push(arg.input);
41136+ if (typeof arg.input === 'object') {
41137+ obj.arguments.push(arg.input.name);
41138+ }
41139+ else {
41140+ obj.arguments.push(arg.input);
41141+ }
4113741142 }
4113841143 });
4113941144 if (obj.arguments.length > 0) {
@@ -41566,7 +41571,12 @@
4156641571 };
4156741572 angular.forEach(option.arg, function (arg) {
4156841573 if (arg.input) {
41569- obj.arguments.push(arg.input);
41574+ if (typeof arg.input === 'object') {
41575+ obj.arguments.push(arg.input.name);
41576+ }
41577+ else {
41578+ obj.arguments.push(arg.input);
41579+ }
4157041580 }
4157141581 });
4157241582 if (obj.arguments.length > 0) {
@@ -41999,7 +42009,12 @@
4199942009 };
4200042010 angular.forEach(option.arg, function (arg) {
4200142011 if (arg.input) {
42002- obj.arguments.push(arg.input);
42012+ if (typeof arg.input === 'object') {
42013+ obj.arguments.push(arg.input.name);
42014+ }
42015+ else {
42016+ obj.arguments.push(arg.input);
42017+ }
4200342018 }
4200442019 });
4200542020 if (obj.arguments.length > 0) {
@@ -42432,7 +42447,12 @@
4243242447 };
4243342448 angular.forEach(option.arg, function (arg) {
4243442449 if (arg.input) {
42435- obj.arguments.push(arg.input);
42450+ if (typeof arg.input === 'object') {
42451+ obj.arguments.push(arg.input.name);
42452+ }
42453+ else {
42454+ obj.arguments.push(arg.input);
42455+ }
4243642456 }
4243742457 });
4243842458 if (obj.arguments.length > 0) {
@@ -42865,7 +42885,12 @@
4286542885 };
4286642886 angular.forEach(option.arg, function (arg) {
4286742887 if (arg.input) {
42868- obj.arguments.push(arg.input);
42888+ if (typeof arg.input === 'object') {
42889+ obj.arguments.push(arg.input.name);
42890+ }
42891+ else {
42892+ obj.arguments.push(arg.input);
42893+ }
4286942894 }
4287042895 });
4287142896 if (obj.arguments.length > 0) {
@@ -43298,7 +43323,12 @@
4329843323 };
4329943324 angular.forEach(option.arg, function (arg) {
4330043325 if (arg.input) {
43301- obj.arguments.push(arg.input);
43326+ if (typeof arg.input === 'object') {
43327+ obj.arguments.push(arg.input.name);
43328+ }
43329+ else {
43330+ obj.arguments.push(arg.input);
43331+ }
4330243332 }
4330343333 });
4330443334 if (obj.arguments.length > 0) {
@@ -43731,7 +43761,12 @@
4373143761 };
4373243762 angular.forEach(option.arg, function (arg) {
4373343763 if (arg.input) {
43734- obj.arguments.push(arg.input);
43764+ if (typeof arg.input === 'object') {
43765+ obj.arguments.push(arg.input.name);
43766+ }
43767+ else {
43768+ obj.arguments.push(arg.input);
43769+ }
4373543770 }
4373643771 });
4373743772 if (obj.arguments.length > 0) {
@@ -44164,7 +44199,12 @@
4416444199 };
4416544200 angular.forEach(option.arg, function (arg) {
4416644201 if (arg.input) {
44167- obj.arguments.push(arg.input);
44202+ if (typeof arg.input === 'object') {
44203+ obj.arguments.push(arg.input.name);
44204+ }
44205+ else {
44206+ obj.arguments.push(arg.input);
44207+ }
4416844208 }
4416944209 });
4417044210 if (obj.arguments.length > 0) {
@@ -44597,7 +44637,12 @@
4459744637 };
4459844638 angular.forEach(option.arg, function (arg) {
4459944639 if (arg.input) {
44600- obj.arguments.push(arg.input);
44640+ if (typeof arg.input === 'object') {
44641+ obj.arguments.push(arg.input.name);
44642+ }
44643+ else {
44644+ obj.arguments.push(arg.input);
44645+ }
4460144646 }
4460244647 });
4460344648 if (obj.arguments.length > 0) {
@@ -45030,7 +45075,12 @@
4503045075 };
4503145076 angular.forEach(option.arg, function (arg) {
4503245077 if (arg.input) {
45033- obj.arguments.push(arg.input);
45078+ if (typeof arg.input === 'object') {
45079+ obj.arguments.push(arg.input.name);
45080+ }
45081+ else {
45082+ obj.arguments.push(arg.input);
45083+ }
4503445084 }
4503545085 });
4503645086 if (obj.arguments.length > 0) {
@@ -45463,7 +45513,12 @@
4546345513 };
4546445514 angular.forEach(option.arg, function (arg) {
4546545515 if (arg.input) {
45466- obj.arguments.push(arg.input);
45516+ if (typeof arg.input === 'object') {
45517+ obj.arguments.push(arg.input.name);
45518+ }
45519+ else {
45520+ obj.arguments.push(arg.input);
45521+ }
4546745522 }
4546845523 });
4546945524 if (obj.arguments.length > 0) {
Show on old repository browser