-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated with get and set path methods
Updated with get and set querys Added test case for path switching Fixed an issue where an object was returned only result and got stuffed in column1. It will now be flattend it to one row.
- Loading branch information
Showing
3 changed files
with
108 additions
and
51 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<title>YQL Twitter test</title> | ||
<script type="text/javascript" src="http://config.spry-it.com/js?f=1.7/data"></script> | ||
<script type="text/javascript" src="../../SpryDataYQLDataSet.js"></script> | ||
<script type="text/javascript"> | ||
var ds1 = new Spry.Data.YQLDataSet( 'select * from github.user.info where (id = "3rd-Eden")', "user" ); | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<div spry:region="ds1"> | ||
<p spry:if="'{name}' != ''">Using path "user" to display the name {name}</p> | ||
<p spry:if="'{type}' == 'datetime'">Using path "created-at" to display the content {content}</p> | ||
</div> | ||
<button onclick="ds1.setPath('user');">Path to "user"</button> <button onClick="ds1.setPath('user.created-at');">Path to "user.created-at"</button> | ||
</body> | ||
</html> |