golf 0.4.14 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +3 -1
- data/golf.gemspec +1 -0
- data/lib/golf/compiler.rb +60 -21
- data/lib/golf/filter.rb +10 -0
- data/lib/golf/filters/dummy_filter.rb +11 -0
- data/lib/golf/version.rb +1 -1
- data/lib/golf.rb +2 -1
- data/test/reference_app/golfapp/components/HelloWorld/HelloWorld.html +13 -0
- data/test/reference_app/golfapp/components/golf/cart/Admin/Admin.html +13 -0
- data/test/reference_app/golfapp/components/golf/cart/Cart/Cart.html +16 -0
- data/test/reference_app/golfapp/components/golf/cart/Product/Product.html +21 -0
- data/test/reference_app/golfapp/components/golf/cart/ProductListing/ProductListing.html +19 -0
- data/test/reference_app/golfapp/components/golf/cart/Store/Store.html +18 -0
- data/test/reference_app/golfapp/components.js +1 -0
- data/test/reference_app/golfapp/controller.js +28 -0
- data/test/reference_app/golfapp/img/ Timer & Non-Stick.jpeg +0 -0
- data/test/reference_app/golfapp/img/134lines.jpeg +0 -0
- data/test/reference_app/golfapp/img/Q33 Sail Plan.jpeg +0 -0
- data/test/reference_app/golfapp/img/a/b/qwer +0 -0
- data/test/reference_app/golfapp/img/em> - Brushed Stainless Steel.jpeg +0 -0
- data/test/reference_app/golfapp/img/em> - White.jpeg +0 -0
- data/test/reference_app/golfapp/img/em> Broil CTO7100B.jpeg +0 -0
- data/test/reference_app/golfapp/img/em> Broiler - Stainless.jpeg +0 -0
- data/test/reference_app/golfapp/img/em> with Countdo.jpeg +0 -0
- data/test/reference_app/golfapp/img/em> with Element IQ.jpeg +0 -0
- data/test/reference_app/golfapp/img/em> with OneTouch ...jpeg +0 -0
- data/test/reference_app/golfapp/img/em> with Pizza.jpeg +0 -0
- data/test/reference_app/golfapp/img/em>-1.jpeg +0 -0
- data/test/reference_app/golfapp/img/em>-2.jpeg +0 -0
- data/test/reference_app/golfapp/img/em>-3.jpeg +0 -0
- data/test/reference_app/golfapp/img/em>-Black.jpeg +0 -0
- data/test/reference_app/golfapp/img/em>.jpeg +0 -0
- data/test/reference_app/golfapp/img/unnamed.jpeg +0 -0
- data/test/reference_app/golfapp/plugins/mylib.js +0 -0
- data/test/reference_app/golfapp/scripts/00-myscript.js +0 -0
- data/test/reference_app/golfapp/scripts/01-jquery.tmpl.js +484 -0
- data/test/reference_app/golfapp/styles/main.css +0 -0
- data/test/test_compiler.rb +87 -7
- metadata +47 -17
- data/test/twitter_compiled/Gemfile +0 -6
- data/test/twitter_compiled/config.ru +0 -7
- data/test/twitter_compiled/golfapp/app_error.html +0 -60
- data/test/twitter_compiled/golfapp/components/golf/twitter/Search/Search.html +0 -29
- data/test/twitter_compiled/golfapp/components/golf/twitter/Tweet/Tweet.html +0 -16
- data/test/twitter_compiled/golfapp/components.js +0 -1
- data/test/twitter_compiled/golfapp/controller.js +0 -9
- data/test/twitter_compiled/golfapp/index.html +0 -58
- data/test/twitter_compiled/golfapp/jquery.address.js +0 -439
- data/test/twitter_compiled/golfapp/jquery.golf.js +0 -942
- data/test/twitter_compiled/golfapp/jquery.js +0 -4376
- data/test/twitter_compiled/golfapp/plugins/twitter.js +0 -14
- data/test/twitter_compiled/golfapp/welcome2golf.html +0 -50
- /data/test/{twitter_compiled/golfapp/scripts/00-myscript.js → reference_app/golfapp/img/a/asdf} +0 -0
- /data/test/{twitter_compiled/golfapp/styles/main.css → reference_app/golfapp/img/a/b/c/zxcv} +0 -0
@@ -1,14 +0,0 @@
|
|
1
|
-
(function() {
|
2
|
-
|
3
|
-
exports.search = function(query, callback) {
|
4
|
-
$.getJSON(
|
5
|
-
"http://search.twitter.com/search.json?q="+escape(query)+"&callback=?",
|
6
|
-
function(data) {
|
7
|
-
$.each(data.results, function(i, tweet) {
|
8
|
-
callback(i, tweet);
|
9
|
-
});
|
10
|
-
}
|
11
|
-
);
|
12
|
-
};
|
13
|
-
|
14
|
-
})();
|
@@ -1,50 +0,0 @@
|
|
1
|
-
<style type="text/css">
|
2
|
-
* {
|
3
|
-
font-family: sans-serif;
|
4
|
-
margin: 0;
|
5
|
-
padding: 0;
|
6
|
-
color: #222;
|
7
|
-
}
|
8
|
-
|
9
|
-
h1 {
|
10
|
-
padding: .5em 20px .5em 20px;
|
11
|
-
background: cadetblue;
|
12
|
-
margin: 2px;
|
13
|
-
}
|
14
|
-
|
15
|
-
h3 {
|
16
|
-
padding: .5em 20px .5em 20px;
|
17
|
-
background: yellowgreen;
|
18
|
-
margin: 2px;
|
19
|
-
}
|
20
|
-
|
21
|
-
p {
|
22
|
-
padding: .75em 20px .75em 20px;
|
23
|
-
background: orange;
|
24
|
-
margin: 2px;
|
25
|
-
}
|
26
|
-
|
27
|
-
a, a:visited {
|
28
|
-
color: darkblue;
|
29
|
-
}
|
30
|
-
|
31
|
-
a:hover {
|
32
|
-
color: white;
|
33
|
-
}
|
34
|
-
|
35
|
-
.content {
|
36
|
-
position: relative;
|
37
|
-
top: 5em;
|
38
|
-
width: 35em;
|
39
|
-
margin: 0 auto;
|
40
|
-
}
|
41
|
-
</style>
|
42
|
-
|
43
|
-
<div class="content">
|
44
|
-
<h1>Hi there!</h1>
|
45
|
-
<h3>Your Golf Web Application Server is up and running.</h3>
|
46
|
-
<p>
|
47
|
-
Look at the <a href="http://golf.github.com/">documentation</a> to
|
48
|
-
get started!
|
49
|
-
</p>
|
50
|
-
</div>
|
/data/test/{twitter_compiled/golfapp/scripts/00-myscript.js → reference_app/golfapp/img/a/asdf}
RENAMED
File without changes
|
/data/test/{twitter_compiled/golfapp/styles/main.css → reference_app/golfapp/img/a/b/c/zxcv}
RENAMED
File without changes
|