Skip to content

Commit

Permalink
fixed jshint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Spratley, Jonnie committed Dec 19, 2014
1 parent 148b797 commit e6d387f
Show file tree
Hide file tree
Showing 19 changed files with 298 additions and 325 deletions.
8 changes: 4 additions & 4 deletions app/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
* Resize textarea automatically to the size of its text content.
*
* @example
<example module="rfx">
<file name="index.html">
<textarea ng-model="text" r-autogrow class="input-block-level"></textarea>
<example module='rfx'>
<file name='index.html'>
<textarea ng-model='text' r-autogrow class='input-block-level'></textarea>
<pre>{{text}}</pre>
</file>
</example>
*/
var app;

Parse.initialize("fYHs4Flnj7vgVHm9vaFiFTSKt5Mj2Bxf9e93mTOB", "QPFGBNHs0QQHFS54atV71oKppd3gTgaFfQIHP2VW");
Parse.initialize('fYHs4Flnj7vgVHm9vaFiFTSKt5Mj2Bxf9e93mTOB', 'QPFGBNHs0QQHFS54atV71oKppd3gTgaFfQIHP2VW');

app = angular.module('angularCmsApp', ['ngCookies', 'ngResource', 'ngSanitize', 'ngRoute', 'ngAnimate', 'mgcrea.ngStrap', 'fg']).config(function($routeProvider) {
var routeResolver;
Expand Down
246 changes: 123 additions & 123 deletions app/scripts/config.js
Original file line number Diff line number Diff line change
@@ -1,252 +1,252 @@
window.Config = {
baseurl: document.location.origin,
sitetitle: "angular-cms",
sitedesc: "This is the description",
sitebrand: "/images/angular-cms-brand.png",
sitecopy: "2014 ",
version: "0.1",
email: "[email protected]",
sitetitle: 'angular-cms',
sitedesc: 'This is the description',
sitebrand: '/images/angular-cms-brand.png',
sitecopy: '2014 ',
version: '0.1',
email: '[email protected]',
debug: true,
feature: {
title: "angular-cms",
body: "A content management system of some sort."
title: 'angular-cms',
body: 'A content management system of some sort.'
},
features: [
{
id: 1,
title: "HTML5",
body: "Using HTML5 in every way to make a better user experience.",
image: "/images/feature-html5.png"
title: 'HTML5',
body: 'Using HTML5 in every way to make a better user experience.',
image: '/images/feature-html5.png'
}, {
id: 2,
title: "AngularJS",
body: "The client-side framework of choice is Angular, its a full-stack.",
image: "/images/feature-angular.png"
title: 'AngularJS',
body: 'The client-side framework of choice is Angular, its a full-stack.',
image: '/images/feature-angular.png'
}, {
id: 3,
title: "Twitter Bootstrap",
body: "The client-side UI of choice is Twitter Bootstrap 3.0.",
image: "/images/feature-bootstrap.png"
title: 'Twitter Bootstrap',
body: 'The client-side UI of choice is Twitter Bootstrap 3.0.',
image: '/images/feature-bootstrap.png'
}, {
id: 4,
title: "PhantomJS",
body: "Fully testable with Jasmine Karma Runner Unit e2e with PhantomJS.",
image: "/images/feature-phantomjs.png"
title: 'PhantomJS',
body: 'Fully testable with Jasmine Karma Runner Unit e2e with PhantomJS.',
image: '/images/feature-phantomjs.png'
}, {
id: 5,
title: "NodeJS",
body: "The server of choice is NodeJS, its fast and scalable.",
image: "/images/feature-nodejs.png"
title: 'NodeJS',
body: 'The server of choice is NodeJS, its fast and scalable.',
image: '/images/feature-nodejs.png'
}, {
id: 6,
title: "MongoDB",
body: "The database of choice is Mongo, its fast and scalable.",
image: "/images/feature-mongodb.png"
title: 'MongoDB',
body: 'The database of choice is Mongo, its fast and scalable.',
image: '/images/feature-mongodb.png'
}
],
session: {
authorized: false,
user: null
},
layout: {
header: "views/_header.html",
sidebar: "views/_sidebar.html",
content: "views/_content.html",
footer: "views/_footer.html"
header: 'views/_header.html',
sidebar: 'views/_sidebar.html',
content: 'views/_content.html',
footer: 'views/_footer.html'
},
theme: "default",
theme: 'default',
templates: {
compiled: "/dist/templates.html",
uncompiled: "/views"
compiled: '/dist/templates.html',
uncompiled: '/views'
},
menu: {
admin: [
{
id: 1,
title: "Pages",
href: "/pages",
icon: "edit"
title: 'Pages',
href: '/pages',
icon: 'edit'
}, {
id: 1,
title: "Plugins",
href: "/plugins",
icon: "folder-open"
title: 'Plugins',
href: '/plugins',
icon: 'folder-open'
}, {
id: 1,
title: "Widgets",
href: "/widgets",
icon: "puzzle-piece"
title: 'Widgets',
href: '/widgets',
icon: 'puzzle-piece'
}, {
id: 1,
title: "Media",
href: "/media",
icon: "cloud-download"
title: 'Media',
href: '/media',
icon: 'cloud-download'
}, {
id: 1,
title: "Users",
href: "/users",
icon: "group"
title: 'Users',
href: '/users',
icon: 'group'
}, {
id: 1,
title: "Themes",
href: "/themes",
icon: "camera"
title: 'Themes',
href: '/themes',
icon: 'camera'
}, {
id: 1,
title: "Settings",
href: "/settings",
icon: "cog"
title: 'Settings',
href: '/settings',
icon: 'cog'
}
],
pub: [],
user: [
{
id: 1,
title: "Dashboard",
icon: "dashboard",
href: "/dashboard"
title: 'Dashboard',
icon: 'dashboard',
href: '/dashboard'
}, {
id: 2,
title: "My Profile",
icon: "user",
href: "/profile"
title: 'My Profile',
icon: 'user',
href: '/profile'
}, {
id: 3,
title: "Help",
icon: "book",
href: "/help"
title: 'Help',
icon: 'book',
href: '/help'
}
]
},
settings: {
currentdate: new Date(),
dateformats: ["medium", "short", "fullDate", "longDate", "mediumDate", "shortDate"],
timeformats: ["mediumTime", "shortTime"],
dateformat: "medium",
timeformat: "shortTime",
dateformats: ['medium', 'short', 'fullDate', 'longDate', 'mediumDate', 'shortDate'],
timeformats: ['mediumTime', 'shortTime'],
dateformat: 'medium',
timeformat: 'shortTime',
timezone: null,
servers: [
{
name: "apiv1",
host: "127.1.0.1",
name: 'apiv1',
host: '127.1.0.1',
port: 3000,
body: "This is the v1 api server"
body: 'This is the v1 api server'
}, {
name: "apiv2",
host: "127.1.0.1",
name: 'apiv2',
host: '127.1.0.1',
port: 3000,
body: "This is the v2 api server"
body: 'This is the v2 api server'
}
],
socketio: {
host: "127.1.0.1",
host: '127.1.0.1',
port: 8081
},
network: {
online: true,
cache: true
},
database: {
host: "127.1.0.1",
host: '127.1.0.1',
port: 27017,
name: "angular-cms"
name: 'angular-cms'
},
api: {
url: "",
endpoint: "/api/",
version: "v2",
versions: ["v1", "v2"]
url: '',
endpoint: '/api/',
version: 'v2',
versions: ['v1', 'v2']
},
live: false,
debug: true,
version: "0.0.1",
formFactor: "desktop",
version: '0.0.1',
formFactor: 'desktop',
currentOrientation: null,
cdn: "http://a481ab4f6ea4dd65cff0-b2b68ced242ecf1cb9bc1021688e3775.r49.cf1.rackcdn.com/angular-cms",
cdn: 'http://a481ab4f6ea4dd65cff0-b2b68ced242ecf1cb9bc1021688e3775.r49.cf1.rackcdn.com/angular-cms',
cdns: {
http: "http://a481ab4f6ea4dd65cff0-b2b68ced242ecf1cb9bc1021688e3775.r49.cf1.rackcdn.com/angular-cms",
https: "https://4ac535c4a3d1d3359bbc-b2b68ced242ecf1cb9bc1021688e3775.ssl.cf1.rackcdn.com/angular-cms",
streaming: "http://df86ce1cf0cf1f552fe2-b2b68ced242ecf1cb9bc1021688e3775.r49.stream.cf1.rackcdn.com/angular-cms"
http: 'http://a481ab4f6ea4dd65cff0-b2b68ced242ecf1cb9bc1021688e3775.r49.cf1.rackcdn.com/angular-cms',
https: 'https://4ac535c4a3d1d3359bbc-b2b68ced242ecf1cb9bc1021688e3775.ssl.cf1.rackcdn.com/angular-cms',
streaming: 'http://df86ce1cf0cf1f552fe2-b2b68ced242ecf1cb9bc1021688e3775.r49.stream.cf1.rackcdn.com/angular-cms'
}
},
options: {
layouts: [
{
id: 0,
name: "Fixed",
value: "container"
name: 'Fixed',
value: 'container'
}, {
id: 1,
name: "Fluid",
value: "container-fluid"
name: 'Fluid',
value: 'container-fluid'
}
],
sidebars: [
{
id: 1,
name: "Default",
value: "sidebar",
url: "/views/partials/sidebar.html"
name: 'Default',
value: 'sidebar',
url: '/views/partials/sidebar.html'
}
],
navbars: [
{
id: 1,
name: "Default",
value: "navbar",
url: "/views/partials/navbar.html"
name: 'Default',
value: 'navbar',
url: '/views/partials/navbar.html'
}
],
backgrounds: [
{
id: 0,
title: "Default"
title: 'Default'
}
],
themes: ["Default", "Amelia", "Cerulean", "Cosmo", "Cyborg", "Flatly", "Journal", "Readable", "Simplex", "Slate", "Spacelab", "United", "Yeti"]
themes: ['Default', 'Amelia', 'Cerulean', 'Cosmo', 'Cyborg', 'Flatly', 'Journal', 'Readable', 'Simplex', 'Slate', 'Spacelab', 'United', 'Yeti']
},
logout: {
redirect: "#/login",
message: "Good bye..."
redirect: '#/login',
message: 'Good bye...'
},
login: {
logo: "https://7fd8f70e662929940bdd-79dc9bd5ca0b6e6cb6f16ffd7b1e05e2.ssl.cf1.rackcdn.com/img/logo-login-med.png",
redirect: "/#/home",
logo: 'https://7fd8f70e662929940bdd-79dc9bd5ca0b6e6cb6f16ffd7b1e05e2.ssl.cf1.rackcdn.com/img/logo-login-med.png',
redirect: '/#/home',
user: {
username: "",
password: ""
username: '',
password: ''
},
message: "Welcome {{user.username}}"
message: 'Welcome {{user.username}}'
},
server: {
host: "http://localhost",
host: 'http://localhost',
port: 8181,
apiBase: "/api/v2",
version: "v2",
apiBase: '/api/v2',
version: 'v2',
security: {
salt: "angular-cms"
salt: 'angular-cms'
},
mongodb: "angularcms:[email protected]:10089/app19632340",
mongodb: 'angularcms:[email protected]:10089/app19632340',
db: {
name: "angular-cms",
username: "amadmin",
password: "fred",
host: "localhost",
name: 'angular-cms',
username: 'amadmin',
password: 'fred',
host: 'localhost',
port: 27017
},
email: {
username: "[email protected]",
password: "isyourdaughter18?"
username: '[email protected]',
password: 'isyourdaughter18?'
},
proxy: {
hostname: "localhost",
hostname: 'localhost',
port: 5001
},
staticDir: "www",
publicDir: "www",
uploadsTmpDir: ".tmp",
uploadsDestDir: "www/cms-content/uploads",
uploadsUrl: ":8181/cms-content/",
logFormat: "[:date] - [:method] - :url - :status - :response-time ms"
staticDir: 'www',
publicDir: 'www',
uploadsTmpDir: '.tmp',
uploadsDestDir: 'www/cms-content/uploads',
uploadsUrl: ':8181/cms-content/',
logFormat: '[:date] - [:method] - :url - :status - :response-time ms'
}
};
Loading

0 comments on commit e6d387f

Please sign in to comment.