Created
May 20, 2019 01:05
-
-
Save MrFiregore/c01dfb3c89a76bd85325f06bd8c46104 to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/loyazez
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script src="https://code.jquery.com/jquery-3.1.0.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.1.2/backbone-min.js"></script> | |
<script id="jsbin-javascript"> | |
var HeaderView = Backbone.View.extend({ | |
template: _.template(""), | |
initialize: function () { | |
console.log( | |
_.functions(this)); | |
_.bindAll(this); | |
}, | |
events: { | |
"click #logout-link" : "onLogoutClick", | |
"click #remove-account-link" : "onRemoveAccountClick" | |
} | |
}); | |
console.log(HeaderView); | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">var HeaderView = Backbone.View.extend({ | |
template: _.template(""), | |
initialize: function () { | |
console.log( | |
_.functions(this)); | |
_.bindAll(this); | |
}, | |
events: { | |
"click #logout-link" : "onLogoutClick", | |
"click #remove-account-link" : "onRemoveAccountClick" | |
} | |
}); | |
console.log(HeaderView); | |
</script></body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var HeaderView = Backbone.View.extend({ | |
template: _.template(""), | |
initialize: function () { | |
console.log( | |
_.functions(this)); | |
_.bindAll(this); | |
}, | |
events: { | |
"click #logout-link" : "onLogoutClick", | |
"click #remove-account-link" : "onRemoveAccountClick" | |
} | |
}); | |
console.log(HeaderView); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment