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
Show hidden characters
{ | |
"root": true, | |
"env": { | |
"browser": true | |
}, | |
"extends": [ | |
"airbnb-base", | |
"plugin:vue/strongly-recommended" | |
], | |
"plugins": [ |
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 gulp = require('gulp'); | |
var sequence = require('run-sequence'); | |
var es = require('event-stream'); | |
var clean = require('gulp-clean'); | |
var htmlReplace = require('gulp-html-replace'); | |
var inject = require('gulp-inject'); | |
var compass = require('gulp-compass'); | |
var minifyCSS = require('gulp-minify-css'); | |
var ngAnnotate = require('gulp-ng-annotate'); | |
var uglify = require('gulp-uglify'); |
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
app.config(['$httpProvider', function ($httpProvider) { | |
$httpProvider.interceptors.push(function ($q, $injector) { | |
var notificationChannel, | |
$http; | |
return { | |
// optional method | |
'request': function (config) { | |
// get requestNotificationChannel via $injector because of circular dependency problem |
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 isMobile = navigator.userAgent.match(/Android|BlackBerry|BB10|iPhone|iPad|iPod|Opera Mini|IEMobile/i) || false; |