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
config.init({ | |
meta: { | |
title: 'Premier Dental Implant Practices', | |
name: "Christopher Webb", | |
homepage: 'http://conspirator.co', | |
twitter: 'conspirator', | |
banner: '/* \n' + | |
' * \tAuthor:\t\t{{meta.name}}\n' + | |
' * \tWebsite:\t{{meta.homepage}}\n' + | |
' * \tTwitter:\thttp://twitter.com/{{meta.twitter}}\n' + |
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
/* hide the like button count */ | |
.fb_edge_widget_with_comment iframe { | |
width:52px !important; | |
} | |
/* hide that pesky comment box */ | |
span.fb_edge_comment_widget.fb_iframe_widget iframe { | |
display: none; | |
} |
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 documentPathname = document.location.pathname, | |
hijack = { | |
history: $('html').hasClass('history'), | |
currentLocation: documentPathname, | |
firstLoad: 1, | |
init: function(){ | |
var context = this; | |
// Normal link clicks | |
$('a').live('click',function(e){ | |
context.firstLoad = 0; |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>OOJS Test Page</title> | |
<script type="text/javascript"> | |
var Person = function(x){ | |
this.firstName = x && x.firstName ? x.firstName : "Barack"; | |
this.lastName = x && x.lastName ? x.lastName : "Obama"; |
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
<script type="text/javascript"> | |
Person.prototype.setPerson = function(x){ | |
this.firstName = x.firstName; | |
this.lastName = x.lastName; | |
this.job = x.job; | |
} | |
function init() { | |
var wife = new Person(); | |
wife.setPerson({ |
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
<script type="text/javascript"> | |
function init() { | |
var me = new Person(); | |
me.setFirstName('Christopher'); | |
me.setLastName('Webb'); | |
me.setJob('Developer'); | |
me.writePerson(1); | |
var pooh = me; | |
pooh.setLastName('Robbin'); |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>OOJS Test Page</title> | |
<script type="text/javascript"> | |
var Person = function(){ | |
this.firstName = "Barack"; | |
this.lastName = "Obama"; |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>OOJS Test Page</title> | |
<script type="text/javascript"> | |
var Person = function(){ | |
this.firstName = "Barack"; | |
this.lastName = "Obama"; |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>OOJS Test Page</title> | |
<script type="text/javascript"> | |
function init() { | |
alert('Do work!'); | |
} |
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
<script type="text/javascript"> | |
var Person = function(){ | |
this.firstName = "Barack"; | |
this.lastName = "Obama"; | |
this.job = "President"; | |
} | |
</script> |