parameters: (self, args)
docstring: Enables a hook. hook [function]
docstring_summary: Enables a hook. hook [function]
docstring_tokens: Enables a hook . hook [ function ]
function: def do_hook(self, args):
  		"""Enables a hook. hook [function]"""
  		print "Hooking " + args + " ..."
  		self.HOOKS.append(args)
  
  		result = '\n'.join(read_entirely(self.HOOK_DICT[file]) for file in self.HOOKS)
  
  		with open('Swizzler2.js', 'w') as handle:
  			handle.write(result)
  
  		print "\nHooks Active: " + ', '.join(self.HOOKS)
function_tokens: def do_hook ( self , args ) : print "Hooking " + args + " ..." self . HOOKS . append ( args ) result = '\n' . join ( read_entirely ( self . HOOK_DICT [ file ] ) for file in self . HOOKS ) with open ( 'Swizzler2.js' , 'w' ) as handle : handle . write ( result ) print "\nHooks Active: " + ', ' . join ( self . HOOKS )