Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

nesting

  • Loading branch information...
commit dd9d8c863b8d2c3e2aa9753530c6562c2328422c 1 parent b080125
@lancejpollard authored
View
24 Watchfile
@@ -3,21 +3,19 @@ File = require('pathfinder').File
require("./extensions/watchfile")()
-#require("../../spec/stylesheetExtension")
-require("design.io-stylesheets")
- compress: true
- ignore: /ano/
- #outputPath: (path) ->
- # "spec/tmp/test.css"
- write: (path, string) ->
- console.log File.digestFile(path)
+#require("design.io-stylesheets")
+require("../../spec/stylesheetExtension")
+ compress: false
+ outputPath: (path) ->
+ "spec/tmp/test.css"
+ #write: (path, string) ->
+ # console.log File.digestFile(path)
#require("../../spec/javascriptExtension")
require("design.io-javascripts")
compress: false
debug: true
- ignore: /nested/
- #outputPath: (path) ->
- # "spec/tmp/test.css"
- write: (path, string) ->
- console.log File.digestFile(path)
+ outputPath: (path) ->
+ "spec/tmp/test.js"
+ #write: (path, string) ->
+ # console.log File.digestFile(path)
View
2  package.json
@@ -29,7 +29,7 @@
"commander": ">= 0.3.2",
"socket.io": ">= 0.8.6",
"request": ">= 2.1.1",
- "pathfinder": ">= 0.1.6",
+ "pathfinder": ">= 0.1.7",
"shift": ">= 0.1.8",
"async": ">= 0.1.15",
"node-uuid": ">= 1.2.0",
View
5 spec/app/javascripts/example.coffee
@@ -1,3 +1,6 @@
$("h1").text "Hello again"
-# @import './nested-example'
+($ ->
+ ->
+ # @import './nested-example'
+)
View
4 spec/app/stylesheets/application.styl
@@ -1,3 +1,5 @@
+@import './another.styl'
+
.title
background: red
color: yellow
@@ -8,5 +10,3 @@
color: red
background: yellow
-
-// @import './another.styl'
View
15 spec/tmp/test.css
@@ -0,0 +1,15 @@
+.title {
+ padding: 140px;
+ color: #00f !important;
+ width: 100px;
+ height: 10px;
+ background: #000;
+}
+.title {
+ background: #f00;
+ color: #ff0;
+ height: 300px;
+ width: 40px;
+ color: #f00;
+ background: #ff0;
+}
View
12 spec/tmp/test.js
@@ -0,0 +1,12 @@
+
+$("h1").text("Hello again");
+
+$(function() {
+ return function() {
+ return $("h1").animate({
+ opacity: 0.5
+ }, 500).animate({
+ opacity: 1
+ }, 500);
+ };
+});
Please sign in to comment.
Something went wrong with that request. Please try again.