JS - Method Call Router

1
2
/**
* router
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Call "create" and "destroy" methods based on url. Basically only initialize code specific to a url or group of urls. Works with and without Browserify.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.