Decorators for class
@Injectable
class A {}core.di.decoratorsInjectable
| // 한빛 미디어에서 책 제목 수집 | |
| // var titles = [] | |
| // $('.ct a strong').each(function(i) {titles.push($(this).text())}) | |
| 'use strict' | |
| let fs = require('fs'); | |
| let books = require('./books.json'); | |
| fs.mkdir(`${__dirname}/result`, () => { |
| npm install @reactivex/rxjs; | |
| mkdir -p typings/rxjs; | |
| echo "import * as Rx from './Rx'; export module '@reactivex/rxjs' { export = Rx; }" > typings/rxjs/rxjs.d.ts; | |
| cd node_modules/@reactivex/rxjs/dist/es6; | |
| find . -type f -iname '*.d.ts' | cpio -pdm ../../../../../typings/rxjs/; |
| # Jenkins Environment Variables | |
| # $HOME | |
| # $DROPBOX | |
| # Jenkins Task Setting | |
| # Cron Schedule: H H/24 * * * | |
| # Execute Shell Script: sh "$DROPBOX/Macbook Backup Every Day.sh"; | |
| export PATH=/usr/local/bin:$PATH; |
| // @param c typeof Class : target class | |
| // @param annotation typeof any : some annotation object | |
| // | |
| // c.annotations = [annotation] | |
| // | |
| // Class에 annotations 배열을 만들고 annotation을 기록해준다 | |
| function addAnnotation(c: any, annotation: any): any { | |
| (c.annotations || (c.annotations = [])).push(annotation) | |
| return c | |
| } |
| //var Mixin = { | |
| // mixinMethod: function () { | |
| // console.log('mixinMethod()') | |
| // } | |
| //} | |
| module.exports = React.createClass({ | |
| // ------------------------------------- | |
| // Mixin | |
| // ------------------------------------- |
| ttttt |
| <?xml version="1.0" encoding="utf-8"?> | |
| <s:GridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" clipAndEnableScrolling="true"> | |
| <fx:Script> | |
| <![CDATA[ | |
| override public function prepare(hasBeenRecycled:Boolean):void { | |
| if (data) { | |
| lblData.text=data[column.dataField]; | |
| } | |
| } |
| class AmfAsyncUnit implements IAsyncUnit { | |
| public var channelId:String; | |
| public var channelUrl:String; | |
| public var destination:String; | |
| private var _fault:Function; | |
| private var _result:Function; | |
| public function getRemoteObject():RemoteObject { |