Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 3 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
View
2  dist/jasmine-fixture.js
@@ -413,7 +413,7 @@ site: https://github.com/searls/jasmine-fixture
};
regZenTagDfn = /([#\.\@]?[\w-]+|\[([\w-!?=:"']+(="([^"]|\\")+")? {0,})+\]|\~[\w$]+=[\w$]+|&[\w$]+(=[\w$]+)?|[#\.\@]?!([^!]|\\!)+!){0,}(\{([^\}]|\\\})+\})?/i;
regTag = /(\w+)/i;
- regId = /#([\w!]+)/i;
+ regId = /#([\w-!]+)/i;
regTagNotContent = /((([#\.]?[\w-]+)?(\[([\w!]+(="([^"]|\\")+")? {0,})+\])?)+)/i;
regClasses = /(\.[\w-]+)/g;
regClass = /\.([\w-]+)/i;
View
2  package.json
@@ -1,7 +1,7 @@
{
"name": "jasmine-fixture",
"description": "Manage HTML fixtures for jasmine specs",
- "version": "1.0.1",
+ "version": "1.0.2",
"keywords": [
"jasmine",
"bdd"
View
1  spec/affix-spec.coffee
@@ -12,6 +12,7 @@ describe "jasmine-fixture 1.x", ->
'span' #<span></span>
'.foo' #<div class="foo"></div>
'.foo-hah' #<div class="foo-hah"></div>
+ '#blah-blah'
'#baz' #<div id="baz"></div>
'h1.foo' #<h1 class="foo"></h1>
'h2#baz' #<h2 id="baz"></h2>
View
2  src/jasmine-fixture.coffee
@@ -339,7 +339,7 @@ createHTMLBlock = ( ->
regZenTagDfn = /([#\.\@]?[\w-]+|\[([\w-!?=:"']+(="([^"]|\\")+")? {0,})+\]|\~[\w$]+=[\w$]+|&[\w$]+(=[\w$]+)?|[#\.\@]?!([^!]|\\!)+!){0,}(\{([^\}]|\\\})+\})?/i
regTag = /(\w+)/i
- regId = /#([\w!]+)/i
+ regId = /#([\w-!]+)/i
regTagNotContent = /((([#\.]?[\w-]+)?(\[([\w!]+(="([^"]|\\")+")? {0,})+\])?)+)/i
regClasses = /(\.[\w-]+)/g
regClass = /\.([\w-]+)/i

No commit comments for this range

Something went wrong with that request. Please try again.