blog menu page & blog article page

This commit is contained in:
Nina Juresic
2017-10-23 15:54:25 +02:00
parent f21a22b539
commit 3ec0fe7455
3048 changed files with 241133 additions and 432 deletions

View File

@@ -0,0 +1,52 @@
'use strict';
var layout = require('./layout.js');
var short = require('./short');
var shortDuplicate = require('./shortDuplicate');
var items = ['short'];
var short = function() {
};
define(['app'], function (app) {
var directives = {};
directives.gps = function () {
return {
restrict: "E",
replace: true,
templateUrl: 'view/gps.html',
link: function (scope, element, attrs, interfacePanel) {
},
controller: function ($scope, $snapshot) {
}
};
};
directives.logo = function () {
return {
restrict: "E",
replace: true,
template: "<img src=\"img/image1.jpg\" />test</h1>",
link: function (scope, element, attrs, interfacePanel) {
},
controller: function ($scope, $snapshot) {
}
};
};
app.directive(directives);
});
//# sourceMappingURL=app.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"application.js","sources":""]}

View File

@@ -0,0 +1,5 @@
'use strict';
exports.hello = function() {
return 'Hello World'
};

View File

@@ -0,0 +1 @@
lodash.js

View File

@@ -0,0 +1,35 @@
/*global require*/
'use strict';
require.config({
paths: {
angular: '../lib/angular',
bootstrap: '/lib/bootstrap',
jquery: '../lib/jquery',
lodash: 'lodash',
// bootstrap: '//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min',
// jquery: '//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min',
// underscore: '//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.6.0/underscore-min',
// lodash: '//cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.underscore.min',
},
shim: {
lodash: { exports: '_' },
jquery: { exports: 'jQuery' },
angular: { deps: ['jquery'], exports: 'angular' },
bootstrap: { deps: ['jquery'] }
}
});
require([
'angular',
'app'
], function (angular) {
angular.bootstrap(document, ['app']);
});

View File

@@ -0,0 +1,7 @@
'use strict';
exports.no_space_after_map = function() {
return 'The purpose of this file is to test regex replace on source map statement'
};
//# sourceMappingURL=no_space_after_map.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"no_space_after_map.js","sources":""]}

View File

@@ -0,0 +1,6 @@
'use strict';
exports.hello = function() {
return 'Hello World'
};

View File

@@ -0,0 +1,6 @@
'use strict';
exports.hello = function() {
return 'Hello!'
};