meetselva / attrchange

onattrchange listener
GNU General Public License v3.0
207 stars 57 forks source link

getProperties is not returning properties #14

Open premchandrasingh opened 9 years ago

premchandrasingh commented 9 years ago

no getproperties

What I might be doing wrong.

I imported both attrchange.js & attrchange_ext.js

meetselva commented 9 years ago

Could you recreate the issue in a jsfiddle?

I tried similar code (http://jsfiddle.net/7h30pqf1/) and it worked for me in IE, FF and Chrome.

premchandrasingh commented 9 years ago

I couldn't be able to recreate other than happening in my application. My application is using requirejs, angular, angularAMD etc. I tried loading file with requirejs, it is still working fine. Don't know why it is happening.

As of now I can use without requiring properties but I would really like to find out the cause. I have to move on...

meetselva commented 9 years ago

Could you try the fiddle demo http://jsfiddle.net/7h30pqf1/ in your environment and let me know.

Also let me know the browser/OS/jQuery version you are using.

premchandrasingh commented 9 years ago

Browser: Chrome Version 39.0.2171.95 m OS: Win 7 Professional, Service Pack 1, jQuery: 2.1.1

Others: Angular: v1.2.28 angularAMD: v0.2.1, RequireJS: 2.1.8

I will update the fiddle demo soon.