Skip to content

Instantly share code, notes, and snippets.

Brian Frisch teltploek

Block or report user

Report or block teltploek

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ProgressIndicatorSteps.js
const steps = [
{
number: 1,
title: 'Oplysninger om dig',
state: 'completed'
},
{
number: 2,
title: 'Kontaktoplysninger',
state: 'active'
View jquery-private.js
define(['jquery'], function (jq) {
return jq.noConflict();
});
View jquery-private.js
map: {
// '*' means all modules will get 'jquery-private'
// for their 'jquery' dependency.
'*': { 'jquery': 'jquery-private' },
// 'jquery-private' wants the real jQuery module though.
'jquery-private': { 'jquery': 'jquery' }
}
View .gitignore
# Build Folders (you can keep bin if you'd like, to store dlls and pdbs)
[Bb]in/
[Bb]in_x64/
[Bb]in_Net4/
[Oo]bj/
# mstest test results
TestResults
## Ignore Visual Studio temporary files, build results, and
View intercept-enter.js
/*
===================================
Pentia (PT) Namespace
===================================
*/
var PT = PT || {};
/*
===================================
PT.FormInterceptEnter
===================================
View linkpicker.js
var url = 'http://testwebserv30.ft.dk/fttdservice';
$(document).ready(function() {
$("#tabs").tabs();
// shortcut for insert
shortcut.add("Ctrl+i", function() {
var selectednodes = $.jstree.reference('#jstree').get_selected(true);
View clean.js
// Task: clean
// Description: clean static dir for gulp generated files "rimraf": "^2.2.8",
// -----------------------------------------------------------------------
var frontend = require('../local_modules/frontend-builder.js');
var path = require('path');
var gulp = require('gulp');
var rimraf = require('rimraf');
View bundles.json
[{
"name": "custom",
"dest": "scripts.min.js",
"destFolder": "www/Components/Project/Design/scripts",
"bundle": [
"/Components/Project/Design/scripts/script-in-bundle.js",
"/Components/Project/Design/scripts/another-script-in-bundle.js",
"/Components/Project/Design/scripts/yet-another-script-in-bundle.js"
]
}]
View scriptbundle-prod.html
<!-- scripts.min.js bundle in prod -->
<script src="/Components/Project/Design/scripts/scripts.min.js"></script>
View scriptbundle-dev.html
<!-- scripts.min.js bundle in development -->
<script src="/Components/Project/Design/scripts/script-in-bundle.js"></script>
<script src="/Components/Project/Design/scripts/another-script-in-bundle.js"></script>
<script src="/Components/Project/Design/scripts/yet-another-script-in-bundle.js"></script>
You can’t perform that action at this time.