- Basic knowledge of HTML read basics_here
- Good knowledge of basic Javascript read basics here
- Understanding of Object Oriented concepts for Javascript Cover this udacity mini-course
- Understanding of the Working Principle of DOM read here
This file contains hidden or 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
# At this time, Sablon doesn't support to keep original ratio of image. | |
# We develop these classes for extending this functionality. | |
module Sablon | |
module Content | |
class ImageOriginalRatio < Struct.new(:name, :data, :properties) | |
# keep this attribute in case of Image (not ImageOriginalRatio). | |
attr_accessor :local_rid | |
attr_reader :rid_by_file | |
MEASURES = { pixel: 'px', centimeter: 'cm', inch: 'in'} |
I hereby claim:
- I am faizaankhan on github.
- I am faizaankhan (https://keybase.io/faizaankhan) on keybase.
- I have a public key ASBsrohDkAwSEBvfLrqxcxFYxdC-llkaalbos2DRL05WXgo
To claim this, I am signing this object:
OlderNewer