Function titanium::web::serve_js

pub fn serve_js<State>(app: &mut Server<State>, path: &str, js: &'static str)where
    State: Clone + Send + Sync + 'static,
Expand description

Serves a javascript file from a &'static str at the specified path.