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
(function() { | |
"use strict"; | |
Filter_Controller.filterNameMap["glitch"] = PIXI.filters.GlitchFilter; | |
Filter_Controller.defaultFilterParam["glitch"] = [ | |
10, // slices, 2 - 20 | |
100, // offset, -400 - 400 | |
0 // direction, -180 - 180 | |
] |
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
# encoding: UTF-8 | |
#============================================================================== | |
# | |
# TDD Ace Bitmap Font - 0.0.8 | |
# _____________________________________________________________________________ | |
# | |
# + Author: Galenmereth / Tor Damian Design | |
# + E-mail: post@tordamian.com | |
# ----------------------------------------------------------------------------- | |
# + Last updated: 05/28/2015 |
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
def get_field_type_for(label) | |
l = label.downcase | |
def l.contains?(words) | |
words.split(", ").any?{|word| self.include? word} | |
end | |
case | |
when l.contains?("merknad, notater, anmerkning") then "text" | |
when l.contains?("nr, tlf, telefon, nummer") then "number" | |
else |