mirror of
https://github.com/getredash/redash.git
synced 2026-03-21 16:00:09 -04:00
* Prettier all the JS files * Add GitHub Action to autoformat code pushed to master * Fix eslint violation due to formatting. * Remove GitHub actions for styling * Add restyled.io config
10 lines
253 B
JavaScript
10 lines
253 B
JavaScript
export let Visualization = null; // eslint-disable-line import/no-mutable-exports
|
|
|
|
export default function init(ngModule) {
|
|
ngModule.run($resource => {
|
|
Visualization = $resource("api/visualizations/:id", { id: "@id" });
|
|
});
|
|
}
|
|
|
|
init.init = true;
|