Skip to content

Instantly share code, notes, and snippets.

(function (root) {
var Ajax = function () {
this.setajax = {};
this.xmlhttp = {};
};
Ajax.prototype.open = function (s) {
var async, method, url, self = this;
this.setajax = s;
try {
if (!this.setajax.url) {
@i-tengfei
i-tengfei / fontFamily
Created October 26, 2014 12:24
输出所有字体
for family in UIFont.familyNames() as [String] {
println(" ---" + family + "---")
for font in UIFont.fontNamesForFamilyName(family) {
println(" " + (font as String))
}
}