filipstefansson/bootstrap-3-shortcodes — pull request #79 by QWp6t (2014-04-16 02:55:30+00:00)
Title: Allows user to define constant to disable scripts

Setting `LOAD_BS_SHORTCODES_SCRIPTS` to `false` (or anything other than `true`) will cause the function that loads the scripts to exit without enqueuing the scripts.

This is useful when users concatenate and uglify their JS.

NOTE: scripts load fine when constant is not defined.

This PR is one of many ways this could be accomplished. It was just the fastest way I could think of that will have a very minimal impact on your plugin.