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
_ = require('lodash'); | |
/** | |
* Parse Query from Express req format to oDATA | |
* Parameters supported: $filter, $select, $orderby, $top, $skip | |
* Change the application status of the application | |
* @param req.query | |
* @return object | |
*/ |
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
// generated on 2015-11-05 using generator-gulp-webapp 1.0.3 | |
import gulp from 'gulp'; | |
import gulpLoadPlugins from 'gulp-load-plugins'; | |
import browserSync from 'browser-sync'; | |
import del from 'del'; | |
import {stream as wiredep} from 'wiredep'; | |
const $ = gulpLoadPlugins(); | |
const reload = browserSync.reload; |
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
Via jQuery: | |
if (!Modernizr.svg) { | |
$("#logo").css("background-image", "url(fallback.png)"); | |
} | |
Via CSS: | |
#logo { | |
background: url(logo.svg); //svg by default |