TestGUI.ls
package
{
import loom.Application;
import loom2d.display.StageScaleMode;
import loom2d.ui.SimpleLabel;
require 'rake' | |
require 'rake/testtask' | |
Rake::TestTask.new do |t| | |
t.pattern = 'spec/**/*_spec.rb' | |
t.libs.push 'spec' | |
end |
@echo off | |
color 70 | |
prompt $p$g$s | |
title Command Prompt Portable | |
set PA=%USERPROFILE%\PortableApps\PortableApps | |
set USERLOCAL=%PA%\CommandPromptPortable\Data | |
set PATH=%PATH%;%USERLOCAL%\bin |
#!/usr/bin/env ruby | |
abort 'please specify the remote to delete branches from' if ARGV.empty? | |
remote = ARGV.shift | |
puts "gathering list of branches for remote '#{remote}'" | |
branches = `git branch -r | grep #{remote}`.lines | |
branches.map! { |s| s.strip! } | |
branches.reject! { |b| b =~ /.*\/master/ } | |
branches.join("\n") |
# set the title of the current Terminal tab | |
function title { | |
printf "\033]0;%s\007" "$1" | |
} |
TypeChecker.ls
package
{
import loom.Application;
is
,as
,instanceof
return expected results on literal values, but not when the same values are passed into a function and the type ops are applied to the function argument variables. NOTE: when testing with trace() be aware that Sprint 30 (and earlier?) contained a bug that caused trace to print all Booleans as true. This is resolved in SDK v1.1.2738 (and Sprint 31).
TypeChecker.ls
ruby --version
rake --version
trouble with font quads in sprint31 on Android 4.1.2 (regression from sprint30)
screenshot images below