Permalink
Browse files

Re-enable samples and templates

  • Loading branch information...
ingo committed Dec 13, 2011
1 parent 436f92a commit fbc528a51bc7217374467cc8cd643e6ed12fbafa
Showing with 47 additions and 47 deletions.
  1. +21 −21 bundle.rb
  2. +26 −26 samples/project_samples.rb
View
@@ -46,27 +46,27 @@
main_menu.command 'vibrate'
end
- # project_template "Single Window Application" do |t|
- # t.type = :titanium_mobile
- # t.location = "staging/SingleWindow.zip"
- # t.description = "A single window application with a single view - a mostly blank canvas. Requires Titanium Mobile SDK 1.7.5+ or 1.8.0+"
- # t.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_single_window.png"
- # puts t
- # end
+ project_template "Single Window Application" do |t|
+ t.type = :titanium_mobile
+ t.location = "staging/SingleWindow.zip"
+ t.description = "A single window application with a single view - a mostly blank canvas. Requires Titanium Mobile SDK 1.7.5+ or 1.8.0+"
+ t.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_single_window.png"
+ puts t
+ end
- # project_template "Master/Detail Application" do |t|
- # t.type = :titanium_mobile
- # t.location = "staging/MasterDetail.zip"
- # t.description = "A master detail view, utilizing a native table view component and platform-specific UI and navigation. A starting point for a navigation-based application with hierarchical data, or a stack of windows. Requires Titanium Mobile SDK 1.7.5+ or 1.8.0+."
- # t.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_detail.png"
- # puts t
- # end
+ project_template "Master/Detail Application" do |t|
+ t.type = :titanium_mobile
+ t.location = "staging/MasterDetail.zip"
+ t.description = "A master detail view, utilizing a native table view component and platform-specific UI and navigation. A starting point for a navigation-based application with hierarchical data, or a stack of windows. Requires Titanium Mobile SDK 1.7.5+ or 1.8.0+."
+ t.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_detail.png"
+ puts t
+ end
- # project_template "Tabbed Application" do |t|
- # t.type = :titanium_mobile
- # t.location = "staging/Tabbed.zip"
- # t.description = "A tabbed application, consisting of multiple stacks of windows associated with tabs in a tab group. A starting point for tab-based application with multiple top-level windows. Requires Titanium Mobile SDK 1.7.5+ or 1.8.0+."
- # t.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_tabbed.png"
- # puts t
- # end
+ project_template "Tabbed Application" do |t|
+ t.type = :titanium_mobile
+ t.location = "staging/Tabbed.zip"
+ t.description = "A tabbed application, consisting of multiple stacks of windows associated with tabs in a tab group. A starting point for tab-based application with multiple top-level windows. Requires Titanium Mobile SDK 1.7.5+ or 1.8.0+."
+ t.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_tabbed.png"
+ puts t
+ end
end
View
@@ -1,31 +1,31 @@
require 'ruble'
-# project_sample "Geocoder" do |s|
- # s.id = "com.appcelerator.titanium.mobile.samples.mapping"
- # s.category = "com.appcelerator.titanium.mobile.samples.category"
- # s.location = "git://github.com/appcelerator-developer-relations/Sample.Mapping.git"
- # s.description = "A sample Master/Detail app that uses native maps to plot locations. With it you can forward geocode addresses and add them as annotations to the map."
- # s.natures = ["com.appcelerator.titanium.mobile.nature", "com.aptana.projects.webnature"]
- # s.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_geo.png"
-# end
-#
-# project_sample "RSS Reader" do |s|
- # s.id = "com.appcelerator.titanium.mobile.samples.rss"
- # s.category = "com.appcelerator.titanium.mobile.samples.category"
- # s.location = "git://github.com/appcelerator-developer-relations/Sample.RSS.git"
- # s.description = "A sample Master/Detail app that creates a RSS reader. With it you can pull live RSS feeds from the internet, list them along with thumbnails, then drill down to the article itself."
- # s.natures = ["com.appcelerator.titanium.mobile.nature", "com.aptana.projects.webnature"]
- # s.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_rss.png"
-# end
-#
-# project_sample "Todo List" do |s|
- # s.id = "com.appcelerator.titanium.mobile.samples.todo"
- # s.category = "com.appcelerator.titanium.mobile.samples.category"
- # s.location = "git://github.com/appcelerator-developer-relations/Sample.Todo.git"
- # s.description = "A sample tabbed application that creates a basic todo list. With this app you can maintain a listing of tasks to be completed, add to that list, and mark tasks as done."
- # s.natures = ["com.appcelerator.titanium.mobile.nature", "com.aptana.projects.webnature"]
- # s.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_to_do_list.png"
-# end
+project_sample "Geocoder" do |s|
+ s.id = "com.appcelerator.titanium.mobile.samples.mapping"
+ s.category = "com.appcelerator.titanium.mobile.samples.category"
+ s.location = "git://github.com/appcelerator-developer-relations/Sample.Mapping.git"
+ s.description = "A sample Master/Detail app that uses native maps to plot locations. With it you can forward geocode addresses and add them as annotations to the map."
+ s.natures = ["com.appcelerator.titanium.mobile.nature", "com.aptana.projects.webnature"]
+ s.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_geo.png"
+end
+
+project_sample "RSS Reader" do |s|
+ s.id = "com.appcelerator.titanium.mobile.samples.rss"
+ s.category = "com.appcelerator.titanium.mobile.samples.category"
+ s.location = "git://github.com/appcelerator-developer-relations/Sample.RSS.git"
+ s.description = "A sample Master/Detail app that creates a RSS reader. With it you can pull live RSS feeds from the internet, list them along with thumbnails, then drill down to the article itself."
+ s.natures = ["com.appcelerator.titanium.mobile.nature", "com.aptana.projects.webnature"]
+ s.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_rss.png"
+end
+
+project_sample "Todo List" do |s|
+ s.id = "com.appcelerator.titanium.mobile.samples.todo"
+ s.category = "com.appcelerator.titanium.mobile.samples.category"
+ s.location = "git://github.com/appcelerator-developer-relations/Sample.Todo.git"
+ s.description = "A sample tabbed application that creates a basic todo list. With this app you can maintain a listing of tasks to be completed, add to that list, and mark tasks as done."
+ s.natures = ["com.appcelerator.titanium.mobile.nature", "com.aptana.projects.webnature"]
+ s.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_to_do_list.png"
+end
project_sample "Kitchen Sink" do |s|
s.id = "com.appcelerator.titanium.mobile.samples.kitchensink"

0 comments on commit fbc528a

Please sign in to comment.