Skip to content

Commit

Permalink
New global switch in bashlet library/loader.
Browse files Browse the repository at this point in the history
BASHLETS_LIB_LIBRARY_ALLOW_NO_PREFIX should ease transition into
no-namespace-pollution code.
  • Loading branch information
Roberto Reale committed Nov 16, 2016
1 parent 865f4f0 commit 27095ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/library/loader
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@


__bashletLocalPool=~/.bashlets
BASHLETS_LIB_LIBRARY_LOADER_STYLE=new # old/new
BASHLETS_LIB_LIBRARY_LOADER_STYLE=new # old/new
BASHLETS_LIB_LIBRARY_ALLOW_NO_PREFIX=1 # if 1, methods can be called without prefix

function __bashlets_library_loader_bashlet_to_name()
{
Expand Down

0 comments on commit 27095ce

Please sign in to comment.