- http://flickr.com
- http://cnn.com
- http://letsfreckle.com # You need to log in
- http://google.com/.compact
- http://google.com/search?q=94117+weather
- http://www.amazon.com/gp/aw/kindle/storefront
Simple Mobile + Native
| diff --git a/lib/wax_helpers.m b/lib/wax_helpers.m | |
| index dee91a9..f0c351d 100644 | |
| --- a/lib/wax_helpers.m | |
| +++ b/lib/wax_helpers.m | |
| @@ -219,7 +219,7 @@ void wax_fromInstance(lua_State *L, id instance) { | |
| if ([instance isKindOfClass:[NSString class]]) { | |
| lua_pushstring(L, [(NSString *)instance UTF8String]); | |
| } | |
| - else if ([instance isKindOfClass:[NSNumber class]]) { | |
| + else if ([instance isKindOfClass:[NSNumber class]] && ![instance isKindOfClass:[NSDecimalNumber class]]) lua_pushnumber(L, [instance doubleValue]); |
| class Global | |
| def name; "hello world"; end | |
| end | |
| class ListOne < Global | |
| def name; "one"; end | |
| def output; "#{name}"; end | |
| end | |
| class ListTwo < Global |
| (scrn#1) Create a new Window-based application. | |
| (scrn#2) Name it WaxApplication, set the device to iPhone, click next, and save it to your Desktop | |
| Open the folder containing the newly created XCode project. | |
| (scrn#3) Make 3 new folders: wax, scripts. | |
| Download latest copy of Wax: https://github.com/probablycorey/wax/zipball/master | |
| Unzip by opening the .zip file. | |
| Navigate to the new folder. It will be called something like "probablycorey-wax-124ca46" |
| #!/usr/bin/env ruby | |
| lines = `git log -n 400 --format=oneline`.split("\n") | |
| lines.map! do |line| | |
| sha, *msg = line.split | |
| msg = msg.join(' ') # unused | |
| colors = sha.scan(/[a-z0-9]{8}/) | |
| stops = colors.map do |color| | |
| rgba = color.scan(/[a-z0-9]{2}/).map {|o| o.to_i(16)} | |
| "rgba(#{rgba.join ','})" |
Simple Mobile + Native
| waxClass{"AppDelegate", protocols = {"UIApplicationDelegate"}} | |
| function applicationDidFinishLaunching(self, application) | |
| -- wax.cache.clearAll() | |
| CurrentLocation:sharedInstance():start(60, nil) | |
| local frame = UIScreen:mainScreen():bounds() | |
| self.window = UIWindow:initWithFrame(frame) | |
| self.window:makeKeyAndVisible() | |
| // | |
| // GTRepositoryTest.m | |
| // ObjectiveGitFramework | |
| // | |
| // Created by Timothy Clem on 2/21/11. | |
| // | |
| // The MIT License | |
| // | |
| // Copyright (c) 2011 Tim Clem | |
| // |
| $('head').prepend('<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=0" />'); |
| // | |
| // WaxRetainIssueAppDelegate.m | |
| // WaxRetainIssue | |
| // | |
| // Created by Martin Cote on 11-02-17. | |
| // Copyright Loopycube 2011. All rights reserved. | |
| // | |
| #import "WaxRetainIssueAppDelegate.h" | |
| #import "WaxRetainIssueViewController.h" |