Skip to content

Instantly share code, notes, and snippets.

View chenillen's full-sized avatar
🤩

Allen C. chenillen

🤩
View GitHub Profile
@chenillen
chenillen / prestyle.css
Created August 21, 2012 09:09
Nice Display of Web...
html,body{
-webkit-font-smoothing:antialiased!important;
font-family:Avenir,'Helvetica Neue'!important;
}
{
//// Bezier 2 Drawing
UIBezierPath* bezier2Path = UIBezierPath.bezierPath;
[bezier2Path moveToPoint: CGPointMake(97.5, 68.12)];
[bezier2Path addCurveToPoint: CGPointMake(93.5, 83.12) controlPoint1: CGPointMake(97.5, 68.12) controlPoint2: CGPointMake(99.79, 80.7)];
[bezier2Path addCurveToPoint: CGPointMake(108.5, 74.12) controlPoint1: CGPointMake(87.21, 85.54) controlPoint2: CGPointMake(105.36, 86.23)];
[UIColor.darkGrayColor setStroke];
bezier2Path.lineWidth = 1;
[bezier2Path stroke];
<script>
import wepy from 'wepy'
export default class Child1 extends wepy.page {
props = {
childId: {
type: String,
default: null
}
}
<!-- parent -->
<template>
<div class="page-container">
<custom-text @custom-click="customClick" />
</div>
</template>
<script>
import wepy from '@wepy/core'