Skip to content

Commit

Permalink
removing source maps and bumping the version
Browse files Browse the repository at this point in the history
  • Loading branch information
ksylvest committed Dec 25, 2014
1 parent 7e9e4e8 commit 65a39a8
Show file tree
Hide file tree
Showing 20 changed files with 63 additions and 71 deletions.
12 changes: 4 additions & 8 deletions Cakefile
Expand Up @@ -14,23 +14,19 @@ command = (name, args...) ->
proc.on "exit", (status) -> process.exit(1) if status != 0

task "watch", "SASS and CoffeeScript", (options) ->
command "sass", "--watch", "stylesheets:stylesheets"
command "sass", "--watch", "spec:spec"
command "coffee", "-wc", "--map", "javascripts"
command "coffee", "-wc", "--map", "spec"
command "sass", "--sourcemap=none", "--watch", "stylesheets:stylesheets"
command "sass", "--sourcemap=none", "--watch", "spec:spec"
command "coffee", "-wc", "javascripts"
command "coffee", "-wc", "spec"

task "compile", "HAML", (opions) ->
command "haml", "index.haml", "index.html"

task "package", "Package CSS and JS", (options) ->
command "zip", "packages/#{PROJECT}.zip",
"javascripts/#{PROJECT}.js",
"javascripts/#{PROJECT}.js.map",
"stylesheets/#{PROJECT}.css",
"stylesheets/#{PROJECT}.css.map"
command "tar", "-cf",
"packages/#{PROJECT}.tar",
"javascripts/#{PROJECT}.js",
"javascripts/#{PROJECT}.js.map",
"stylesheets/#{PROJECT}.css",
"stylesheets/#{PROJECT}.css.map"
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,4 +1,4 @@
Copyright (c) 2010 - 2013 Kevin Sylvestre
Copyright (c) 2010 - 2014 Kevin Sylvestre

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -67,4 +67,4 @@ Setting up a lighter is easy. The following snippet is a good start:

## Copyright

