- Joined
- Sep 5, 2012
- Messages
- 187
- Reaction score
- 90
- First Language
- Indonesian
- Primarily Uses
- RMMV
Hi guys
I am developing a simple plugin that requires user to have specific setup using array. Its something like
var foo = {// [ a, b, c, ...] <- a comment so user have an idea about what value modifies what thing 1: [ 1, 2, 3, ...], 2: [ 4, 5, 6, ...], //etc};Back in VXA, I believe I've seen this kind of setup. But now, since the existence of Plugin Event Command and Plugin Parameters, is this kind of setup generally accepted? I mean, get the user to setup things directly inside the *.js files?
I think writing a long array as Plugin Event Command argument kind of un-user friendly. I know that I could ask user to edit a specified JSON files, but I think it will means more work to do for the user since basically my object is very simple object.
I will appreciate any kind of suggestion regarding this matter.
Thanks!
I am developing a simple plugin that requires user to have specific setup using array. Its something like
var foo = {// [ a, b, c, ...] <- a comment so user have an idea about what value modifies what thing 1: [ 1, 2, 3, ...], 2: [ 4, 5, 6, ...], //etc};Back in VXA, I believe I've seen this kind of setup. But now, since the existence of Plugin Event Command and Plugin Parameters, is this kind of setup generally accepted? I mean, get the user to setup things directly inside the *.js files?
I think writing a long array as Plugin Event Command argument kind of un-user friendly. I know that I could ask user to edit a specified JSON files, but I think it will means more work to do for the user since basically my object is very simple object.
I will appreciate any kind of suggestion regarding this matter.
Thanks!
