示例#1
0
        console.log(prevThis);
    });
}
var bb = require('./bb');
var csjs = require('csjs');
var classNames = require('classnames');
var buttonType = 'primary';
console.log(classNames((_a = {}, _a["btn-" + buttonType] = true, _a)));
var error = '';
var assign = require('object.assign/polyfill')();
Object.assign = assign;
var jsonLoaded = require('./abcd.json');
var Markdown = require('react-markdown');
var markdownInput = '# This is a header\n\nAnd this is a paragraph';
var green = '#33aa22';
var styles = (_b = ["\n\n  /* ", " */\n\n  @-webkit-keyframes yellow-fade {   \n     0% {background: yellow;}\n     100% {background: none;}\n  }\n\n  @keyframes yellow-fade {\n     0% {background: yellow;}\n     100% {background: none;}\n  }\n\n  .highlight {\n     -webkit-animation: yellow-fade 2s ease-in 1;\n     animation: yellow-fade 2s ease-in 1;\n  }\n\n  .panel {\n    border: 1px solid black;\n    background-color: ", ";\n  }\n  .title {\n    padding: 4px;\n    font-size: 15px;\n  }\n\n"], _b.raw = ["\n\n  /* ", " */\n\n  @-webkit-keyframes yellow-fade {   \n     0% {background: yellow;}\n     100% {background: none;}\n  }\n\n  @keyframes yellow-fade {\n     0% {background: yellow;}\n     100% {background: none;}\n  }\n\n  .highlight {\n     -webkit-animation: yellow-fade 2s ease-in 1;\n     animation: yellow-fade 2s ease-in 1;\n  }\n\n  .panel {\n    border: 1px solid black;\n    background-color: ", ";\n  }\n  .title {\n    padding: 4px;\n    font-size: 15px;\n  }\n\n"], csjs(_b, __filename, green));
var css = csjs.getCss(styles);
var insertCss = require('insert-css');
insertCss(css + '\n' + '//# \u0073ourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzY3JpcHQuanMiLCJzb3VyY2VSb290IjoiaHR0cDovL2V4YW1wbGUuY29tL2FwcC9qcy8ifQ==');
var timing = '';
if (window.performance) {
    var pageLoadTiming = {};
    for (var k in window.performance.timing) {
        if (k !== 'toJSON') {
            pageLoadTiming[k] = window.performance.timing[k];
        }
    }
    pageLoadTiming.code = (new Date()).valueOf();
    timing = JSON.stringify(pageLoadTiming, null, 2);
}
function iOS8Minus() {
示例#2
0
文件: column.js 项目: Qard/re-bulma
'use strict';

var _templateObject = _taggedTemplateLiteral(['\n  @media screen and (max-width: 768px) {\n    .column  + .column  {\n      margin-top: 20px;\n    }\n  }\n\n  @media screen and (min-width: 769px) {\n    .column {\n      flex: 1;\n    }\n    .column  + .column  {\n      margin-left: 20px;\n    }\n\n    .isDouble extends .column{\n      flex: 2;\n    }\n\n    .isTriple extends .column {\n      flex: 3;\n    }\n\n    .isQuadruple extends .column {\n      flex: 4;\n    }\n\n    .isHalf extends .column {\n      flex: none;\n      width: 50%;\n    }\n\n    .isThird extends .column {\n      flex: none;\n      width: 33.3333%;\n    }\n\n    .isQuarter extends .column {\n      flex: none;\n      width: 25%;\n    }\n\n    .is1 extends .column {\n      flex: none;\n      width: 8.33333%;\n    }\n\n    .is2 extends .column {\n      flex: none;\n      width: 16.66667%;\n    }\n\n    .is3 extends .column {\n      flex: none;\n      width: 25%;\n    }\n\n    .is4 extends .column {\n      flex: none;\n      width: 33.33333%;\n    }\n\n    .is5 extends .column {\n      flex: none;\n      width: 41.66667%;\n    }\n\n    .is6 extends .column {\n      flex: none;\n      width: 50%;\n    }\n\n    .is7 extends .column {\n      flex: none;\n      width: 58.33333%;\n    }\n\n    .is8 extends .column {\n      flex: none;\n      width: 66.66667%;\n    }\n\n    .is9 extends .column {\n      flex: none;\n      width: 75%;\n    }\n\n    .is10 extends .column {\n      flex: none;\n      width: 83.33333%;\n    }\n\n    .is11 extends .column {\n      flex: none;\n      width: 91.66667%;\n    }\n  }\n'], ['\n  @media screen and (max-width: 768px) {\n    .column  + .column  {\n      margin-top: 20px;\n    }\n  }\n\n  @media screen and (min-width: 769px) {\n    .column {\n      flex: 1;\n    }\n    .column  + .column  {\n      margin-left: 20px;\n    }\n\n    .isDouble extends .column{\n      flex: 2;\n    }\n\n    .isTriple extends .column {\n      flex: 3;\n    }\n\n    .isQuadruple extends .column {\n      flex: 4;\n    }\n\n    .isHalf extends .column {\n      flex: none;\n      width: 50%;\n    }\n\n    .isThird extends .column {\n      flex: none;\n      width: 33.3333%;\n    }\n\n    .isQuarter extends .column {\n      flex: none;\n      width: 25%;\n    }\n\n    .is1 extends .column {\n      flex: none;\n      width: 8.33333%;\n    }\n\n    .is2 extends .column {\n      flex: none;\n      width: 16.66667%;\n    }\n\n    .is3 extends .column {\n      flex: none;\n      width: 25%;\n    }\n\n    .is4 extends .column {\n      flex: none;\n      width: 33.33333%;\n    }\n\n    .is5 extends .column {\n      flex: none;\n      width: 41.66667%;\n    }\n\n    .is6 extends .column {\n      flex: none;\n      width: 50%;\n    }\n\n    .is7 extends .column {\n      flex: none;\n      width: 58.33333%;\n    }\n\n    .is8 extends .column {\n      flex: none;\n      width: 66.66667%;\n    }\n\n    .is9 extends .column {\n      flex: none;\n      width: 75%;\n    }\n\n    .is10 extends .column {\n      flex: none;\n      width: 83.33333%;\n    }\n\n    .is11 extends .column {\n      flex: none;\n      width: 91.66667%;\n    }\n  }\n']);

function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }

var csjs = require('csjs');

module.exports = csjs(_templateObject);