-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0bc3033
commit 1983f20
Showing
53 changed files
with
7,541 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"registry": { | ||
"search": ["https://bower.herokuapp.com", "http://wix:[email protected]:3333"], | ||
"register": "http://wix:[email protected]:3333", | ||
"publish": "http://wix:[email protected]:3333" | ||
}, | ||
"directory": "app/bower_components" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
node_modules | ||
dist | ||
.tmp | ||
.sass-cache | ||
app/bower_components | ||
*.iml | ||
*.sublime-workspace | ||
npm-debug.log | ||
sauce_connect.log* | ||
.DS_Store | ||
.bundle | ||
.idea | ||
.sauce-connect | ||
vendor | ||
Gemfile.lock | ||
coverage | ||
target | ||
replace.private.conf.js | ||
Gruntfile.private.js | ||
reference.ts | ||
.baseDir.ts | ||
.tscache |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"preset": "crockford", | ||
"validateIndentation": 2, | ||
"disallowMultipleVarDecl": null, | ||
"requireMultipleVarDecl": null, | ||
"requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties", | ||
"disallowDanglingUnderscores": null, | ||
"requireSpaceBeforeObjectValues": true, | ||
"requireSpacesInAnonymousFunctionExpression": null, | ||
"requireVarDeclFirst": null | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"bitwise": true, | ||
"camelcase": true, | ||
"curly": true, | ||
"eqeqeq": true, | ||
"immed": true, | ||
"indent": 2, | ||
"latedef": true, | ||
"newcap": true, | ||
"noarg": true, | ||
"quotmark": "single", | ||
"undef": true, | ||
"unused": true, | ||
"strict": true, | ||
"globalstrict": true, | ||
"trailing": true, | ||
"smarttabs": true, | ||
"white": true, | ||
"globals": { | ||
"_": false, | ||
"angular": false, | ||
"require": false, | ||
"process": false, | ||
"module": false | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
linters: | ||
BorderZero: | ||
enabled: true | ||
|
||
CapitalizationInSelector: | ||
enabled: true | ||
|
||
ColorKeyword: | ||
enabled: true | ||
|
||
Comment: | ||
enabled: true | ||
|
||
DebugStatement: | ||
enabled: true | ||
|
||
DeclarationOrder: | ||
enabled: true | ||
|
||
DuplicateProperty: | ||
enabled: true | ||
|
||
ElsePlacement: | ||
enabled: true | ||
style: same_line | ||
|
||
EmptyLineBetweenBlocks: | ||
enabled: true | ||
ignore_single_line_blocks: true | ||
|
||
EmptyRule: | ||
enabled: true | ||
|
||
FinalNewline: | ||
enabled: true | ||
present: true | ||
|
||
HexLength: | ||
enabled: true | ||
style: long | ||
|
||
HexNotation: | ||
enabled: true | ||
style: lowercase | ||
|
||
HexValidation: | ||
enabled: true | ||
|
||
IdWithExtraneousSelector: | ||
enabled: true | ||
|
||
Indentation: | ||
enabled: true | ||
character: space | ||
width: 2 | ||
|
||
LeadingZero: | ||
enabled: true | ||
style: exclude_zero | ||
|
||
MergeableSelector: | ||
enabled: true | ||
force_nesting: true | ||
|
||
NameFormat: | ||
enabled: true | ||
convention: hyphenated_lowercase | ||
|
||
PlaceholderInExtend: | ||
enabled: true | ||
|
||
PropertySortOrder: | ||
enabled: false | ||
order: concentric | ||
ignore_unspecified: true | ||
|
||
PropertySpelling: | ||
enabled: true | ||
extra_properties: [] | ||
|
||
SelectorDepth: | ||
enabled: true | ||
max_depth: 4 | ||
|
||
Shorthand: | ||
enabled: true | ||
|
||
SingleLinePerProperty: | ||
enabled: true | ||
allow_single_line_rule_sets: true | ||
|
||
SingleLinePerSelector: | ||
enabled: true | ||
|
||
SpaceAfterComma: | ||
enabled: true | ||
|
||
SpaceAfterPropertyColon: | ||
enabled: true | ||
style: one_space | ||
|
||
SpaceAfterPropertyName: | ||
enabled: true | ||
|
||
SpaceBeforeBrace: | ||
enabled: true | ||
allow_single_line_padding: true | ||
|
||
SpaceBetweenParens: | ||
enabled: true | ||
spaces: 0 | ||
|
||
StringQuotes: | ||
enabled: true | ||
style: single_quotes | ||
|
||
TrailingSemicolon: | ||
enabled: true | ||
|
||
UnnecessaryMantissa: | ||
enabled: true | ||
|
||
UnnecessaryParentReference: | ||
enabled: true | ||
|
||
UrlFormat: | ||
enabled: true | ||
|
||
UrlQuotes: | ||
enabled: true | ||
|
||
ZeroUnit: | ||
enabled: true | ||
|
||
Compass::*: | ||
enabled: false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'compass' | ||
gem 'haml' | ||
gem 'scss-lint' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Generated on 2016-03-26 using generator-wix-angular 1.0.54 | ||
'use strict'; | ||
|
||
module.exports = function (grunt) { | ||
require('wix-gruntfile')(grunt, { | ||
version: '1.0.54', | ||
port: 9000, | ||
livereload: 35729, | ||
preloadModule: 'totallyDifferentAngularPreload', | ||
translationsModule: 'totallyDifferentAngularTranslations', | ||
svgFontName: 'totally-different-angular', | ||
karmaConf: require('./karma.conf.js'), | ||
protractor: true | ||
}); | ||
|
||
grunt.modifyTask('yeoman', { | ||
//the address to which your local /_api is proxied to (to workaround CORS issues) | ||
api: 'http://www.pizza.wixpress.com/_api/', | ||
//api: 'http://localhost:3000', | ||
|
||
//this is the node.js fake server that e2e tests will use | ||
e2eTestServer: 'http://localhost:3333/', | ||
|
||
//the address that opens in your browser in grunt serve | ||
//(domain should be the same as staging so cookies will be sent in api requests) | ||
local: 'http://local.pizza.wixpress.com:<%= connect.options.port %>/' | ||
}); | ||
|
||
//override sauce labs browser list | ||
//process.env.SAUCE_BROWSERS = 'Chrome FF'; | ||
process.env.USE_JASMINE2 = 'true'; | ||
|
||
//Follow this URL for instructions on how to override built-in definitions: | ||
//https://github.com/wix/wix-gruntfile/blob/master/README.md | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<!doctype html> | ||
<!-- #if( false ) | ||
Prerequisites from server model: | ||
-------------------------------- | ||
${locale}, ${debug}, ${experiments}, | ||
${newRelicEndUserHeader}, ${newRelicEndUserFooter} | ||
${clientTopology.totallyDifferentAngularStaticsUrl}, | ||
${clientTopology.staticBaseUrl}, | ||
|
||
More details at: http://kb.wixpress.com/display/dashboard/How+to+integrate+server+with+index.vm | ||
#end --> | ||
<!-- | ||
#set( $staticsUrl = $clientTopology.totallyDifferentAngularStaticsUrl ) | ||
#set( $staticBaseUrl = $clientTopology.staticBaseUrl ) | ||
--> | ||
<html ng-app="totallyDifferentAngularApp"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<title>totallyDifferentAngular</title> | ||
<meta name="description" content=""> | ||
<meta name="viewport" content="width=device-width"> | ||
<meta name="robots" content="noindex, nofollow"> | ||
<meta name="referrer" content="origin"> | ||
<link type="image/png" href="//www.wix.com/favicon.ico" rel="shortcut icon"> | ||
<link rel="stylesheet" href="${staticBaseUrl}services/third-party/fonts/Helvetica/fontFace.css"> | ||
<!-- process-tags prefix('${staticsUrl}') --> | ||
<!-- build:css({.tmp,app}) styles/main.css --> | ||
<link rel="stylesheet" href="styles/main.css"> | ||
<!-- endbuild --> | ||
<!-- end-process-tags --> | ||
${newRelicEndUserHeader} | ||
</head> | ||
<body> | ||
|
||
<!-- Add your site or application content here --> | ||
<totally-different-angular-app name="'totallyDifferentAngularApp'"></totally-different-angular-app> | ||
|
||
|
||
<!-- process-tags prefix('${staticsUrl}') --> | ||
<script src="bower_components/jquery/jquery.js"></script> | ||
<script src="bower_components/angular/angular.js"></script> | ||
<script src="bower_components/angular-translate/angular-translate.js"></script> | ||
<script src="bower_components/angular-i18n/angular-locale_${locale}.js"></script> | ||
<!-- build:js scripts/modules.js --> | ||
<script src="bower_components/es6-shim/es6-shim.js"></script> | ||
<script src="bower_components/uri.js/src/URI.js"></script> | ||
<script src="bower_components/wix-angular/dist/wix-angular.js"></script> | ||
<script src="bower_components/wix-bi-logger/dist/scripts/bi-logger/wix-bi-angular.js"></script> | ||
<!-- endbuild --> | ||
<!-- build:js({.tmp,app}) scripts/scripts.js --> | ||
<script src="scripts/app.js"></script> | ||
<script src="views/totally-different-angular-app.html.js"></script> | ||
<script src="scripts/locale/messages_en.js"></script> | ||
<script src="scripts/components/totally-different-angular-app.js"></script> | ||
<!-- endbuild --><!-- scripts --> | ||
<!-- build:locale({.tmp,app}) scripts/locale/messages_${locale}.js --> | ||
<script src="scripts/locale/messages_${locale}.js"></script> | ||
<!-- endbuild --> | ||
<!-- end-process-tags --> | ||
|
||
<!-- #if( ${enableMocks} ) --> | ||
<script src="bower_components/angular-mocks/angular-mocks.js"></script> | ||
|
||
<!-- build:js(.tmp) scripts/mocks.js --> | ||
<script src="test/mock/server-api.js"></script> | ||
<!-- endbuild --> | ||
|
||
<script> | ||
/* jshint ignore:start */ | ||
if ('${enableMocks}' === 'true') { | ||
angular.module('totallyDifferentAngularApp').requires.push('totallyDifferentAngularAppMocks'); | ||
} | ||
</script> | ||
<!-- #end --> | ||
<script> | ||
angular.module('totallyDifferentAngularApp').config(function (wixAngularTopologyProvider, experimentManagerProvider) { | ||
wixAngularTopologyProvider.setStaticsUrl('${staticsUrl}'); | ||
experimentManagerProvider.setExperiments(JSON.parse('${experiments}')); | ||
}); | ||
</script> | ||
|
||
${newRelicEndUserFooter} | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.