Skip to content
Browse files

As it turns out, it was absolute paths which was breaking my phantom …

…tests.
  • Loading branch information...
1 parent 921db9c commit 7d6cd8b67fa475d57a79abca16ea56ac91354697 @twolfson twolfson committed Dec 7, 2012
View
2 dist/jqueryp.chainer.js
@@ -1,4 +1,4 @@
-/*! jqueryp - v1.0.1 - 2012-12-06
+/*! jqueryp - v1.0.2 - 2012-12-07
* https://github.com/Ensighten/jqueryp
* Copyright (c) 2012 Ensighten; Licensed MIT */
View
2 dist/jqueryp.chainer.min.js
@@ -1,4 +1,4 @@
-/*! jqueryp - v1.0.1 - 2012-12-06
+/*! jqueryp - v1.0.2 - 2012-12-07
* https://github.com/Ensighten/jqueryp
* Copyright (c) 2012 Ensighten; Licensed MIT */
define(["jquery"],function(e){return{load:function(t,n,r,i){t=t||"";var s=t.split(/!/g);n(s,function(){r(e)})},jquery:e}});
View
2 dist/jqueryp.js
@@ -1,4 +1,4 @@
-/*! jqueryp - v1.0.1 - 2012-12-06
+/*! jqueryp - v1.0.2 - 2012-12-07
* https://github.com/Ensighten/jqueryp
* Copyright (c) 2012 Ensighten; Licensed MIT */
View
2 dist/jqueryp.min.js
@@ -1,4 +1,4 @@
-/*! jqueryp - v1.0.1 - 2012-12-06
+/*! jqueryp - v1.0.2 - 2012-12-07
* https://github.com/Ensighten/jqueryp
* Copyright (c) 2012 Ensighten; Licensed MIT */
(function(e,t){e.exportModule=function(n,r){var i="jqueryp_"+n;e.fn[n]=function(s){var o=[].slice.call(arguments,1),u=this;return this.each(function(a){var f=e(this),l=f.data(i);l===t&&(l=new r(f),f.data(i,l));if(s)if(s===!0)a===0&&(u=l);else{var c=l[s];if(c===t){var h=window.console;h&&h.error&&h.error(n+"."+s+" not found!")}else if(typeof c!="function")a===0&&(u=c);else{var p=c.apply(l,o);a===0&&p!==t&&(u=p)}}}),u}}})(jQuery);
View
2 dist/jqueryp.require.js
@@ -1,4 +1,4 @@
-/*! jqueryp - v1.0.1 - 2012-12-06
+/*! jqueryp - v1.0.2 - 2012-12-07
* https://github.com/Ensighten/jqueryp
* Copyright (c) 2012 Ensighten; Licensed MIT */
View
2 dist/jqueryp.require.min.js
@@ -1,4 +1,4 @@
-/*! jqueryp - v1.0.1 - 2012-12-06
+/*! jqueryp - v1.0.2 - 2012-12-07
* https://github.com/Ensighten/jqueryp
* Copyright (c) 2012 Ensighten; Licensed MIT */
define(["jquery"],function(e){return e.exportModule=function(t,n){var r="jqueryp_"+t;e.fn[t]=function(i){var s=[].slice.call(arguments,1),o=this;return this.each(function(u){var a=e(this),f=a.data(r);f===undefined&&(f=new n(a),a.data(r,f));if(i)if(i===!0)u===0&&(o=f);else{var l=f[i];if(l===undefined){var c=window.console;c&&c.error&&c.error(t+"."+i+" not found!")}else if(typeof l!="function")u===0&&(o=l);else{var h=l.apply(f,s);u===0&&h!==undefined&&(o=h)}}}),o}},{load:function(t,n,r,i){t=t||"";var s=t.split(/!/g);n(s,function(){r(e)})},jquery:e}});
View
13 grunt.js
@@ -68,17 +68,8 @@ module.exports = function(grunt) {
dest: 'dist/<%= pkg.name %>.chainer.min.js'
}
},
- // Host files for testing
- server: {
- port: 8000,
- base: '.'
- },
- // Test the host directory via URLs (patches require.js issues)
qunit: {
- files: [
- 'http://localhost:8000/test/jqueryp.html',
- 'http://localhost:8000/test/jqueryp.require.html'
- ]
+ files: ['test/**/*.html']
},
lint: {
files: ['grunt.js', 'src/**/*.js', 'test/**/*.js']
@@ -116,7 +107,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-templater');
// Alias test as qunit
- grunt.registerTask('test', 'server qunit');
+ grunt.registerTask('test', 'qunit');
// Default task.
grunt.registerTask('default', 'lint template concat min test');
View
2 test/jqueryp.require.html
@@ -22,7 +22,7 @@
// Configure requirejs to load from dist
require.config({
- 'baseUrl': '/dist',
+ 'baseUrl': '../dist',
'paths': {
'jqueryp': 'jqueryp.require'
}

0 comments on commit 7d6cd8b

Please sign in to comment.
Something went wrong with that request. Please try again.