javascript - How to find when an object value changes in IE -


i'm working on big application has no documentation or comments. there difference in behavior between ie , firefox , chrome. in order debug have find place property being changed (tinymce.editors.length , need find out tinymce editor being created, because created in ie not in firefox or chrome). of option seems to blindly put breakpoints around scripts, there tens of thousands of lines, other ideas appreciated.

when load script tinymce create global object in browser named tinymce. sheer act of loading script creates object.

within tinymce object array named editors. tinymce editor uses array keep track of editor instances on web page. each time initialize instance of tinymce added array , each time remove instance of tinymce removed array. should never need manipulate tinymce.editors array yourself.

the common way initialize instance of tinymce via init() function. simple example of can found here:

https://www.tinymce.com/docs/get-started/first-steps/#step2initializetinymceaspartofawebform

...and api documented here:

https://www.tinymce.com/docs/api/tinymce/root_tinymce/#init

i review source code of application looking use of init() method determine in code editor getting instantiated.


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -