Permalink
Browse files

fixed apps and examples in support

  • Loading branch information...
1 parent 26037a2 commit 2f8bf2df704e9df78785c3c698bbc010e8d124b4 @frankiefu frankiefu committed May 18, 2012
@@ -7,8 +7,8 @@
{kind: "Flickr", showing: false, classes: "enyo-fit"}
]}
],
- search: function(inSender, inSearch) {
- this.$.flickrSearch.search(inSearch);
+ search: function(inSender, inEvent) {
+ this.$.flickrSearch.search(inEvent.query);
},
searchResults: function(inSender, inResults) {
this.results = inResults;
@@ -106,7 +106,7 @@ enyo.kind({
//* which is implemented to retrieve results, after which showResults should be called.
search: function() {
this.$.spinner.setShowing(true);
- this.doSearch(this.getSearchQuery());
+ this.doSearch({query: this.getSearchQuery()});
},
//* @public
//* display the given search results
@@ -6,8 +6,8 @@
{kind: "YouTube", classes: "enyo-fit", showing: false}
]}
],
- search: function(inSender, inSearch) {
- enyo.YouTube.search(inSearch).response(this, "receiveResults");
+ search: function(inSender, inEvent) {
+ enyo.YouTube.search(inEvent.query).response(this, "receiveResults");
},
receiveResults: function(inSender, inResults) {
this.$.viewer.showResults(inResults);
@@ -106,7 +106,7 @@ enyo.kind({
//* which is implemented to retrieve results, after which showResults should be called.
search: function() {
this.$.spinner.setShowing(true);
- this.doSearch(this.getSearchQuery());
+ this.doSearch({query: this.getSearchQuery()});
},
//* @public
//* display the given search results
@@ -3,7 +3,7 @@
<head>
<title>Enyo</title>
<!-- load from 'source' included with the enyo repository -->
- <script src="../../enyo.js" type="text/javascript"></script>
+ <script src="../../../enyo/enyo.js" type="text/javascript"></script>
<!-- to load from a build you include the build css and js files, e.g -->
<!--
<link href="../../../enyo-2.0/enyo.css" rel="stylesheet" type="text/css" />
@@ -3,7 +3,7 @@
<head>
<title>Enyo</title>
<!-- load from 'source' included with the enyo repository -->
- <script src="../../enyo.js" type="text/javascript"></script>
+ <script src="../../../enyo/enyo.js" type="text/javascript"></script>
<!-- to load from a build you include the build css and js files, e.g -->
<!--
<link href="../../../enyo-2.0/enyo.css" rel="stylesheet" type="text/css" />
@@ -3,7 +3,7 @@
<head>
<title>Enyo</title>
<!-- load from 'source' included with the enyo repository -->
- <script src="../../enyo.js" type="text/javascript"></script>
+ <script src="../../../enyo/enyo.js" type="text/javascript"></script>
<!-- to load from a build you include the build css and js files, e.g -->
<!--
<link href="../../../enyo-2.0/enyo.css" rel="stylesheet" type="text/css" />
@@ -3,7 +3,7 @@
<head>
<title>Enyo</title>
<!-- load from 'source' included with the enyo repository -->
- <script src="../../enyo.js" type="text/javascript"></script>
+ <script src="../../../enyo/enyo.js" type="text/javascript"></script>
<!-- to load from a build you include the build css and js files, e.g -->
<!--
<link href="../../../enyo-2.0/enyo.css" rel="stylesheet" type="text/css" />
@@ -1,8 +1,8 @@
-<!doctype html>
+<!doctype html>
<html>
<head>
<title>Enyo Ui Examples</title>
- <script src="../../enyo.js"></script>
+ <script src="../../../enyo/enyo.js"></script>
<style type="text/css">
body {
margin: 10px;

0 comments on commit 2f8bf2d

Please sign in to comment.