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
-- | |
-- Project: Ch11.3 Widgets -TableView | |
-- Description: | |
-- | |
-- Version: 1.0 | |
-- Managed with http://CoronaProjectManager.com | |
-- | |
-- Copyright 2013 Brian Burton. All Rights Reserved. | |
-- | |
-- Create 100 rows, and two categories to the tableView: |
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
----------------------------------------------------------------------------------------- | |
-- | |
-- main.lua | |
-- | |
----------------------------------------------------------------------------------------- | |
local widget = require "widget" | |
display.setStatusBar(display.HiddenStatusBar) | |
local availableSections = {"Intro", "Verse", "Chorus", "Verse", "Chorus", "Interlude", "Breakdown", "Verse", "Chorus", "Outro"} |
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
var cottage = function(){ | |
console.log("Building a cottage."); | |
}; | |
var mansion = function(){ | |
console.log("Building a mansion."); | |
}; | |
var buildings = [cottage, mansion]; |
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
var health = 100; |
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
[list:Fantastical| | |
Reminder=fantastical2://x-callback-url/parse?reminder=1&sentence=[prompt:New Reminder]| | |
Event=fantastical2://x-callback-url/parse?reminder=0&sentence=[prompt:New Event]| | |
New Event at Location= | |
[list:Location| | |
Home=fantastical2://x-callback-url/parse?location={{**Address Here**}}| | |
Parents' House=fantastical2://x-callback-url/parse?location={{**Address Here**}}| |
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
[list:Type or Paste?|Type URL=googlechrome-x-callback://x-callback-url/open/?url=[prompt]|Paste URL=googlechrome-x-callback://x-callback-url/open/?url=[clipboard]] |