Copyright (c) 2010 - 2013 Kevin Sylvestre. See LICENSE for details.
Copyright (c) 2010 - 2014 Kevin Sylvestre. See LICENSE for details.
10 changes: 2 additions & 8 deletions bower.json
@@ -1,13 +1,7 @@
{
"name": "lighter",
"version": "1.2.1",
"main":
[
"./javascripts/jquery.lighter.js",
"./javascripts/jquery.lighter.js.map",
"./stylesheets/jquery.lighter.css",
"./stylesheets/jquery.lighter.css.map"
],
"version": "1.2.2",
"main": ["./javascripts/jquery.lighter.js" , "./stylesheets/jquery.lighter.css"],
"ignore":
[
"README*",
Expand Down
2 changes: 1 addition & 1 deletion index.haml
Expand Up @@ -81,7 +81,7 @@
<img src="samples/preview-06.jpg" />
</a>
%p.copy
Copyright (c) 2010 - 2013
Copyright (c) 2010 - 2014
%a{ href: "http://ksylvest.com/" } Kevin Sylvestre
%p.links
%a{ href: "https://github.com/ksylvest" } GitHub
Expand Down
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -68,7 +68,7 @@ <h2>Example</h2>
<p>Setting up a lighter is easy. The following snippet is a good start:</p>
<pre><code data-language='html'>&lt;a href=&quot;samples/sample-01.jpg&quot; data-lighter&gt;&#x000A; &lt;img src=&quot;samples/preview-01.jpg&quot; /&gt;&#x000A;&lt;/a&gt;&#x000A;&lt;a href=&quot;samples/sample-02.jpg&quot; data-lighter&gt;&#x000A; &lt;img src=&quot;samples/preview-02.jpg&quot; /&gt;&#x000A;&lt;/a&gt;&#x000A;&lt;a href=&quot;samples/sample-03.jpg&quot; data-lighter&gt;&#x000A; &lt;img src=&quot;samples/preview-03.jpg&quot; /&gt;&#x000A;&lt;/a&gt;&#x000A;&lt;a href=&quot;samples/sample-04.jpg&quot; data-lighter&gt;&#x000A; &lt;img src=&quot;samples/preview-04.jpg&quot; /&gt;&#x000A;&lt;/a&gt;&#x000A;&lt;a href=&quot;samples/sample-05.jpg&quot; data-lighter&gt;&#x000A; &lt;img src=&quot;samples/preview-05.jpg&quot; /&gt;&#x000A;&lt;/a&gt;&#x000A;&lt;a href=&quot;samples/sample-06.jpg&quot; data-lighter&gt;&#x000A; &lt;img src=&quot;samples/preview-06.jpg&quot; /&gt;&#x000A;&lt;/a&gt;</code></pre>
<p class='copy'>
Copyright (c) 2010 - 2013
Copyright (c) 2010 - 2014
<a href='http://ksylvest.com/'>Kevin Sylvestre</a>
</p>
<p class='links'>
Expand Down
4 changes: 2 additions & 2 deletions javascripts/jquery.lighter.coffee
@@ -1,7 +1,7 @@
###
jQuery Lighter
Copyright 2013 Kevin Sylvestre
1.2.1
Copyright 2014 Kevin Sylvestre
1.2.2
###

"use strict"
Expand Down
6 changes: 2 additions & 4 deletions javascripts/jquery.lighter.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions javascripts/jquery.lighter.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions javascripts/sample.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions javascripts/sample.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion lighter.jquery.json
Expand Up @@ -9,7 +9,7 @@
"image",
"gallery"
],
"version": "1.2.1",
"version": "1.2.2",
"author": {
"name": "Kevin Sylvestre",
"email": "kevin@ksylvest.com",
Expand Down
44 changes: 44 additions & 0 deletions none
@@ -0,0 +1,44 @@
/*
Error: Invalid property: "Backtrace:" (no value).
on line 4 of none

1: /*
2: Errno::ENOENT: No such file or directory @ rb_sysopen - none
3:
4: Backtrace:
5: /Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/plugin/compiler.rb:482:in `read'
6: /Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/plugin/compiler.rb:482:in `update_stylesheet'
7: /Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/plugin/compiler.rb:215:in `block in update_stylesheets'
8: /Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/plugin/compiler.rb:209:in `each'
9: /Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/plugin/compiler.rb:209:in `update_stylesheets'

Backtrace:
none:4
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/engine.rb:719:in `parse_property'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/engine.rb:681:in `parse_property_or_rule'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/engine.rb:647:in `parse_line'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/engine.rb:525:in `build_tree'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/engine.rb:544:in `block in append_children'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/engine.rb:543:in `each'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/engine.rb:543:in `append_children'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/engine.rb:396:in `_to_tree'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/engine.rb:368:in `_render_with_sourcemap'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/engine.rb:285:in `render_with_sourcemap'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/plugin/compiler.rb:490:in `update_stylesheet'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/plugin/compiler.rb:215:in `block in update_stylesheets'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/plugin/compiler.rb:209:in `each'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/plugin/compiler.rb:209:in `update_stylesheets'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/plugin/compiler.rb:293:in `watch'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/plugin.rb:108:in `method_missing'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/exec/sass_scss.rb:370:in `watch_or_update'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/exec/sass_scss.rb:50:in `process_result'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/exec/base.rb:52:in `parse'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/exec/base.rb:19:in `parse!'
/Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/bin/sass:13:in `<top (required)>'
/Users/kevin/.rbenv/versions/2.1.5/bin/sass:23:in `load'
/Users/kevin/.rbenv/versions/2.1.5/bin/sass:23:in `<main>'
*/
body:before {
white-space: pre;
font-family: monospace;
content: "Error: Invalid property: \"Backtrace:\" (no value).\A on line 4 of none\A \A 1: /*\A 2: Errno::ENOENT: No such file or directory @ rb_sysopen - none\A 3: \A 4: Backtrace:\A 5: /Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/plugin/compiler.rb:482:in `read'\A 6: /Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/plugin/compiler.rb:482:in `update_stylesheet'\A 7: /Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/plugin/compiler.rb:215:in `block in update_stylesheets'\A 8: /Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/plugin/compiler.rb:209:in `each'\A 9: /Users/kevin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sass-3.4.9/lib/sass/plugin/compiler.rb:209:in `update_stylesheets'"; }
Binary file modified packages/jquery.lighter.tar
Binary file not shown.
Binary file modified packages/jquery.lighter.zip
Binary file not shown.
6 changes: 2 additions & 4 deletions stylesheets/jquery.lighter.css
@@ -1,6 +1,6 @@
/* jQuery Lighter
* Copyright 2013 Kevin Sylvestre
* 1.2.1
* Copyright 2014 Kevin Sylvestre
* 1.2.2
*/
@-webkit-keyframes lighter-swizzle {
0% {
Expand Down Expand Up @@ -168,5 +168,3 @@
.lighter .lighter-container .lighter-close:active {
color: white;
background: rgba(0, 0, 0, 0.6); }

/*# sourceMappingURL=jquery.lighter.css.map */

0 comments on commit 65a39a8

Please sign in to comment.