jquery-fb icon indicating copy to clipboard operation
jquery-fb copied to clipboard

Allow override for default initialisation options, including locale

Open MarcusJT opened this issue 13 years ago • 1 comments

It is recommended practice for jQuery plugins to define default values internally which can then be overridden during initialization - see http://docs.jquery.com/Plugins/Authoring#Defaults_and_Options

Please apply this pattern to your plugin so that all the FB initialisation parameters can be controlled, and to allow a different locale to be specified for the FB JS SDK URL, which is currently hardcoded to en_US - I would like to be able to use en_GB for example.

MarcusJT avatar Apr 23 '12 14:04 MarcusJT

Good point. Ill try to get this updated shortly. Feel free to send a pull request if you have time.

ntotten avatar Apr 23 '12 15:04 ntotten