Title: Public.js function
Last modified: August 22, 2016

---

# Public.js function

 *  Resolved [saludcasera](https://wordpress.org/support/users/saludcasera/)
 * (@saludcasera)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/publicjs-function/)
 * What is the purpose of the file “Public.js” in this plugin?
 * ————–
    (function ( $ ) { “use strict”;
 *  $(function () {
 *  // Place your public-facing JavaScript here
 *  });
 * }(jQuery));
    —————-
 * Can it be removed from the script and still get the same features?
 * [https://wordpress.org/plugins/source-affix/](https://wordpress.org/plugins/source-affix/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [rabmalin](https://wordpress.org/support/users/rabmalin/)
 * (@rabmalin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/publicjs-function/#post-5578534)
 * Yes, it can be removed. It is just a file for script if needed in front end. 
   Currently it is not used.

Viewing 1 replies (of 1 total)

The topic ‘Public.js function’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/source-affix_3c94d8.svg)
 * [Source Affix](https://wordpress.org/plugins/source-affix/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/source-affix/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/source-affix/)
 * [Active Topics](https://wordpress.org/support/plugin/source-affix/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/source-affix/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/source-affix/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [rabmalin](https://wordpress.org/support/users/rabmalin/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/publicjs-function/#post-5578534)
 * Status: resolved