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
require('harmony-reflect'); | |
function CPSWhitelistHandler(whitelist) { | |
this._whitelist = whitelist; | |
// We can't use "get" and "has" from the prototype of the handler with | |
// at least the nodejs implementations that is available. I don't | |
// know if this is going to change ... | |
// It looks like the internal check is done with Object.hasOwnProperty | |
this.get = function(target, name, receiver) { |
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
#! /usr/bin/env python | |
import json | |
from robofab import glifLib2 | |
class Glyph (object): | |
def __init__(self): | |
self.outline = []; | |
def getPen(self): | |
return OutlinePen(self.outline) |
NewerOlder