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
Downloading/unpacking oauth2==1.5.170 (from -r enee/requirements.txt (line 8)) | |
Running setup.py egg_info for package oauth2 | |
Downloading/unpacking uuid==1.30 (from -r enee/requirements.txt (line 10)) | |
Running setup.py egg_info for package uuid | |
Requirement already satisfied (use --upgrade to upgrade): Flask==0.6.1 in /usr/local/lib/python2.6/dist-packages (from -r enee/requirements.txt (line 1)) | |
Downloading/unpacking functools==0.5 (from -r enee/requirements.txt (line 6)) | |
Running setup.py egg_info for package functools | |
Requirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in /usr/lib/python2.6 (from -r enee/requirements.txt (line 11)) | |
Downloading/unpacking LEPL==5.0.0 (from -r enee/requirements.txt (line 3)) | |
Running setup.py egg_info for package LEPL |
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
<html> | |
<head> | |
<script type="text/javascript"> | |
function PodcastPage(podcasts) { | |
this.podcasts = podcasts; | |
this.build = function(root) { | |
var i, | |
len, | |
header, | |
text; |
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
function CampaignOverviewViewGoldenPath() { | |
return new YAHOO.tool.TestCase({ | |
name : "CampaignOverviewViewGoldenPath", | |
setUp : function () { | |
this.container = document.createElement("div"); | |
this.modal = new MockGenericModalController(); | |
this.resourceBundler = new MockResourceBundleUtil(); | |
this.service = new MockCampaignService(); |
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
function MockGenericModalController() { | |
this.root = document.createElement("div"); | |
this.createAndAppendHeader = function() {}; | |
this.createAndAppendTwoButtonFooter = function() {}; | |
this.destroyContents = function() {}; | |
this.displayContentView = function() {}; |
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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html> | |
<head> | |
<script type="text/javascript" src="../../shared/js/yui/build_2_9_0/yuiloader/yuiloader-min.js"></script> | |
<script type="text/javascript"> | |
window.onload = function() { | |
var loader; | |
loader = new YAHOO.util.YUILoader({ |
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
module("Event delegation test"); | |
test("Keyup in view should trigger callback in controller", function() { | |
var Controller, | |
View, | |
$el, | |
c, | |
v, | |
mock; |
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
test("Handler is invoked as callback from jQuery delegate method directly...", function() { | |
var Controller, | |
View, | |
$el, | |
c, | |
v, | |
mock; | |
Controller = function() { | |
var self = {}; |
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
/////// | |
// u.js | |
function isEmail (email) { | |
var regEx = /^[a-zA-Z0-9.!#$%&'*+-\/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/; | |
return regEx.test(email); | |
} | |
/////////// | |
// test.js |
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
RestResponse r; | |
if (d == null) { | |
r = new RestResponse(something_something); | |
} | |
if (!r) { | |
r = new RestResponse(something_else); | |
} |
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 all_items = [{ | |
"name": "cat", | |
"id": 1 | |
}, { | |
"name": "dog", | |
"id": 2 | |
}, { | |
"name": "spoon", | |
"id": 3 | |
}, { |
OlderNewer