[ONE LINE DESCRIPTION OF PROJECT]
[A PARAGRAPH DESCRIBING WHY YOU BUILT THIS]
[ANOTHER PARAGRAPH DESCRIBING YOUR IMPETUS FOR RELEASING THIS]
#=============================================================================== | |
# RemoteTCP.py, v0.1, released 01.26.08. | |
# Installation notes, usage and commentary: | |
# http://lamberta.posterous.com/remotetcp-for-robofab-and-fontlab | |
# | |
# Copyright (c) William Lamberta, <www.lamberta.org> | |
# Released under the BSD License, | |
# see www.opensource.org/licenses/bsd-license.php for details. | |
# Includes code from RoboFab <www.robofab.org>, | |
# Copyright (c) The RoboFab Developers, Just van Rossum, Tal Leming, Erik van Bloklandwhich. |
from robofab.tools.remoteTCP import FontLabServer | |
myServer = FontLabServer() | |
myServer.run() |
/*! | |
* jQuery TextChange Plugin | |
* http://www.zurb.com/playground/jquery-text-change-custom-event | |
* | |
* Copyright 2010, ZURB | |
* Released under the MIT License | |
*/ | |
(function ($) { | |
$.event.special.textchange = { |
<?php | |
/** | |
* AutoHelperView | |
* Provides automatic helper loading for views. | |
* | |
* @author Joe Beeson <jbeeson@gmail.com> | |
* @auther Cees-Jan Kiewiet <ceesjank@gmail.com> | |
*/ | |
class AutoHelperView extends View { |
<?php | |
/** | |
* In your Apache conf file, set the following to enable XSendfile: | |
* | |
<Directory "/"> | |
# This should be handled by the XSendFile module, but a bug in 0.11.1 prevented it from being set properly. | |
EnableSendfile on | |
XSendFile on |
var Autocomplete = Backbone.View.extend({ | |
render: function() { | |
var choices = this.options.choices, | |
selected = this.options.selected, | |
iterator = this.options.iterator, | |
label = this.options.label, | |
allowDupes = this.options.allowDupes, | |
$el = $(this.el); | |
$el.autocomplete({ | |
source: function(request, response) { |
<table> | |
<tbody tabindex="-1" id="sc201" class=""> | |
<tr tabindex="-1" id="sc210" class="" style=""> | |
<td tabindex="-1" id="sc214" class="" style=""><span tabindex="-1" id="sc216" class="" style="">something</span></td> | |
<td tabindex="-1" id="sc220" class="" style=""><span tabindex="-1" id="sc221" class="" style="">new</span></td> | |
</tr> | |
<tr tabindex="-1" id="sc225" class="" style=""> | |
<td tabindex="-1" id="sc228" class="" style=""><span tabindex="-1" id="sc229" class="" style="">something</span></td> | |
<td tabindex="-1" id="sc232" class="" style=""><span tabindex="-1" id="sc233" class="" style="">else</span></td> | |
</tr> |
// re: http://japhr.blogspot.com/2011/09/beginning-namespacing-in-backbonejs.html | |
(function(exports) { | |
var Cal = exports.Cal = {}; | |
Cal.Appointment = Backbone.Model.extend(); | |
Cal.Appointments = Backbone.Collection.extend(); | |
Cal.AppointmentView = Backbone.View.extend(); |
App.Category = SC.Record.extend({ | |
name: SC.Record.attr(String), | |
parent: SC.Record.toOne('App.Category'), | |
lft: SC.Record.attr(Number), | |
rgt: SC.Record.attr(Number), | |
itemType: SC.Record.attr(String), | |
listings: SC.Record.toMany('App.Listing', {inverse: "category"}), | |
//Tree Properties | |
treeItemIsExpanded: NO, |