edge_framework 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +15 -0
- data/.gitattributes +22 -0
- data/.gitignore +243 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +38 -0
- data/LICENSE.txt +22 -0
- data/README.md +33 -0
- data/Rakefile +7 -0
- data/assets/js/edge/edge.collect.js +57 -0
- data/assets/js/edge/edge.handlebars.js +7 -0
- data/assets/js/edge/edge.ie8.js +24 -0
- data/assets/js/edge/edge.notification.js +0 -0
- data/assets/js/edge/layout.js +10 -0
- data/assets/js/edge/prototype.js +6 -0
- data/assets/js/edge.js +233 -0
- data/assets/js/edge.min.js +1 -0
- data/assets/sass/edge/_base.scss +295 -0
- data/assets/sass/edge/_components.scss +9 -0
- data/assets/sass/edge/_helpers.scss +2 -0
- data/assets/sass/edge/components/_block_grid.scss +99 -0
- data/assets/sass/edge/components/_form.scss +15 -0
- data/assets/sass/edge/components/_grid.scss +301 -0
- data/assets/sass/edge/components/_main.scss +133 -0
- data/assets/sass/edge/components/_normalize.scss +49 -0
- data/assets/sass/edge/components/_palette.scss +24 -0
- data/assets/sass/edge/components/_print.scss +71 -0
- data/assets/sass/edge/components/_typography.scss +4 -0
- data/assets/sass/edge/components/_visibility.scss +64 -0
- data/assets/sass/edge/helpers/_sprites.scss +82 -0
- data/assets/sass/edge/helpers/_sticky-footer.scss +41 -0
- data/assets/sass/edge.scss +9 -0
- data/bin/edge +13 -0
- data/edge.gemspec +26 -0
- data/lib/edge/console.rb +10 -0
- data/lib/edge/engine.rb +16 -0
- data/lib/edge/version.rb +3 -0
- data/lib/edge_framework.rb +22 -0
- data/site/Gemfile +4 -0
- data/site/assets/css/app.css +24 -0
- data/site/assets/css/edge.css +423 -0
- data/site/assets/css/normalize.min.css +51 -0
- data/site/assets/css/sh/shCoreDefault.css +328 -0
- data/site/assets/img/dummy/001.jpg +0 -0
- data/site/assets/img/dummy/002.jpg +0 -0
- data/site/assets/img/dummy/003.jpg +0 -0
- data/site/assets/img/dummy/004.jpg +0 -0
- data/site/assets/img/dummy/005.jpg +0 -0
- data/site/assets/img/dummy/006.jpg +0 -0
- data/site/assets/img/dummy/007.jpg +0 -0
- data/site/assets/img/dummy/008.jpg +0 -0
- data/site/assets/img/dummy/009.jpg +0 -0
- data/site/assets/img/dummy/025.jpg +0 -0
- data/site/assets/img/favicon-big.png +0 -0
- data/site/assets/img/favicon.png +0 -0
- data/site/assets/img/icons/bulbasaur.png +0 -0
- data/site/assets/img/icons/charizard.png +0 -0
- data/site/assets/img/icons/charmander.png +0 -0
- data/site/assets/img/icons/charmeleon.png +0 -0
- data/site/assets/img/icons/ivysaur.png +0 -0
- data/site/assets/img/icons/squirtle.png +0 -0
- data/site/assets/img/icons/venusaur.png +0 -0
- data/site/assets/img/icons-se85c66def2.png +0 -0
- data/site/assets/img/icons@2x/bulbasaur.png +0 -0
- data/site/assets/img/icons@2x/charizard.png +0 -0
- data/site/assets/img/icons@2x/charmander.png +0 -0
- data/site/assets/img/icons@2x/charmeleon.png +0 -0
- data/site/assets/img/icons@2x/ivysaur.png +0 -0
- data/site/assets/img/icons@2x/squirtle.png +0 -0
- data/site/assets/img/icons@2x/venusaur.png +0 -0
- data/site/assets/img/icons@2x-sf605bc03f7.png +0 -0
- data/site/assets/js/app.js +0 -0
- data/site/assets/js/sh/shBrushCss.js +91 -0
- data/site/assets/js/sh/shBrushJScript.js +52 -0
- data/site/assets/js/sh/shBrushPhp.js +88 -0
- data/site/assets/js/sh/shBrushRuby.js +55 -0
- data/site/assets/js/sh/shBrushSass.js +94 -0
- data/site/assets/js/sh/shCore.js +17 -0
- data/site/assets/js/vendor/custom.modernizr.js +4 -0
- data/site/assets/js/vendor/handlebars.js +2239 -0
- data/site/assets/js/vendor/handlebars.min.js +2 -0
- data/site/assets/js/vendor/jquery.js +6 -0
- data/site/assets/sass/_setting.scss +50 -0
- data/site/assets/sass/app.scss +52 -0
- data/site/assets/sass/edge.scss +3 -0
- data/site/config.rb +23 -0
- data/site/config.ru +12 -0
- data/site/start.rb +20 -0
- data/site/views/docs/block_grid.erb +36 -0
- data/site/views/docs/grid.erb +147 -0
- data/site/views/form.html +114 -0
- data/site/views/index.erb +10 -0
- data/site/views/layout.erb +61 -0
- data/site/views/partials/_sidebar.erb +4 -0
- data/template/base/assets/img/favicon.ico +0 -0
- data/template/base/assets/js/app.js +3 -0
- data/template/base/assets/js/vendor/custom.modernizr.js +4 -0
- data/template/base/assets/js/vendor/jquery.min.js +6 -0
- data/template/base/assets/sass/_setting.scss +50 -0
- data/template/base/assets/sass/app.scss +4 -0
- data/template/base/assets/sass/edge.scss +3 -0
- data/template/base/config.rb +14 -0
- data/template/html/index.html +35 -0
- data/template/php/index.php +5 -0
- data/template/php/partials/_footer.php +15 -0
- data/template/php/partials/_header.php +17 -0
- metadata +233 -0
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YjE0MGNhY2I1MjgwOThjYmJjNzM0YWFjY2Y4YWQ5NmUwNTRmZjdmMA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZWY1M2ExMDYzZmQxNmE4ZTgyYjYzYzFhOTAzOWE5N2E4NDc3ZWI3NQ==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NWFkOWRjOWMwYjlhZjBmMThiYjNmMjA1NjFjMGI1Y2ExNjAxYTExZDBkMDAw
|
10
|
+
NmFmOTYxOTY0ZmI1MmFiMDI5ZTI4M2VmZmQxMDgyMzE3ZGRiMTkzZmY5NTY1
|
11
|
+
Y2NmZmNhNjVhNGY4YjA3NjY4ZGU1OGI0OGRkMTA2OTBhNWFmNzg=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
OTQ0MmViNGQyYTcwMDRjZjVmODFiZWI2ZWI3NTIzN2VhOWQzMjNmY2UwOGIx
|
14
|
+
Nzg0ODczZmI5MjhjNTY4NWM5ZjU4OTIwYzI3YjMxZWYwY2Q3MmMxZDk2ODM5
|
15
|
+
N2Y0NjkwZTJjNDM5YjVjODY1ZTgwZmYwMjkyOWJlYjdjZTAzNDk=
|
data/.gitattributes
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# Auto detect text files and perform LF normalization
|
2
|
+
* text=auto
|
3
|
+
|
4
|
+
# Custom for Visual Studio
|
5
|
+
*.cs diff=csharp
|
6
|
+
*.sln merge=union
|
7
|
+
*.csproj merge=union
|
8
|
+
*.vbproj merge=union
|
9
|
+
*.fsproj merge=union
|
10
|
+
*.dbproj merge=union
|
11
|
+
|
12
|
+
# Standard to msysgit
|
13
|
+
*.doc diff=astextplain
|
14
|
+
*.DOC diff=astextplain
|
15
|
+
*.docx diff=astextplain
|
16
|
+
*.DOCX diff=astextplain
|
17
|
+
*.dot diff=astextplain
|
18
|
+
*.DOT diff=astextplain
|
19
|
+
*.pdf diff=astextplain
|
20
|
+
*.PDF diff=astextplain
|
21
|
+
*.rtf diff=astextplain
|
22
|
+
*.RTF diff=astextplain
|
data/.gitignore
ADDED
@@ -0,0 +1,243 @@
|
|
1
|
+
#################
|
2
|
+
## Eclipse
|
3
|
+
#################
|
4
|
+
|
5
|
+
*.pydevproject
|
6
|
+
.project
|
7
|
+
.metadata
|
8
|
+
bin/
|
9
|
+
tmp/
|
10
|
+
*.tmp
|
11
|
+
*.bak
|
12
|
+
*.swp
|
13
|
+
*~.nib
|
14
|
+
local.properties
|
15
|
+
.classpath
|
16
|
+
.settings/
|
17
|
+
.loadpath
|
18
|
+
|
19
|
+
# External tool builders
|
20
|
+
.externalToolBuilders/
|
21
|
+
|
22
|
+
# Locally stored "Eclipse launch configurations"
|
23
|
+
*.launch
|
24
|
+
|
25
|
+
# CDT-specific
|
26
|
+
.cproject
|
27
|
+
|
28
|
+
# PDT-specific
|
29
|
+
.buildpath
|
30
|
+
|
31
|
+
|
32
|
+
#################
|
33
|
+
## Visual Studio
|
34
|
+
#################
|
35
|
+
|
36
|
+
## Ignore Visual Studio temporary files, build results, and
|
37
|
+
## files generated by popular Visual Studio add-ons.
|
38
|
+
|
39
|
+
# User-specific files
|
40
|
+
*.suo
|
41
|
+
*.user
|
42
|
+
*.sln.docstates
|
43
|
+
|
44
|
+
# Build results
|
45
|
+
|
46
|
+
[Dd]ebug/
|
47
|
+
[Rr]elease/
|
48
|
+
x64/
|
49
|
+
build/
|
50
|
+
[Bb]in/
|
51
|
+
[Oo]bj/
|
52
|
+
|
53
|
+
# MSTest test Results
|
54
|
+
[Tt]est[Rr]esult*/
|
55
|
+
[Bb]uild[Ll]og.*
|
56
|
+
|
57
|
+
*_i.c
|
58
|
+
*_p.c
|
59
|
+
*.ilk
|
60
|
+
*.meta
|
61
|
+
*.obj
|
62
|
+
*.pch
|
63
|
+
*.pdb
|
64
|
+
*.pgc
|
65
|
+
*.pgd
|
66
|
+
*.rsp
|
67
|
+
*.sbr
|
68
|
+
*.tlb
|
69
|
+
*.tli
|
70
|
+
*.tlh
|
71
|
+
*.tmp
|
72
|
+
*.tmp_proj
|
73
|
+
*.log
|
74
|
+
*.vspscc
|
75
|
+
*.vssscc
|
76
|
+
.builds
|
77
|
+
*.pidb
|
78
|
+
*.log
|
79
|
+
*.scc
|
80
|
+
|
81
|
+
# Visual C++ cache files
|
82
|
+
ipch/
|
83
|
+
*.aps
|
84
|
+
*.ncb
|
85
|
+
*.opensdf
|
86
|
+
*.sdf
|
87
|
+
*.cachefile
|
88
|
+
|
89
|
+
# Visual Studio profiler
|
90
|
+
*.psess
|
91
|
+
*.vsp
|
92
|
+
*.vspx
|
93
|
+
|
94
|
+
# Guidance Automation Toolkit
|
95
|
+
*.gpState
|
96
|
+
|
97
|
+
# ReSharper is a .NET coding add-in
|
98
|
+
_ReSharper*/
|
99
|
+
*.[Rr]e[Ss]harper
|
100
|
+
|
101
|
+
# TeamCity is a build add-in
|
102
|
+
_TeamCity*
|
103
|
+
|
104
|
+
# DotCover is a Code Coverage Tool
|
105
|
+
*.dotCover
|
106
|
+
|
107
|
+
# NCrunch
|
108
|
+
*.ncrunch*
|
109
|
+
.*crunch*.local.xml
|
110
|
+
|
111
|
+
# Installshield output folder
|
112
|
+
[Ee]xpress/
|
113
|
+
|
114
|
+
# DocProject is a documentation generator add-in
|
115
|
+
DocProject/buildhelp/
|
116
|
+
DocProject/Help/*.HxT
|
117
|
+
DocProject/Help/*.HxC
|
118
|
+
DocProject/Help/*.hhc
|
119
|
+
DocProject/Help/*.hhk
|
120
|
+
DocProject/Help/*.hhp
|
121
|
+
DocProject/Help/Html2
|
122
|
+
DocProject/Help/html
|
123
|
+
|
124
|
+
# Click-Once directory
|
125
|
+
publish/
|
126
|
+
|
127
|
+
# Publish Web Output
|
128
|
+
*.Publish.xml
|
129
|
+
*.pubxml
|
130
|
+
|
131
|
+
# NuGet Packages Directory
|
132
|
+
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
|
133
|
+
#packages/
|
134
|
+
|
135
|
+
# Windows Azure Build Output
|
136
|
+
csx
|
137
|
+
*.build.csdef
|
138
|
+
|
139
|
+
# Windows Store app package directory
|
140
|
+
AppPackages/
|
141
|
+
|
142
|
+
# Others
|
143
|
+
sql/
|
144
|
+
*.Cache
|
145
|
+
ClientBin/
|
146
|
+
[Ss]tyle[Cc]op.*
|
147
|
+
~$*
|
148
|
+
*~
|
149
|
+
*.dbmdl
|
150
|
+
*.[Pp]ublish.xml
|
151
|
+
*.pfx
|
152
|
+
*.publishsettings
|
153
|
+
|
154
|
+
# RIA/Silverlight projects
|
155
|
+
Generated_Code/
|
156
|
+
|
157
|
+
# Backup & report files from converting an old project file to a newer
|
158
|
+
# Visual Studio version. Backup files are not needed, because we have git ;-)
|
159
|
+
_UpgradeReport_Files/
|
160
|
+
Backup*/
|
161
|
+
UpgradeLog*.XML
|
162
|
+
UpgradeLog*.htm
|
163
|
+
|
164
|
+
# SQL Server files
|
165
|
+
App_Data/*.mdf
|
166
|
+
App_Data/*.ldf
|
167
|
+
|
168
|
+
#############
|
169
|
+
## Windows detritus
|
170
|
+
#############
|
171
|
+
|
172
|
+
# Windows image file caches
|
173
|
+
Thumbs.db
|
174
|
+
ehthumbs.db
|
175
|
+
|
176
|
+
# Folder config file
|
177
|
+
Desktop.ini
|
178
|
+
|
179
|
+
# Recycle Bin used on file shares
|
180
|
+
$RECYCLE.BIN/
|
181
|
+
|
182
|
+
# Mac crap
|
183
|
+
.DS_Store
|
184
|
+
|
185
|
+
|
186
|
+
#############
|
187
|
+
## Python
|
188
|
+
#############
|
189
|
+
|
190
|
+
*.py[co]
|
191
|
+
|
192
|
+
# Packages
|
193
|
+
*.egg
|
194
|
+
*.egg-info
|
195
|
+
dist/
|
196
|
+
build/
|
197
|
+
eggs/
|
198
|
+
parts/
|
199
|
+
var/
|
200
|
+
sdist/
|
201
|
+
develop-eggs/
|
202
|
+
.installed.cfg
|
203
|
+
|
204
|
+
# Installer logs
|
205
|
+
pip-log.txt
|
206
|
+
|
207
|
+
# Unit test / coverage reports
|
208
|
+
.coverage
|
209
|
+
.tox
|
210
|
+
|
211
|
+
#Translations
|
212
|
+
*.mo
|
213
|
+
|
214
|
+
#Mr Developer
|
215
|
+
.mr.developer.cfg
|
216
|
+
|
217
|
+
#############
|
218
|
+
## SASS
|
219
|
+
#############
|
220
|
+
.sass-cache
|
221
|
+
|
222
|
+
########
|
223
|
+
# RUBY
|
224
|
+
########
|
225
|
+
*.gem
|
226
|
+
*.rbc
|
227
|
+
.bundle
|
228
|
+
.config
|
229
|
+
.yardoc
|
230
|
+
Gemfile.lock
|
231
|
+
InstalledFiles
|
232
|
+
_yardoc
|
233
|
+
coverage
|
234
|
+
doc/
|
235
|
+
lib/bundler/man
|
236
|
+
pkg
|
237
|
+
rdoc
|
238
|
+
spec/reports
|
239
|
+
test/tmp
|
240
|
+
test/version_tmp
|
241
|
+
tmp
|
242
|
+
|
243
|
+
.gitattributes
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
edge_framework (0.0.2)
|
5
|
+
compass (>= 0.12.0)
|
6
|
+
sass (>= 3.2.0)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
chunky_png (1.2.8)
|
12
|
+
compass (0.12.2)
|
13
|
+
chunky_png (~> 1.2)
|
14
|
+
fssm (>= 0.2.7)
|
15
|
+
sass (~> 3.1)
|
16
|
+
diff-lcs (1.2.4)
|
17
|
+
fssm (0.2.10)
|
18
|
+
paint (0.8.6)
|
19
|
+
rake (10.1.0)
|
20
|
+
rspec (2.14.1)
|
21
|
+
rspec-core (~> 2.14.0)
|
22
|
+
rspec-expectations (~> 2.14.0)
|
23
|
+
rspec-mocks (~> 2.14.0)
|
24
|
+
rspec-core (2.14.5)
|
25
|
+
rspec-expectations (2.14.2)
|
26
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
27
|
+
rspec-mocks (2.14.3)
|
28
|
+
sass (3.2.10)
|
29
|
+
|
30
|
+
PLATFORMS
|
31
|
+
x86-mingw32
|
32
|
+
|
33
|
+
DEPENDENCIES
|
34
|
+
bundler (~> 1.3)
|
35
|
+
edge_framework!
|
36
|
+
paint
|
37
|
+
rake
|
38
|
+
rspec
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Henner Setyono
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
Welcome to Edge Framework
|
2
|
+
==========================
|
3
|
+
|
4
|
+
Edge is minimalist responsive front-end framework built with SASS. It is made for front-end developers that are working with dedicated designers.
|
5
|
+
|
6
|
+
Edge is based on [Foundation by ZURB](http://www.zurb.com). Unlike Foundation, it is not intended for rapid-prototyping.
|
7
|
+
|
8
|
+
Edge is MIT-licensed and absolutely free to use.
|
9
|
+
|
10
|
+
Installation
|
11
|
+
=============
|
12
|
+
|
13
|
+
gem install edge_framework
|
14
|
+
|
15
|
+
Then in your Compass' `config.rb`
|
16
|
+
|
17
|
+
require 'edge_framework'
|
18
|
+
|
19
|
+
Edge provides basic template for your project:
|
20
|
+
|
21
|
+
1. Standard HTML
|
22
|
+
|
23
|
+
edge create html <project_name>
|
24
|
+
|
25
|
+
2. Standard PHP
|
26
|
+
|
27
|
+
edge create php <project_name>
|
28
|
+
|
29
|
+
3. Coming soon:
|
30
|
+
|
31
|
+
- Sinatra
|
32
|
+
- Rails
|
33
|
+
- Flask
|
data/Rakefile
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
;(function ($, window, document, undefined) {
|
2
|
+
'use strict';
|
3
|
+
|
4
|
+
Edge.libs.collect = {
|
5
|
+
name : 'collect',
|
6
|
+
version : '1.0',
|
7
|
+
settings : {
|
8
|
+
ignoreIfBlank : true,
|
9
|
+
debug : false,
|
10
|
+
formula : {},
|
11
|
+
},
|
12
|
+
|
13
|
+
init: function( scope, method, options ) {
|
14
|
+
console.log('collect');
|
15
|
+
// If scope isn't `document`, fetch the data
|
16
|
+
if($(scope)[0] !== $(document)[0] ) {
|
17
|
+
$.extend(true, this.settings, method);
|
18
|
+
this.scope = scope;
|
19
|
+
this.bundle = {};
|
20
|
+
this.fetch();
|
21
|
+
if(this.settings.debug) {
|
22
|
+
console.log(this.bundle);
|
23
|
+
}
|
24
|
+
}
|
25
|
+
},
|
26
|
+
|
27
|
+
fetch: function() {
|
28
|
+
console.log('fetch');
|
29
|
+
var self = this;
|
30
|
+
var $inputs = $(this.scope).find('input, select, textarea');
|
31
|
+
$inputs.each(function( index ){
|
32
|
+
var $this = $(this);
|
33
|
+
var type = $this.attr('type');
|
34
|
+
var name = $this.attr('name');
|
35
|
+
|
36
|
+
// Split the name and create the object
|
37
|
+
var table = name.split('_')[0];
|
38
|
+
var column = name.split('_')[1].split(/(?=[A-Z])/);
|
39
|
+
column = column.join('_').toLowerCase();
|
40
|
+
|
41
|
+
// If doesn't exists, initialize it
|
42
|
+
if(!self.bundle[table] ) {
|
43
|
+
self.bundle[table] = {};
|
44
|
+
}
|
45
|
+
|
46
|
+
// If checkbox or radio
|
47
|
+
if(type==='checkbox' || type==='radio') {
|
48
|
+
if($this.attr('checked') ) {
|
49
|
+
//console.log($this.val() );
|
50
|
+
}
|
51
|
+
} else {
|
52
|
+
self.bundle[table][column] = $this.val();
|
53
|
+
}
|
54
|
+
});
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}(jQuery, this, this.document) );
|
@@ -0,0 +1,24 @@
|
|
1
|
+
;(function ($, window, document, undefined) {
|
2
|
+
'use strict';
|
3
|
+
|
4
|
+
Edge.libs.ie8 = {
|
5
|
+
name : 'ie8',
|
6
|
+
version : '1.0',
|
7
|
+
settings : {
|
8
|
+
|
9
|
+
},
|
10
|
+
|
11
|
+
init: function( scope, method, options ) {
|
12
|
+
console.log('ie8');
|
13
|
+
this.columnFix();
|
14
|
+
},
|
15
|
+
|
16
|
+
columnFix: function() {
|
17
|
+
if($('html').hasClass('lt-ie9') ) {
|
18
|
+
$('.columns:last-child, .column:last-child').each(function() {
|
19
|
+
$(this).addClass('last');
|
20
|
+
});
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}(jQuery, this, this.document) );
|
File without changes
|
@@ -0,0 +1,10 @@
|
|
1
|
+
$(document).ready(function(){
|
2
|
+
/* Responsive Sticky Footer Fix */
|
3
|
+
/* Credit: https://gist.github.com/spilliams/2697774*/
|
4
|
+
$("#footer, #footer-push").height($("#footer .row").height()+"px");
|
5
|
+
$("#main-wrapper").css({'margin-bottom':(-1*$("#footer .row").height())+"px"});
|
6
|
+
window.onresize = function(){
|
7
|
+
$(".footer-filler, #footer-push").height($("#footer .row").height()+"px");
|
8
|
+
$("#main-wrapper").css({'margin-bottom':(-1*$("#footer .row").height())+"px"});
|
9
|
+
}
|
10
|
+
});
|