This file contains 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
define([ | |
'can', | |
'url', | |
'urlregexp', | |
'can/view/stache/intermediate_and_imports' | |
], function( can, url, urlRegex, getIntermediateAndImports ) { | |
var tagFilter = /^(a|i|s|del|br|blockquote|code|q|cite|small|strong|sub|sup|em|mark|u|h[1-6])$/, | |
attrFilter = /^(href|rel)$/; |
This file contains 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 opentype = require('opentype.js'), | |
loader = require("@loader"); | |
exports.fetch = function( load ) { | |
if (typeof XMLHttpRequest !== 'function') { | |
load.metadata.build = false; | |
return loader.fetch(load); | |
} | |
return new Promise(function( resolve, reject ) { |
This file contains 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 protectedDirs = require('./protected-directories'), | |
errorHandler = require('express-error-funnel'), | |
Handlebars = require('express-handlebars'), | |
validator = require('express-validator'), | |
handler = require('node-restify-errors'), | |
cookieParser = require('cookie-parser'), | |
session = require('./session').session, | |
compression = require('compression'), | |
bodyParser = require('body-parser'), | |
policies = require('./policies'), |
This file contains 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 DefineList = require('can-define/list/'), | |
DefineMap = require('can-define/map/'), | |
tag = require('can-connect/can/tag/'), | |
deepEqual = require('deep-equal'), | |
connect = require('can-connect'), | |
validator = require('validator'), | |
zxcvbn = require('zxcvbn'), | |
config = require('config'), | |
set = require('can-set'), | |
Kefir = require('kefir'), |
This file contains 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 DefineMap = require('can-define/map/'), | |
Component = require('can-component'), | |
deepEqual = require('deep-equal'), | |
compute = require('can-compute'), | |
Stream = require('can-stream'), | |
Kefir = require('kefir'); | |
require('can-define-stream'); | |
var ViewModel = DefineMap.extend({ |
This file contains 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 DefineMap = require('can-define/map/'), | |
Component = require('can-component'), | |
batch = require('can-event/batch/'), | |
$ = require('can-jquery'); | |
require('jquery-ui/ui/widgets/sortable'); | |
require('./sortable-list.css!'); | |
var ViewModel = DefineMap.extend({ |
This file contains 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
FROM mhart/alpine-node:12.13.0 | |
ENV APP /var/www/node | |
RUN mkdir -p $APP | |
WORKDIR $APP | |
EXPOSE 3000 |
This file contains 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
.DS_Store | |
LICENSE | |
readme.md | |
# App | |
test | |
# Docker | |
docker-compose.yml | |
docker |
This file contains 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
FROM node:10.15.2-alpine | |
ENV APP /app/api | |
ENV NODE_ENV testing | |
RUN mkdir -p $APP | |
WORKDIR $APP |
This file contains 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
FROM node:10.15.2-alpine | |
ENV APP /app/api | |
RUN mkdir -p $APP | |
WORKDIR $APP | |
EXPOSE 3333 |
OlderNewer