Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add in Kitchen Sink Nook sample, and also hid Kitchen Sink iPad sampl…

…e on non-OS X platforms. Addresses TISTUD-1016 and TISTUD-1368.
  • Loading branch information...
commit ecd384df5fe255bce169ecdf601cec0266cf8bf8 1 parent a58ab98
@ingo ingo authored
Showing with 16 additions and 4 deletions.
  1. +2 −0  config/locales/en.yml
  2. +14 −4 samples/project_samples.rb
View
2  config/locales/en.yml
@@ -20,4 +20,6 @@ en:
kitchen_sink_description: "A sample Titanium Mobile project that demonstrates a variety of APIs available in Titanium Mobile"
kitchen_sink_ipad: "Kitchen Sink iPad"
kitchen_sink_ipad_description: "A sample Titanium Mobile project that demonstrates a variety of APIs available in Titanium Mobile (For iPad)"
+ kitchen_sink_nook: "Kitchen Sink Nook"
+ kitchen_sink_nook_description: "A sample Titanium Mobile project that demonstrates a variety of APIs available in Titanium Mobile (For Nook)"
View
18 samples/project_samples.rb
@@ -36,12 +36,22 @@
s.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_kitchen_sink.png"
end
-project_sample t(:kitchen_sink_ipad) do |s|
- s.id = "com.appcelerator.titanium.mobile.samples.kitchensink.ipad"
+project_sample t(:kitchen_sink_nook) do |s|
+ s.id = "com.appcelerator.titanium.mobile.samples.kitchensink"
s.category = "com.appcelerator.titanium.mobile.samples.category"
- s.location = "git://github.com/appcelerator/KitchenSinkiPad.git"
- s.description = t(:kitchen_sink_ipad_description)
+ s.location = "git://github.com/appcelerator/KitchenSinkNook.git"
+ s.description = t(:kitchen_sink_nook_description)
s.natures = ["com.appcelerator.titanium.mobile.nature", "com.aptana.projects.webnature"]
s.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_kitchen_sink.png"
end
+if Ruble.is_mac?
+ project_sample t(:kitchen_sink_ipad) do |s|
+ s.id = "com.appcelerator.titanium.mobile.samples.kitchensink.ipad"
+ s.category = "com.appcelerator.titanium.mobile.samples.category"
+ s.location = "git://github.com/appcelerator/KitchenSinkiPad.git"
+ s.description = t(:kitchen_sink_ipad_description)
+ s.natures = ["com.appcelerator.titanium.mobile.nature", "com.aptana.projects.webnature"]
+ s.icon = "http://preview.appcelerator.com/dashboard/img/icons/icon_kitchen_sink.png"
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.