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
| const FS = require("fs-extra"); | |
| const Path = require("path"); | |
| const Events = require("events"); | |
| const Chokidar = require('chokidar'); | |
| const Promise = require("thenfail").Promise; | |
| const Chalk = require('chalk'); | |
| const TS = require("typescript"); | |
| const Minimatch = require("minimatch").Minimatch; | |
| const Utils = require('./utils'); |
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
| function x() { | |
| var patterns = []; | |
| for (var i = 0; i < 9; i++) { | |
| for (var i2 = 0; i2 < 9; i2++) { | |
| patterns.push( | |
| '(?:' + i2 + '<=?' + '['+(i2+1)+'-9](?:\\.\\d*)?|' + i2 + '>=?(?:[0-' + Math.max(i2-1, 0) + '])(?:\\.\\d*)?)' | |
| ); | |
| } | |
| patterns.push('(?:'+ i +'[><]='+ i +')'); | |
| patterns.push('(?:' + i + '<[1-9]\\d+(?:\\.\\d*)?|' + i + '>-\\d(?:\\.\\d*)?)'); |
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
| (?:(?:0<=?[1-9](?:\.\d*)?|0>=?(?:[0-0])(?:\.\d*)?)|(?:1<=?[2-9](?:\.\d*)?|1>=?(?:[0-0])(?:\.\d*)?)|(?:2<=?[3-9](?:\.\d*)?|2>=?(?:[0-1])(?:\.\d*)?)|(?:3<=?[4-9](?:\.\d*)?|3>=?(?:[0-2])(?:\.\d*)?)|(?:4<=?[5-9](?:\.\d*)?|4>=?(?:[0-3])(?:\.\d*)?)|(?:5<=?[6-9](?:\.\d*)?|5>=?(?:[0-4])(?:\.\d*)?)|(?:6<=?[7-9](?:\.\d*)?|6>=?(?:[0-5])(?:\.\d*)?)|(?:7<=?[8-9](?:\.\d*)?|7>=?(?:[0-6])(?:\.\d*)?)|(?:8<=?[9-9](?:\.\d*)?|8>=?(?:[0-7])(?:\.\d*)?)|(?:0[><]=0)|(?:0<[1-9]\d+(?:\.\d*)?|0>-\d(?:\.\d*)?)|(?:0<=?[1-9](?:\.\d*)?|0>=?(?:[0-0])(?:\.\d*)?)|(?:1<=?[2-9](?:\.\d*)?|1>=?(?:[0-0])(?:\.\d*)?)|(?:2<=?[3-9](?:\.\d*)?|2>=?(?:[0-1])(?:\.\d*)?)|(?:3<=?[4-9](?:\.\d*)?|3>=?(?:[0-2])(?:\.\d*)?)|(?:4<=?[5-9](?:\.\d*)?|4>=?(?:[0-3])(?:\.\d*)?)|(?:5<=?[6-9](?:\.\d*)?|5>=?(?:[0-4])(?:\.\d*)?)|(?:6<=?[7-9](?:\.\d*)?|6>=?(?:[0-5])(?:\.\d*)?)|(?:7<=?[8-9](?:\.\d*)?|7>=?(?:[0-6])(?:\.\d*)?)|(?:8<=?[9-9](?:\.\d*)?|8>=?(?:[0-7])(?:\.\d*)?)|(?:1[><]=1)|(?:1<[1-9]\d+(?:\.\d*)?|1>-\d(?:\.\d*)?)|(?:0<=?[1-9](?:\.\d*)?|0>=?(?:[0-0])(?:\.\d*)?)|(?: |
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
| var $ = require("jquery"); | |
| var Event = require('common/utils/event.js'); | |
| var Helpers = require('common/utils/helpers.js'); | |
| var DEFAULT_OPTIONS = { | |
| renderLeaf: _renderLeaf, | |
| renderNode: _renderNode, | |
| firstNode: null, | |
| firstLeaf: null, |
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
| function stringify(obj, whitespace, isChild) { | |
| if (!obj) { | |
| return 'null'; | |
| } | |
| var output = (obj instanceof Array ? '[' : '{') + '\n'; | |
| for (var i = 0, keyList = Object.keys(obj), l = keyList.length; i < l; i++ ) { | |
| var key = keyList[i]; | |
| var prop = obj[key]; | |
| var stringifyValue = 'null'; |
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
| package com.maornandroidkit.kits.widgets; | |
| import android.content.Context; | |
| import android.support.annotation.IntDef; | |
| import android.support.annotation.Nullable; | |
| import android.view.LayoutInflater; | |
| import android.view.MotionEvent; | |
| import android.view.SoundEffectConstants; | |
| import android.view.View; |
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
| /** | |
| * 框架数据存储层 | |
| * @author lion | |
| * @email [email protected] | |
| */ | |
| import * as Redux from 'redux'; | |
| import reduxThunk from 'redux-thunk'; | |
| import createLogger from 'redux-logger'; | |
| import { routerReducer } from 'react-native-router'; |
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
| import * as Lodash from 'lodash'; | |
| import { Promise } from 'thenfail'; | |
| import * as Mao from 'mao-cms'; | |
| export function fetchCategories(): any { | |
| return Mao.utils.api | |
| .get(Mao.urls('apis/getCats')) | |
| .then((res) => { | |
| let categories: any[] = []; | |
| let categoriesTree: Dictionary<any> = { |
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
| import * as Lodash from 'lodash'; | |
| import * as React from 'react'; | |
| import * as ReactDOM from 'react-dom'; | |
| import * as $ from 'jquery'; | |
| import * as Mao from 'mao-cms'; | |
| import CourseIntroEditModal from './course-intro-edit-modal'; | |
| import CourseCoverEditModal from './course-cover-edit-modal'; | |
| import CourseVideoEditModal from './course-video-edit-modal'; |
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
| 'use strict'; | |
| var D0 = -1; | |
| var D1 = 261; | |
| var D2 = 293; | |
| var D3 = 329; | |
| var D4 = 349; | |
| var D5 = 392; | |
| var D6 = 440; | |
| var D7 = 494; |