@BenFortune I found the problem to be IE didn't like that the element wasn't in the DOM. I am using a library called wijmo and it was (and still is) failing inside there, but now I know why!
@rlemon ok cool. Would I export default function, or would I export default class FormFunctions? And wouldn't all my functions have to be labeled static?
neat. Appreciate the pseudocode. I'll have to find out the implementation of this method because if the context can be expected to change between formFunction requests I should probably move the context to each function. If it isn't going to change then I like your implementation much better.
@rlemon Dude you just blew my mind I don't know how I never picked up on that before. I thought they were equivalent. One way I'm running a named function, and the other I'm running what is basically a pointer to an anonymous function?
What's this called? I don't understand why an underscore would be allowed there and not some other character. I'd like to read more about this so I don't keep asking you questions about basic stuff and looking like an idiot the whole time.
I am using jsTree to create a tree structure. I am using "contextmenu" plugin to make changes to the tree structure, but I want to capture any change made, highlight that node and also create list of all the nodes to say "Pending" and then send an email notification for a person to verify the changes and to actually make the changes.
Not sure how to go about doing all of that since I am new to Javascript?
Ahh. I got it. I'll compile my code with babel-transform-runtime, grep for "babel-runtime/core-js" and that'll show me all the things I'll need to polyfill.
put the js file in a zip, upload it to your apache server via ftp, then ssh into it and compile it via visual studio, then you can debug it in notepad++
@rlemon you had showed me earlier what to do with my FormFunc functions. What if I were to have like 20 form functions? Is there an easier way to export those than specifying export default {each, and, every, function, i, need, etc...}?
foo.js
export default function foo() {}
bar.js
export default function bar() {}
index.js
export foo from './foo';
export bar from './bar';
app.js
import * as fns from './folder';
@rlemon @ssube @Zirak thanks for the help and resources guys. I guess I have some reading to do. Bossman says we have to port the code over first, then we can mess with some of that but he likes the separation of each validation function into its' own file within a "validation" folder. Probably end of month next month.
Hehe. I still have occasional contact with the shitty place I left 1 year ago. They are years behind in simple migrations of new users from companies they bought.
and one of the intelligent ones (but, I suspect, lazy or broken) left. I found out recently.
After I found out, I disabled access to a data center. No one told me. I don't even want to be in control of these servers for a company I don't work for, but they are so incompetant, i think they forget they even have them
the really telling sign that my last place is fucked (sooner or later) is the number of people who quit and are brought back on contract. Usually 6 months and twice their original pay.