Skip to content

Instantly share code, notes, and snippets.

@andrei-cacio
Last active June 11, 2016 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrei-cacio/b5ab57b828863d49ae83ec571595bae2 to your computer and use it in GitHub Desktop.
Save andrei-cacio/b5ab57b828863d49ae83ec571595bae2 to your computer and use it in GitHub Desktop.
import { View } from 'backbone';
import { getJquery }from './jquery-getter';
const $ = getJquery();
export class SimpleView extends View {
constroctor() {
super({ el: '#someDiv' });
}
initialise() { this.render(); }
render() { this.$el.show(); }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment